根分区的扩建
[root@localhost ~]# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created.
[root@localhsot ~]# vgscan
Reading volume groups from cache.
Found volume group "centos" using metadata type lvm2
[root@localhost ~]# vgextend centos /dev/sdb
Volume group "centos" successfully extended
[root@localhost ~]# vgdisplay
--- Volume group ---
VG Name centos
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
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 12674 / <49.51 GiB
Free PE / Size 5119 / <