# 查看物理卷信息 [root@localhost ~]# pvdisplay /dev/sdc1 "/dev/sdc1" is a new physical volume of "<50.00 GiB" --- NEW Physical volume --- PV Name /dev/sdc1 VG Name PV Size <50.00 GiB Allocatable NO PE Size 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID 0hRpcz-o6gQ-4MtD-MuGs-ltT3-RoVk-3E9Oc5
# 查看逻辑卷信息 [root@localhost ~]# lvdisplay --- Logical volume --- LV Path /dev/centos/swap LV Name swap VG Name centos LV UUID 60jdcJ-NQfJ-MT4K-rcrp-Gmbp-OY2S-gfdapy LV Write Access read/write LV Creation host, time localhost, 2018-07-08 05:32:48 +0800 LV Status available # open 2 LV Size 2.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 8192 Block device 253:1
--- Logical volume --- LV Path /dev/centos/root LV Name root VG Name centos LV UUID 0D5etc-7klz-Im4Y-GHAs-0O8W-mrCU-JZCXGY LV Write Access read/write LV Creation host, time localhost, 2018-07-08 05:32:49 +0800 LV Status available # open 1 LV Size <17.47 GiB Current LE 4472 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 8192 Block device 253:0
# 查看卷组centos的信息 [root@localhost ~]# vgdisplay centos --- Volume group --- VG Name centos System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 5 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 2 Act PV 2 VG Size 69.50 GiB PE Size 4.00 MiB Total PE 17793 Alloc PE / Size 4984 / <19.47 GiB Free PE / Size 12809 / <50.04 GiB VG UUID j21OCZ-h3yM-KMAD-fUdc-2KxW-wM1p-qhxcoa
# 查看物理卷信息,此时物理卷信息中的卷组已经是centos了 [root@localhost ~]# pvdisplay /dev/sdc1 --- Physical volume --- PV Name /dev/sdc1 VG Name centos PV Size <50.00 GiB / not usable 2.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 12799 Free PE 12799 Allocated PE 0 PV UUID 0hRpcz-o6gQ-4MtD-MuGs-ltT3-RoVk-3E9Oc5