0% found this document useful (0 votes)
147 views

Mount: Unknown Filesystem Type LVM2 - Member'

The document describes troubleshooting an error when trying to mount an LVM partition from one Fedora system to another. Running lvmdiskscan and lvdisplay revealed the volume group name and logical volume names. Modprobing dm-mod, activating the volume group with vgchange -ay, and scanning logical volumes with lvscan showed the LVs as active. Mounting by the logical volume path then succeeded in accessing the filesystem.

Uploaded by

tewodros fikre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views

Mount: Unknown Filesystem Type LVM2 - Member'

The document describes troubleshooting an error when trying to mount an LVM partition from one Fedora system to another. Running lvmdiskscan and lvdisplay revealed the volume group name and logical volume names. Modprobing dm-mod, activating the volume group with vgchange -ay, and scanning logical volumes with lvscan showed the LVs as active. Mounting by the logical volume path then succeeded in accessing the filesystem.

Uploaded by

tewodros fikre
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

mount: unknown filesystem type ‘LVM2_member’

Category: Linux, OS / Tags: no tag / Add Comment


i foobar’d a fedora 4 machine a couple of days ago and when i went to mount the disk into another
machine i get this beautiful error:

mount: unknown filesystem type 'LVM2_member'

here was the syntax used:

termcb:~ # mount /dev/hda2 /mnt/old/


mount: unknown filesystem type 'LVM2_member'

and here was the drive :

termcb:~ # fdisk -l

Disk /dev/hda: 30.0 GB, 30005821440 bytes


255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System


/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 3648 29198137+ 8e Linux LVM

so using lvm2 tools, we do a disk scan:

termcb:~ # lvmdiskscan
/dev/ram0 [ 62.50 MB]
/dev/ram1 [ 62.50 MB]
/dev/hda1 [ 101.94 MB]
/dev/sda1 [ 39.19 MB]
/dev/ram2 [ 62.50 MB]
/dev/hda2 [ 27.85 GB] LVM physical volume
/dev/sda2 [ 2.01 GB]
/dev/ram3 [ 62.50 MB]
/dev/sda3 [ 60.00 GB]
/dev/ram4 [ 62.50 MB]
/dev/sda4 [ 86.96 GB]
/dev/ram5 [ 62.50 MB]
/dev/ram6 [ 62.50 MB]
/dev/ram7 [ 62.50 MB]
/dev/ram8 [ 62.50 MB]
/dev/ram9 [ 62.50 MB]
/dev/ram10 [ 62.50 MB]
/dev/ram11 [ 62.50 MB]
/dev/ram12 [ 62.50 MB]
/dev/ram13 [ 62.50 MB]
/dev/ram14 [ 62.50 MB]
/dev/ram15 [ 62.50 MB]
0 disks
21 partitions
0 LVM physical volume whole disks
1 LVM physical volume

then we do a lvdisplay so we can get the LV Name and VG Name:

termcb:~ # lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID WBjpH6-Jezl-aI1z-XVSp-WzvW-qTDi-c1jkUv
LV Write Access read/write
LV Status NOT available
LV Size 26.06 GB
Current LE 834
Segments 1
Allocation inherit
Read ahead sectors 0

--- Logical volume ---


LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID Zykaw3-WBHU-oink-38W9-KylN-7u5j-PKx8qT
LV Write Access read/write
LV Status NOT available
LV Size 1.75 GB
Current LE 56
Segments 1
Allocation inherit
Read ahead sectors 0

and also a vgdisplay to make sure it was the right drive:

termcb:~ # vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 27.84 GB
PE Size 32.00 MB
Total PE 891
Alloc PE / Size 890 / 27.81 GB
Free PE / Size 1 / 32.00 MB
VG UUID ryYRi4-mXOd-XFaW-4xnR-h1cl-hphh-5QQnlM

so at this point i re-tried to mount but using the VG Name:

termcb:~ # mount /dev/VolGroup00/LogVol00 /mnt/old/


mount: special device /dev/VolGroup00/LogVol00 does not exist

still failure

so i did an
lvscan
next to see what the status of the lv drive is:

termcb:~ # lvscan
inactive '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
inactive '/dev/VolGroup00/LogVol01' [1.75 GB] inherit

fuck…. still inactive


thats when i stumbled across this post :
http://www.fedoraforum.org/forum/archiv … 64964.html

now the rest was pretty self explanatory:

modprobe dm-mod

vgchange -ay

termcb:~ # lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.75 GB] inherit

mount /dev/VolGroup00/LogVol00 /mount/point

Success!!

this was done on a suse 10.1 box trying to mount a fedora 4 drive.

if this was gentoo it probably would have been much easier.

The following two tabs change content below.


Bio
Latest Posts
My Twitter profileMy Google+ profileMy Instagram profileMy Tumblr blog
charlie root
VP of keeping it real / HNIC at pissedoffadmins.com
I bring the cold coffee.
163 comments so farAdd Your Comment
Reply
Murat said: 2019.01.19 08:58
Many many thanks, i could mount filesystem applying these commands. The only thing i will add,
we had a superblock corruption, i had to run “xfs_repair -v -L /dev/…” command and then after
mount succeeded.
Again many thanks.
Murat

Reply
Moshe said: 2018.08.15 18:33
Short summary:
===========
# modprobe dm-mod
# vgchange -ay
# lvscan
ACTIVE ‘/dev/VolGroup00/LogVol00’ [26.06 GB] inherit
ACTIVE ‘/dev/VolGroup00/LogVol01’ [1.75 GB] inherit
# mount /dev/VolGroup00/LogVol00 /mount/point

You might also like