I currently use btrfs on almost all my server and offline backup drives mainly because of the ability to transparently compress files to save space. But apparently btrfs can get corrupted if it unexpectedly loses power? Is there a more robust and corruption resistant filesystem that you’d recommend that also has the ability to compress files?
I believe ZFS fits your needs. Using ZFS with TrueNAS I can verify it supports transparent compression. It’s supposed to be very stable against data corruption. The only thing I can say about data corruption is in my 10+ years of using it, I haven’t had any issues.
For the OP, in case you go for zfs, don’t forget to create a cron job for scrubbing, truenas has support for this built in. It repairs things like bit rot, should they occur.
Good looking out.
It never had data corruption issues in 30+ years on EXT4 either… It doesn’t mean that you had none.
ZFS has built in error checking and correction if you have parity data. Its less if they have had corruption and more that it doesnt matter, because their system is designed to correct it automatically anyway.
With EXT4 over 30 years, you’ve likely been lucky or unaware of any corruption. Guess thats the same thing in the end.