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)
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):
So it's telling me my VolGroup00 is of type lvm2. That's nice.
lvs gives us more information about the volume groups:
Here, The VolumeGroup 'VolGroup00' is the one I'm interested in mounting.
You'll have to activate the volume:
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: