cross-posted from: https://programming.dev/post/9319044
Hey,
I am planning to implement authenticated boot inspired from Pid Eins’ blog. I’ll be using pam mount for /home/user. I need to check integrity of all partitions.
I have been using luks+ext4 till now. I am
hesistanthesitant to switch to zfs/btrfs, afraid I might fuck up. A while back I accidently purged ‘/’ trying out timeshift which was my fault.Should I use zfs/btrfs for /home/user? As for root, I’m considering luks+(zfs/btrfs) to be restorable to blank state.
Stick with ext3/ext4
Ext4 is bad for data integrity and has slow performance. ext3 is just dated.
I’m running ext2/ext3/ext4 since 2002(?)… Never had a problem! But I’ve lost lots of data using reiser4, xfs & xfs, specially when blackout happens. If you don’t have a no-break/not using a notebook, and you have important data for yourself, I’d stick with ext4. I actually didn’t notice thaaaat much of performance boost, when using fast HDDs, SSDs & Nvme between any of these formats!
Like you say, ext4 is absolutely ancient at this point. I still use it for VMs as it has low overhead and no compression but for bare metal ext4 feels old.
XFS can’t really be compared to btrfs or ZFS as it is closer to ext4. If your curious Wikipedia as a table of filesystems and the features they provide. As far as XFS’s reliability goes I can’t really say as I just use ext4, btrfs or ZFS.