Troubleshoot problems with Mount LVM hard drive under Linux
My machine two hard drives, one 80g of the LVM I took from another machine, with data on it. I want to mount it on my current system, but no, high man to point!!!!!!
[Root@all/]# Fdisk-l
disk/dev/hdc:80.0 GB, 80026361856 bytes
255 heads, Sectors/track, 9729 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Device Boot Start End Blocks Id System
/DEV/HDC1 * 1 104391 Linux
/DEV/HDC2 9729 78043770 8e Linux LVM
disk/dev/hda:40.0 GB, 40020664320 bytes
255 heads, Sectors/track, 4865 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Device Boot Start End Blocks Id System
/DEV/HDA1 * 1 255 2048256 Linux
/DEV/HDA2 256 3934 29551567+ Linux
/dev/hda3 3935 4444 4096575 Linux
/DEV/HDA4 4445 4865 3381682+ f Win95 Ext ' d (LBA)
/dev/hda5 4445 4699 2048256 Linux
/dev/hda6 4700 4801 819283+ Linux
/DEV/HDA7 4802 4865 514048+ Linux Swap
[Root@all/]# Mount/dev/hdc2/mnt/cdrom
Mount:you must specify the filesystem type
Mount when the error above the line! who gives a hint! Thank you!
Reply:
1. Use Vgscan First
2.vgchange-ay
3.lvscan
4.mount
By the third step, if the normal will show two hard drive of the LV state is active, at this time again
#mount-T Ext3/dev/vgname/lvname/mnt/cdrom
will be successful.