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.

    • NaN
      link
      English
      25 months ago

      Most of the tools now should be setting nocow for virtual drives, performance these days isn’t bad.

      • Atemu
        link
        fedilink
        15 months ago

        nodatacow is a hack and will disable any and all consistency mechanisms for that file’s contents. Tools should not be setting nodatacow for virtual drives, certainly not by default.

        • NaN
          link
          English
          2
          edit-2
          5 months ago

          Default libvirt behavior since 2020. Pretty sure some database tools turn it on too.