HP-UX System Administrator's Guide: Logical Volume Management (5900-3028, March 2013)

7. Activate the volume group and verify the changes by entering the following commands:
# vgchange -a y vg32
Activated volume group
Volume group "vg32" has been successfully changed.
# vgdisplay vg32
--- Volume groups ---
VG Name /dev/vg32
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 10
Cur PV 2
Act PV 2
Max PE per PV 10748
VGDA 4
PE Size (Mbytes) 32
Total PE 3119
Alloc PE 0
Free PE 3119
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
Example: Version 2.x Volume Group
In this example, the vgmodify -E option is used to increase the number of extents available for
user data for two LUNs whose size has been expanded by an array utility from 100 GB to 200
GB.
1. Run online vgmodify in review mode to verify that the physical volumes require reconfiguration
for the DLE and to preview the number of new extents to be added:
# vgmodify -r -a -E vg1
Physical volume "/dev/disk/disk46" requires reconfiguration for expansion.
Current number of extents: 12790
Number of extents after reconfiguration: 25590
Physical volume "/dev/disk/disk46" was not changed.
Physical volume "/dev/disk/disk47" requires reconfiguration for expansion.
Current number of extents: 12790
Number of extents after reconfiguration: 25590
Physical volume "/dev/disk/disk47" was not changed.
2. Run online vgmodify in change mode to perform the reconfiguration and add new extents
to the physical volumes:
# vgmodify -a -E vg1
Reconfiguration to expand physical volume "/dev/disk/disk46" succeeded.
Previous number of extents: 12790
Number of extents after reconfiguration: 25590
Physical volume "/dev/disk/disk46" was changed.
Volume Group configuration for /dev/vg1 has been saved in
/etc/lvmconf/vg1.conf
Reconfiguration to expand physical volume "/dev/disk/disk47" succeeded.
Previous number of extents: 12790
Number of extents after reconfiguration: 25590
Physical volume "/dev/disk/disk47" was changed.
Volume Group configuration for /dev/vg1 has been saved in
/etc/lvmconf/vg1.conf
Moving and Reconfiguring Your Disks 81