Mount mount Mount error: Mount you must specify the filesystem type LVM?

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.