[root@host1Z1 ~]# vgdisplay
— Volume group —
VG Name vol_grp1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 165
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 10
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 839.84 GiB
PE Size 4.00 MiB
Total PE 214999
Alloc PE / Size 212480 / 830.00 GiB
Free PE / Size 2519 / 9.84 GiB
VG UUID FOtjrl-D7bL-WH71-Ls55-fDEu-7es3-mjkhAu
# lvmdiskscan
/dev/ram0 [ 16.00 MiB]
/dev/sda [ 931.51 GiB]
/dev/ram1 [ 16.00 MiB]
/dev/vol_grp1/vs1003 [ 120.00 GiB]
/dev/ram2 [ 16.00 MiB]
/dev/ram3 [ 16.00 MiB]
/dev/vol_grp1/nteraabb9q [ 120.00 GiB]
/dev/ram4 [ 16.00 MiB]
/dev/vol_grp1/vs1013 [ 120.00 GiB]
/dev/ram5 [ 16.00 MiB]
/dev/ram6 [ 16.00 MiB]
/dev/vol_grp1/vs1014 [ 60.00 GiB]
/dev/ram7 [ 16.00 MiB]
/dev/ram8 [ 16.00 MiB]
/dev/vol_grp1/ntsrmdeedm [ 60.00 GiB]
/dev/ram9 [ 16.00 MiB]
/dev/vol_grp1/vs1015 [ 210.00 GiB]
/dev/ram10 [ 16.00 MiB]
/dev/ram11 [ 16.00 MiB]
/dev/vol_grp1/vs1016 [ 150.00 GiB]
/dev/ram12 [ 16.00 MiB]
/dev/ram13 [ 16.00 MiB]
/dev/ram14 [ 16.00 MiB]
/dev/ram15 [ 16.00 MiB]
/dev/vol_grp1/vs1017 [ 70.00 GiB]
/dev/sdb1 [ 78.12 GiB]
/dev/sdb2 [ 839.84 GiB] LVM physical volume
/dev/sdb3 [ 7.81 GiB]
3 disks
24 partitions
0 LVM physical volume whole disks
1 LVM physical volume
[root@host1AZ ~]# lvscan
ACTIVE Original ‘/dev/vol_grp1/vs1003’ [120.00 GiB] inherit
ACTIVE ‘/dev/vol_grp1/vs1013’ [120.00 GiB] inherit
ACTIVE Original ‘/dev/vol_grp1/vs1014’ [60.00 GiB] inherit
ACTIVE ‘/dev/vol_grp1/vs1015’ [210.00 GiB] inherit
inactive Original ‘/dev/vol_grp1/vs1016’ [150.00 GiB] inherit
ACTIVE Snapshot ‘/dev/vol_grp1/ntsrmdeedm’ [25.00 GiB] inherit
ACTIVE Snapshot ‘/dev/vol_grp1/nteraabb9q’ [25.00 GiB] inherit
ACTIVE ‘/dev/vol_grp1/vs1017’ [70.00 GiB] inherit
inactive Snapshot ‘/dev/vol_grp1/ntdraalemj’ [25.00 GiB] inherit
inactive Snapshot ‘/dev/vol_grp1/nt0ymc1zi2’ [25.00 GiB] inherit
vgchange -ay
10 logical volume(s) in volume group “vol_grp1” now active
[root@host11Z ~]# lvchange -an /dev/vol_grp1/vs1015
[root@host144 ~]# lvremove /dev/vol_grp1/vs1015
Logical volume “vs1015” successfully removed
[root@host12Z ~]# vgdisplay
— Volume group —
VG Name vol_grp1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 166
VG Access read/write
VG Status resizable
MAX LV 0