News for hackers. Stuff that matters.
Re:Btrfs on Zoned Block Devices by NavinF on Thursday April 22, 2021 @02:02AM (#26899262)
He said "corrupt its root filesystem beyond repair", not "detect checksum errors"

Btw raid5/6 is still broken on btrfs which makes it a hard sell for any system with more than 2 disks. cf. raidz on ZFS

Re:Btrfs on Zoned Block Devices by scaladev on Thursday April 22, 2021 @02:26AM (#26899424)
So? Do you think filesystem metadata is stored in a magical pixie cloud, or on the same unreliable physical hardware where it can easily get corrupted, especially after a crash or an unexpected power loss?

I posted this link here already:

https://www.usenix.org/conference/atc19/presentation/jaffer

f2fs (at least in its state a couple of years ago) is/was a prime example of how a filesystem can get into a barely working state with massive amounts of data and metadata corruption, and not even notice it.

God I love this site. In case of a minor disagreement with someone don't even bother to think, just press "downvote".

Re:Btrfs on Zoned Block Devices by fomine3 on Thursday April 22, 2021 @02:48AM (#26899557)
Corrupt data should be corrected by checksummed btrfs, isn't it?
Re:Btrfs on Zoned Block Devices by CorrectHorseBat on Thursday April 22, 2021 @03:23AM (#26899787)
Only if you have more than one copy of the data
Re:Btrfs on Zoned Block Devices by KozmoNau7 on Thursday April 22, 2021 @03:30AM (#26899831)
RAID 5 has been generally advised against for years, due to performance issues and the effect of unrecoverable errors during rebuilds.

Btrfs RAID1 works perfectly, and RAID1c3/RAID1c4 provides additional redundancy. In place of RAID5, use RAID10 instead.

Re:Btrfs on Zoned Block Devices by NavinF on Thursday April 22, 2021 @04:22AM (#26900218)
raidz2 is only advised against if your arrays are so small that you don't care about the price of storage.

If you want more IOPS, add more raidz2 (raid6) stripes to the pool. In practice, spinning rust is the new tape. Trying to do random access under 1MB is just silly

I don't stress over rebuilds. 2 more disks failing during a rebuild is incredibly unlikely compared to everything else that might force me to restore a backup (software bugs, data center flooding, etc).