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 hesistant hesitant 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.

  • Many many years ago I set up btrfs for the disks I write my backups to with a raid 1 config for them. Unfortunately one of those disks went bad and ended up corrupting the whole array. Makes me wonder if I set it up correctly or not.

    Nowadays, I have the following disks in my system set up as btrfs:

    • My backups disk because of compression.
    • My OS drive because of Timeshift.
    • My home folder because it feels safer. COW feels like it’ll handle power failures better, whilst there’s also checksumming so I can identify corrupted files.
    • My SSD Steam library over two drives because life is short and I cba managing the two ssds independently.

    It’s going fine, but it feels like I need to manually run a balance every one in a while when the disk fills up.

    I also like btrfs-assistant for managing the devices.

    Out of interest, since I’ve not used the “recommended partion setup” for any install for a while now, is ext4 still the default on most distros?