[linux-lvm] LVM + LUKS - Can't mount encrypted LV
jwhimpel at gmail.com
Sat Nov 13 21:21:56 UTC 2010
I created this structure using anaconda, so I'm a bit unsure of all the
1) Encrypted partition
2) VG <vg_dubby> containing three LV's <lv_root, lv_home, lv_swap>
I suppose it's possible the encryption is at another (or even
additional) level than the partition.
Like I said, I created this with anaconda and it's been almost 18 months, so
my memory is not certain.
I am trying to mount the LV and am getting errors.
I am running Fedora Rawhide as of 11/1/2010
cryptsetup luksOpen /dev/sdf6 F14 <-- /dev/sdf6 is the location of
Enter passphrase for /dev/sdf6:
<Entered passphrase here>
Reading all physical volumnes. This may take a while...
Found volume group "vg_dubby" using metadata type lvm2
vgchange -a y vg_dubby
3 logical volume(s) in volume group "vg_dubby" now active
mount /dev/vg_dubby/lv_root /mnt/root
mount: unknown filesystem type 'crypto_LUKS'
In scanning the web, I see almost all of the examples show output from
cryptsetup as including:
key slot 0 unlocked.
Mine did not.
cryptsetup luksDump /dev/sdf6 shows Key Slot 0: ENABLED
All other Key Slots are DISABLED.
lvs and pvscan look reasonable to me, but I'm a novice, so I'm not quite
sure what to look for.
PV VG Fmt Attr PSize PFree
/dev/dm-2 vg_dubby lvm2 a- 724.09g 32.00m
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_dubby -wi--- 664.25g
lv_root vg_dubby -wi--- 50.00g
lv_swap vg_dubby -wi--- 9.81g
Any suggestions would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linux-lvm