HP-UX 11i v3 - LVM Volume Group Version Migration (September 2010)

16
# vgversion -V 2.0 vg01
Performing "vgchange -a y -l -p -s vg01" to collect data
Activated volume group.
Volume group "vg01" has been successfully activated.
Old Volume Group configuration for "/dev/vg01" has been saved in
"/etc/lvmconf/vgversion_vg01/vg01_2.2.conf"
New Volume Group configuration for "/dev/vg01" has been saved in
"/etc/lvmconf/vgversion_vg01/vg01_2.0.conf"
Deactivating Volume Group "vg01"
Volume group "vg01" has been successfully deactivated.
Removing the Volume Group /dev/vg01 from /etc/lvmtab_p
Applying the configuration to all Physical Volumes from
"/etc/lvmconf/vgversion_vg01/vg01_2.0.conf"
Volume Group configuration has been restored to /dev/rdisk/disk13
Adding the Volume Group /dev/vg01 to /etc/lvmtab_p
Original Volume Group Version was 2.2
New Volume Group Version is 2.0
Volume Group version has been successfully changed to 2.0
Volume Group configuration for /dev/vg01 has been saved in
/etc/lvmconf/vg01.conf
Activate the volume group
# vgchange -a y vg01
Activated volume group.
Volume group "vg01" has been successfully changed.
Verify the volume group
# vgdisplay vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 511
Cur LV 1
Open LV 1
Max PV 511
Cur PV 1
Act PV 1
Max PE per PV 16368
VGDA 2
PE Size (Mbytes) 4
Total PE 1021
Alloc PE 5
Free PE 1016
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.0
VG Max Size 65472m
VG Max Extents 16368
This completes the migration of a volume group from Version 2.2 to 2.0.