mount: unknown filesystem type 'LVM2_member'
I was working with Xen Virtual Machine Images . I was required to mount a Centos VM Image to a local directory. So I followed the steps mentioned here.
http://blogforopensource.blogspot.in/2014/05/mount-x86-boot-sector-partition-1-linux.html
After completing those steps, when I mounted to a local directory, I got the following error.
mount: unknown filesystem type 'LVM2_member'
Again, googling gave me the following link.
http://webcache.googleusercontent.com/search?q=cache:ucDWE1CNcJ4J:pissedoffadmins.com/os/mount-unknown-filesystem-type-lvm2_member.html+&cd=1&hl=en&ct=clnk&gl=in&client=firefox-a
I ran the following commands.
lvmdiskscan
lvdisplay
and found that /dev/VolGroup/lv_root is my mount point.
When I mounted, again the same error message was shown.
mount: unknown filesystem type 'LVM2_member'
Now I executed,
lvscan
modprobe dm-mod
vgchange -ay
Now the volume got activated.
Now I was able to mount the file system.
mount /dev/VolGroup/lv_root t
Success at last (!)
No comments:
Post a Comment