How to solved mount: unknown filesystem type 'LVM2_member'
How to solved mount: unknown filesystem type 'LVM2_member'
This mean the disk type is LVM
This mean the disk type is LVM
[root@newdoksvr ~]# mount /dev/sdc3 /nfsserver
mount: unknown filesystem type 'LVM2_member'
[root@newdoksvr ~]#
Check the lvm disk by running following command
[root@newdoksvr ecpa]# lvscan
ACTIVE '/dev/centos/root' [<66.41 GiB] inherit
ACTIVE '/dev/centos/home' [24.41 GiB] inherit
ACTIVE '/dev/centos/swap' [7.88 GiB] inherit
inactive '/dev/centos_old/root' [<1.91 TiB] inherit
inactive '/dev/centos_old/swap' [3.89 GiB] inherit
[root@newdoksvr ecpa]#
Activate the vg and check the lv path
[ecpa@newdoksvr ~]$ sudo vgchange -ay centos_old
2 logical volume(s) in volume group "centos_old" now active
[ecpa@newdoksvr ~]$
[ecpa@newdoksvr ~]$ sudo lvscan
ACTIVE '/dev/centos/root' [<66.41 GiB] inherit
ACTIVE '/dev/centos/home' [24.41 GiB] inherit
ACTIVE '/dev/centos/swap' [7.88 GiB] inherit
ACTIVE '/dev/centos_old/root' [<1.91 TiB] inherit
ACTIVE '/dev/centos_old/swap' [3.89 GiB] inherit
[ecpa@newdoksvr ~]$
Mount the volume
[root@newdoksvr ~]$ sudo mount /dev/centos_old/root /nfsserver
[root@newdoksvr ~]$
[root@newdoksvr ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 67G 4.3G 63G 7% /
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 96K 7.8G 1% /dev/shm
tmpfs 7.8G 9.0M 7.8G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sdb1 1.9T 1.5T 438G 78% /data/brick1
/dev/sda1 1014M 159M 856M 16% /boot
/dev/mapper/centos-home 25G 34M 25G 1% /home
tmpfs 1.6G 0 1.6G 0% /run/user/1000
/dev/mapper/centos_old-root 2.0T 1.5T 467G 77% /nfsserver
[root@newdoksvr ~]$
I don't see any inactive VGs.
BalasHapusI only see the following:
# lvscan
ACTIVE '/dev/centos/swap' [820.00 MiB] inherit
ACTIVE '/dev/centos/root' [<6.20 GiB] inherit