# vgcreate vg1 /dev/sdb4
Volume group "vg1" successfully created
# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.02 TiB
PE Size 4.00 MiB
Total PE 267301
Alloc PE / Size 10239 / 40.00 GiB
Free PE / Size 257062 / 1004.15 GiB
VG UUID Kxd02t-mFtJ-nThA-Lciy-zI2A-Dwzq-2nJoVh
# vgs
VG #PV #LV #SN Attr VSize VFree
vg1 1 1 0 wz--n- 1.02t 1004.15g
vgextend vg1 /dev/sdb3
# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.02 TiB
PE Size 4.00 MiB
Total PE 267301
Alloc PE / Size 10239 / 40.00 GiB
Free PE / Size 257062 / 1004.15 GiB
VG UUID Kxd02t-mFtJ-nThA-Lciy-zI2A-Dwzq-2nJoVh
# vgs
VG #PV #LV #SN Attr VSize VFree
vg1 1 1 0 wz--n- 1.02t 1004.15g
# vgextend vg1 /dev/sdb3
No physical volume label read from /dev/sdb3
Physical volume "/dev/sdb3" successfully created
Volume group "vg1" successfully extended
# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 1.51 TiB
PE Size 4.00 MiB
Total PE 395303
Alloc PE / Size 10239 / 40.00 GiB
Free PE / Size 385064 / 1.47 TiB
VG UUID Kxd02t-mFtJ-nThA-Lciy-zI2A-Dwzq-2nJoVh
# vgs
VG #PV #LV #SN Attr VSize VFree
vg1 2 1 0 wz--n- 1.51t 1.47t
# pvdisplay
--- Physical volume ---
PV Name /dev/sdb4
VG Name vg1
PV Size 1.02 TiB / not usable 4.90 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 267301
Free PE 257062
Allocated PE 10239
PV UUID g2xLQ8-7tgm-iNZc-8dVq-vo3z-CFJp-LryYAs
--- Physical volume ---
PV Name /dev/sdb3
VG Name vg1
PV Size 500.01 GiB / not usable 1.12 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 128002
Free PE 128002
Allocated PE 0
PV UUID 77RRJm-e4iz-Zfos-ZYHT-XEBa-AZ7D-Yd7fdU
# vgreduce vg1 /dev/sdb3
Removed "/dev/sdb3" from volume group "vg1"
# pvdisplay
--- Physical volume ---
PV Name /dev/sdb4
VG Name vg1
PV Size 1.02 TiB / not usable 4.90 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 267301
Free PE 257062
Allocated PE 10239
PV UUID g2xLQ8-7tgm-iNZc-8dVq-vo3z-CFJp-LryYAs
"/dev/sdb3" is a new physical volume of "500.01 GiB"
--- NEW Physical volume ---
PV Name /dev/sdb3
VG Name
PV Size 500.01 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID 77RRJm-e4iz-Zfos-ZYHT-XEBa-AZ7D-Yd7fdU