On Fedora 17, I am trying to mount a hard drive as slave using the following command:
mount /dev/sda5 /mnt/fedora8
And I get this error:
mount: unknown filesystem type 'LVM2_member'
How do I mount this hard drive?
On Fedora 17, I am trying to mount a hard drive as slave using the following command:
mount /dev/sda5 /mnt/fedora8
And I get this error:
mount: unknown filesystem type 'LVM2_member'
How do I mount this hard drive?
How to mount a LVM drive as slave from Fedora 17
Do all of the following logged in as root.
Make sure lvm2 is installed on your system (With fedora 17, it is already installed. Check to make sure)
Returns results:
Load the necessary module(s):
dm-mod is the module for the 'device mapper'. This produces no output, if you are using fedora then you already have 'device mapper'and the above command doesn't do anything, run it anyway just in case.
Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00):
Results:
So it's telling me my VolGroup00 is of type lvm2. That's nice.
lvs gives us more information about the volume groups:
Results:
Here, The VolumeGroup 'VolGroup00' is the one I'm interested in mounting.
You'll have to activate the volume:
Results:
So it's telling me that my VolGroup00 is now active. That's good.
You'll have to make a directory to mount to:
Finally, mount your partition like this:
change directory into /mnt/fedora8 and you see the filesystem contents:
Sources:
http://www.itbox4vn.com/2011/06/fixed-unknown-filesystem-type.html
http://www.linux-sxs.org/storage/fedora2ubuntu.html