▲ | magicalhippo 4 days ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||
> XFS is quite a bit better than btrfs, and I believe ZFS, because they have a ton of ways to reconstruct from redundant metadata if they lose a btree root As I understand it ZFS also has a lot of redundant metatdata (copies=3 on anything important), and also previous uberblocks[1]. In what way is XFS better? Genuine question, not really familiar with XFS. [1]: https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSMetadata... | |||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | koverstreet 4 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
I can't speak with any authority on ZFS, I know its structure the least out of all the major filesystems. I do a ton of reading through forums gathering user input, and lots of people chime in with stories of lost filesystems. I've seen reports of lost filesystems with ZFS and I want to say I've seen them at around the same frequency of XFS; both are very rare. My concern with ZFS is that they seem to have taken the same "no traditional fsck" approach as btrfs, favoring entirely online repair. That's obviously where we all want to be, but that's very hard to get right, and it's been my experience that if you prioritize that too much you miss the "disaster recovery" scenarios, and that seems to be what's happened with ZFS; I've read that if your ZFS filesystem is toast you need to send it to a data recovery service. That's not something I would consider acceptable, fsck ought to be able to do anything a data recovery service would do, and for bcachefs it does. I know the XFS folks have put a ton of outright paranoia into repair, including full on disaster recovery scenarios. It can't repair in scenarios where bcachefs can - but on the other hand, XFS has tricks that bcachefs doesn't, so I can't call bcachefs unequivocally better; we'd need to wait for more widespread usage and a lot more data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|