Mount the hard disk. The following message is displayed: mount: unknown filesystem type & #39; LVM2_member & #39,

Source: Internet
Author: User

Mount the hard disk. The following message is displayed: mount: unknown filesystem type 'lvm2 _ Member,

Problem: The system is directly attached to the solid state drive due to linux reinstallation and solid state drive. When starting the server,

I can't see the mounted directory of the original HDD. I don't know how to access the HDD. Run the mount/dev/sda3/store command to mount the disk,

Prompt mount: unknown filesystem type 'lvm2 _ member'

 

Solution: 2

Solution 1: Direct mounting. However, it is mounted by the name of the logical volume. The data on the hard disk is still there.

Solution 2: Format and remount. The data on the hard disk is cleared.

 

Operation:

Solution 1:

1. Run the following command to view the physical partition and logical volume information of the server.

# Fdisk-l

(Physical partitions and logical volumes)

2. Run the following command to view the details of the logical volume:

# Lvdisplay

3. Run the following command to mount the logical volume (for example, the Name of the logical volume is/dev/VolGroup/lv_home, that is, the LV Name shown in step 1) to the directory (for example: /store.

# Mount/dev/VolGroup/lv_home/store

----------------------------------- Solution 1: End ------------------------------------

 

Solution 2:

1. Directly format the partition

# Mkfs-t ext4-c/dev/sda3

2. Attach a hard disk

# Mount/dev/sda3/store

----------------------------------- Solution 2 ends ------------------------------------

 

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.