I am using Ubuntu Hardy. My system has one LUKS encrypted volume, /dev/sda4.
This volume is opened using cryptsetup as /dev/mapper/luks_pv0 and is the only
physical volume in the LVM volume group vg0, which contains logical volumes
/dev/mapper/vg0-{swap,home,root}.
The system is booting up fine, but after entering the password cryptsetup always
prints the message "Cannot set up LVM". Moreover, I cannot resume from
swap after hibernation, the system just continues to boot up normally.
Binary package hint: cryptsetup
I am using Ubuntu Hardy. My system has one LUKS encrypted volume, /dev/sda4. luks_pv0 and is the only vg0-{swap, home,root} .
This volume is opened using cryptsetup as /dev/mapper/
physical volume in the LVM volume group vg0, which contains logical volumes
/dev/mapper/
According to https:/ /help.ubuntu. com/community/ EncryptedFilesy stemLVMHowto, I have
used the lvm= option in /etc/crypttab (unfortunately I did not find this option documented
anywhere else):
# cat /etc/crypttab
# <target name> <source device> <key file> <options>
luks_pv0 /dev/sda4 none luks,lvm=vg0
Moreover I have configured:
# cat /etc/initramfs- tools/conf. d/resume /dev/mapper/ vg0-swap
RESUME=
# cat /etc/uswsusp.conf | grep dev vg0-swap
resume device = /dev/mapper/
# cat /etc/fstab | grep swap vg0-swap none swap sw 0 0
/dev/mapper/
The system is booting up fine, but after entering the password cryptsetup always
prints the message "Cannot set up LVM". Moreover, I cannot resume from
swap after hibernation, the system just continues to boot up normally.