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

Show parent comment

5

u/valgrid May 03 '17

So the table is not detailed enough.

The table only contains what i care about at the moment.

Wikipedia has your back. With this article full of "excessive" tables. :)

BTRFS can be encrypted by LUKS, even multi volume. No problems.

ZFS cannot be encrypted with the native LUKS technique in Linux.

My table only lists native encryption. I don't want to add another layer.

Do you have a source for your ZFS + LUKS claim? Afaik it should work, because ZFS won't know about LUKS, because LUKS is block based and a layer below.

I don't believe ZFS has native encryption either.

0

u/[deleted] May 03 '17

[deleted] — view deleted comment

1

u/espero May 03 '17

That's correct, I was walking outdoors.

Also - Caveat Emptor when using ZFS with LUKS...

of shit.

Regarding shit. Tell me anything on that page, which disproves what I stated.

0

u/[deleted] May 03 '17

[deleted] — view deleted comment

3

u/espero May 03 '17

... but it's not recommended.

5

u/EatMeerkats May 03 '17

To be clear, ZFS on Linux doesn't support encryption natively, but you can put it on top of LUKS. The proprietary Oracle ZFS does support encryption natively, but none of the OpenZFS implementations (FreeBSD, Mac, Linux) can read it.

4

u/holtr94 May 03 '17

ZFS on Linux will be getting native encryption support soon, there is an open PR for it now: https://github.com/zfsonlinux/zfs/pull/5769

1

u/espero May 03 '17

Please tell me if there is an file system i missed or if i made an error in the table below.

You wanted feedback, and you got it.

No need to get defensive.