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 ------------------------------------