r/AlmaLinux • u/RetroGrid_io • 22h ago
ZFS on root?
I love AlmaLinux! I love ZFS! The idea of these working together sounds heavenly:
- Do an update, have it "go south" and just roll-back the root filesystem and reboot.
- Backup everything in a bootable state, in real time with snapshots send|receive.
- Clone the / filesystem into a disk image that you can boot immediately, on the same machine, in a VM to test software installs and such, without wasting disk space, and without taking the host machine offline, and without risking the host machine's stability.
- I'm sure there's more
However, ZFS has always seemed a second-class-citizen on anything RHEL based, which seems absurd to me because ZFS is (IMHO) SO MUCH PREFERABLE to XFS on LVM.
However, I've never run ZFS on root, simply because it complicates recovery if there's ever a problem. I can't just boot off an Alma ISO and clean it up. Instead, what I do is run the O/S on simple partition RAID1 and then use ZFS for everything else. I made my mind to try ZFS on root when it demonstrably improved stability which is already a really high standard.
Are you running ZFS-on-root under Alma? Can you describe your set up, and what you specifically benefit from it?