You are not logged in.
Pages: 1
Hi all
I have managed to set up LVM on LUKS for my root, home and backup partitions. I'm able to boot but wondering about best practices for where the drives should be unlocked or if they should even be one Volume Group?
Here is my setup:
lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
backups ArchVolumeGroup -wi-ao---- 500.00g
home ArchVolumeGroup -wi-ao---- 903.36g
root ArchVolumeGroup -wi-ao---- 50.00g
pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/backup ArchVolumeGroup lvm2 a-- 953.85g 453.85g
/dev/mapper/cryptlvm ArchVolumeGroup lvm2 a-- 953.36g 0 arch.conf
title Archlinux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options rd.luks.name=08d9e59d-6b39-492e-8092-f44d0e8f313e=cryptlvm rd.luks.name=805b5991-3e78-42b8-966e-bd38c6e8ba1c=backup rd.luks.options=discard root=/dev/ArchVolumeGroup/root rw quiet resume=/dev/ArchVolumeGroup/home resume_offset=26910720 nvidia_drm.modeset=1My thinking here is that my backup drive has a backup partition as well as free space for snapshots of my root and home partitions. However, it feels weird having 2
rd.luks.name=...in the kernel parameters. Is it best practice to have them both listed here since they are part of one Volume group? Before merging them into one Volume Group I had them separate and the backup drive was being unlocked by crypttab.
Offline
Pages: 1