Running OpenZFS on Linux also requires dealing with DKM(ES)S, Ubuntu being an exception (hmm)...
NOTE: Self-hosted podcast show episode 25 contains excellent coverage (ZFS vs. Btrfs) by Jonathan Panozzo from Unraid.
Running OpenZFS on Linux also requires dealing with DKM(ES)S, Ubuntu being an exception (hmm)...
NOTE: Self-hosted podcast show episode 25 contains excellent coverage (ZFS vs. Btrfs) by Jonathan Panozzo from Unraid.
Lessons learned:
- ZFS is very robust for handling partial corruption
- Always leave unallocated (~1gb) space before and after critical data partitions. accidental/malicious reformatting will likely use the entire disk so the new FS superblocks are less likely to overwrite all of the original ones.
- Always have an offline backup of your partition table in case of accitental/malicious repartitioning
The one thing that still makes me nervous is large stripes of mirrors where a multi-disk failure in one mirror can take out the entire stripe. For that reason I stick with simple 2 disk (or 3 disk for critical data) mirrors and avoid combining them in stripes.
From my experience, Ubuntu's ZFS support is pretty solid, even for root disks. There were some limitations in the past, however - for example, you might not want to use ZFS on a ssd root because of its write amplification.
By the way, there's a handy PPA with newer versions [2] - but this does use DKMS.
I wouldn't trust Btrfs for much more than that.
I specified ZFS for some of work's very large servers (>100 drives). They wanted to do hardware RAID and XFS instead, and I can just image the nightmares that would have involved.
Disclaimer: I only tried it on a single disk.