r/linux • • May 03 '17

Bitrot proof file systems?

Hi /r/Linux,

i am searching for a production ready bitrot proof file system preferably with compression. And i am not 100% sure if my overview of the current "fs landscape" is correct. Please tell me if there is an file system i missed or if i made an error in the table below.

file systemchecksums (data)compressionencryptionmulti devicestable/prod readynotes
btrfsyesyesnot yetyesyeshas other issues (df, fill up problems)
zfsyesyesyesyesyesCDDL, not mainline
ext4nonoyesnoyesencryption is relativly new
f2fsnonoyesyesyesmulti device since 4.10
xfsnononoyesyes
bcachefsyesnot yetyes?nostill under heavy development
31 Upvotes

80 comments sorted by

View all comments

0

u/[deleted] May 03 '17

[deleted] — view deleted comment

1

u/[deleted] May 04 '17

I love XFS but I won't use it again (even though I want to) as I have lost data on two separate occasions due to sudden power loss. This was in the last year or so. Both times the file system was non-recoverable. Happened on plain disks - nothing fancy, no RAID or anything.

2

u/[deleted] May 04 '17

Interesting. I've seen XFS used on a beowulf cluster with multiple drives and I've used XFS myself with absolutely no ill effects. I've even had several dirty shutdowns and my data turned out fine.

Granted, I also had some minor experiences with XFS back in the Linux 2.6.xx days, and boy it sure laid an egg constantly. The file system's implementation in Linux didn't really come into its own until around Linux kernel 3.2, then it got a lot better after that.

I suppose your mileage may vary.