[linux-lvm] LVM problem: Unable to mount encrypted Luks HDs after reinstalling Ubuntu; Error: unknown filesystem type 'LVM2_member'
Ondrej Kozina
okozina at redhat.com
Mon Jun 1 08:40:50 UTC 2015
Hi Sebastian,
I'm not familiar with Ubuntu so the only thing I can help you with is
trying to explain what went (probably) wrong.
>
> This is the situation in the terminal:
> sog at sog-workstation:~$ sudo cryptsetup luksOpen /dev/sdb5 encrypted
> Enter passphrase for /dev/sdb5:
> sog at sog-workstation:~$ sudo mkdir /media/encrypted
> sog at sog-workstation:~$ sudo mount /dev/mapper/encrypted /media/encrypted
> mount: unknown filesystem type 'LVM2_member'
This seems like you're about to mount lvm2 PV (VG member) instead of LV
with actual filesystem residing in.
You should always try to mount LVM2 LV like follows:
mount /dev/<your_vg_name>/<your_lv_name> /mnt/point
Could you paste here 'lsblk' output here so we have better picture about
your device stack?
> sog at sog-workstation:~$ sudo vgscan --mknodes
> Reading all physical volumes. This may take a while...
> Found volume group "it-vg" using metadata type lvm2
> Found volume group "it-vg" using metadata type lvm2
> sog at sog-workstation:~$ sudo vgchange -ay
> device-mapper: create ioctl on it--vg-root failed: Device or resource busy
> device-mapper: create ioctl on it--vg-swap_1 failed: Device or resource busy
> 0 logical volume(s) in volume group "it-vg" now active
> 2 logical volume(s) in volume group "it-vg" now active
Seems like an activation issue. We can't help you more without -vvvv
debug ouput. (vgchane -ay -vvvv). Also 'dmsetup table' and 'dmsetup
info' commands output would help after failure in any activation command.
Regards
Ondrej
More information about the linux-lvm
mailing list