bcachefs und erasure coding

Neuigkeiten rund um GNU/Linux
Antworten
Colttt
Beiträge: 2983
Registriert: 16.10.2008 23:25:34
Wohnort: Brandenburg
Kontaktdaten:

bcachefs und erasure coding

Beitrag von Colttt » 26.10.2020 10:23:40

Hallo,

bcachefs[1] beherscht jetzt erasure coding[2]
Kent Overstreet hat geschrieben:Erasure coding is ready for wider testing!

I just finished reworking disk space accounting for parity blocks - they're broken out from user data now, so bcachefs fs usage will show you that overhead. And I've been fixing bugs; there shouldn't be any gaping holes, and I don't expect it to catch on fire or eat data at this point. But there will definitely bugs and performance issues to find and fix.

That's the main news, aside from a whole bunch of bug fixing. Xfstests runs are looking cleaner and cleaner, and the bug reports I've been getting are less and less serious - things are looking good!
[1] https://www.patreon.com/bcachefs
[2] https://www.storage-insider.de/was-ist- ... -a-589045/
Debian-Nutzer :D

ZABBIX Certified Specialist

Colttt
Beiträge: 2983
Registriert: 16.10.2008 23:25:34
Wohnort: Brandenburg
Kontaktdaten:

Re: bcachefs und erasure coding

Beitrag von Colttt » 29.10.2020 15:24:23

aso, sorry hatte vergessen wie..
wer ein RAID5 testen/bauen möchte (nachdem er die bcachefs-tools und den bcachefs-kernel compiliert, installiert und gebootet hat), das ganze sieht so aus:

RAID5 ähnlich (1Platte kann ausfallen):

Code: Alles auswählen

bcachefs format --replicas=2 --erasure_code /dev/sdb /dev/sdc /dev/sdd
RAID6 ähnlich (2Platten können ausfallen):

Code: Alles auswählen

bcachefs format --replicas=3 --erasure_code /dev/sdb /dev/sdc /dev/sdd /dev/sde
Debian-Nutzer :D

ZABBIX Certified Specialist

Antworten