[linux-lvm] LVM + LUKS - Can't mount encrypted LV

Luca Berra bluca at comedia.it
Thu Dec 2 07:34:19 UTC 2010


On Sat, Nov 13, 2010 at 03:21:35PM -0600, John Himpel wrote:
>I am running Fedora Rawhide as of 11/1/2010
>
>Steps taken:
>modprobe dm-crypt
>modprobe dm-mod
>cryptsetup luksOpen /dev/sdf6 F14    <-- /dev/sdf6 is the location of
>encrypted partition
>   Enter passphrase for /dev/sdf6:
>   <Entered passphrase here>
>vgscan
>  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'
>
a shot in the dark,
since everything seems correct until the mount command, i'd say it is
libblkid.

try
mount -t ext3 /dev/vg_dubby/lv_root /mnt/root
or
run blkid and note the output
remove /etc/blkid.tab (or /etc/blkid/blkid.tab)
run blkid and compare with output above
mount with the normal command
open a bz ticket :P

L.

-- 
Luca Berra -- bluca at comedia.it




More information about the linux-lvm mailing list