HP-UX System Administrator's Guide: Logical Volume Management (762803-001, March 2014)

1 65535 2097120
2 45820 1466240
...
255 252 8064
If you change the disk type, the VGRA space available increases from 768 KB to 2784KB (if
physical extents are not renumbered) or 32768 KB (if physical extents are renumbered).
Changing the disk type also permits a larger range of max_pv and max_pe. For example,
if max_pv is 255, the bootable disk can only accommodate a disk size of 8064 MB, but after
conversion to nonbootable, it can accommodate a disk size of 40834 MB.
3. For this example, select a max_pv value of 6, which permits a max_pe value of 56828.
Preview the changes by entering the following command:
# vgmodify -r -p 6 -e 56828 -B n vg01 /dev/rdsk/c2t1d0
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1085
PE Size (Mbytes) 32
VGRA Size (Kbytes) 208
The current and new Volume Group parameters differ.
An update to the Volume Group IS required
New Volume Group settings:
Current Volume Group settings:
Max LV 255
Max PV 6
Max PE per PV 56828
PE Size (Mbytes) 32
VGRA Size (Kbytes) 2784
Review complete. Volume group not modified
4. Deactivate the volume group as follows:
# vgchange -a n vg01
Volume group "vg01" has been successfully changed.
5. Commit the new values as follows:
# vgmodify -p 6 -e 56828 -B n vg01 /dev/rdsk/c2t1d0
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1085
PE Size (Mbytes) 32
VGRA Size (Kbytes) 208
The current and new Volume Group parameters differ.
An update to the Volume Group IS required
New Volume Group settings:
Current Volume Group settings:
Max LV 255
Max PV 6
Max PE per PV 56828
PE Size (Mbytes) 32
VGRA Size (Kbytes) 2784
New Volume Group configuration for "vg01" has been saved in
"/etc/lvmconf/vg01.conf"
Old Volume Group configuration for "vg01" has been saved in
"/etc/lvmconf/vg01.conf.old"
Starting the modification by writing to all Physical Volumes
Applying the configuration to all Physical Volumes from
"/etc/lvmconf/vg01.conf"
Completed the modification process.
New Volume Group configuration for "vg01" has been saved in
3.4 Moving and Reconfiguring Your Disks 89