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.
Make a VM and play with both. I prefer btrfs on client machines because I find its snapshot and subvolume handling simpler and easier to perform common tasks, btrfs resource consumption is lighter as well. Where data integrity is critical (NAS, backup storage) I run ZFS.
You won’t really understand either filesystem until you spend a decent amount of time using it so I’d practice now rather than on your important data.