Solve the Mount LVM hard disk error in Linux
I have two hard disks on my machine. One LVM made of 80 GB is obtained from another machine with data on it. I want to mount it on my current system, but it doesn't work. Please give me some advice !!!!!!
[Root @ All/] # fdisk-l
Disk/dev/HDC: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 Cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks ID system
/Dev/hdc1*1 13 104391 83 Linux
/Dev/hdc2 14 9729 78043770 8e Linux LVM
Disk/dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 Cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Device boot start end blocks ID system
/Dev/hda1*1 255 2048256 83 Linux
/Dev/hda2 256 3934 29551567 + 83 Linux
/Dev/hda3 3935 4444 4096575 83 Linux
/Dev/hda4 4445 4865 3381682 + F Win95 ext 'd (LBA)
/Dev/hda5 4445 4699 2048256 83 Linux
/Dev/hda6 4700 4801 819283 + 83 Linux
/Dev/hda7 4802 4865 514048 + 82 Linux swap
[Root @ All/] # Mount/dev/hdc2/mnt/CDROM
Mount: You must specify the filesystem type
An error occurred while mounting! Who will give me a prompt! Thank you!
Answer:
1. Use vgscan first
2. vgchange-ay
3. lvscan
4. Mount
In step 3, if the two hard disks are normal, the LV status is active.
# Mount-T ext3/dev/vgname/lvname/mnt/CDROM
Then you can complete the operation.