10 ms·
Use LUKS, don't use LVM. I do that with ZFS for all the non-ancient stuff in github.com/Ericson2314/nixos-configuration
by Ericson2314 5y ago
Use LUKS, don't use LVM.
I do that with ZFS for all the non-ancient stuff in github.com/Ericson2314/nixos-configuration
- jeofken 5y agoWhy avoid LVM? If you could point me to a practical instruction on how to get it running I’d be very thankful! I’m sure I’m missing something basic - as is usual when struggling with UNIXes…
- Ericson2314 5y agoThere is some LVM FUD I can't confirm, but really, it's just simpler. ZFS filesystems within the same "pool" are also just more flexible. The NixOS config part you can take from my repo. The command line part is the same as for any other linux. From memory: cryptsetup luksformat physical-part cryptsetup open physical-part arbitrary-name some-command-to-make-file-system ... /dev/mapper/arbitrary-name mount /dev/mapper/arbitrary-name