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

14
Migrating a Version 1.0 volume group to Version 2.2 with U option
Verify that all prequisites are met
# vgversion -r -U 1024 -V 2.2 vg01
2 free user extents from the end of the Physical Volume /dev/disk/disk13 will be
utilized to accommodate the Volume Group Version 2.2 metadata.
Volume Group version can be successfully changed to 2.2
Review complete. Volume group not modified
Perform the migration
# vgchange -a n vg01
Volume group "vg01" has been successfully changed.
# vgversion -U 1024 -V 2.2 vg01
Performing "vgchange -a y -l -p -s vg01" to collect data
Activated volume group.
Volume group "vg01" has been successfully activated.
2 free user extents from the end of the Physical Volume /dev/disk/disk13
will be utilized to accommodate the Volume Group Version 2.2 metadata.
A Version 2.x Volume Group with the minor number 0x1000
already exists.
Old Volume Group configuration for "/dev/vg01" has been saved in
"/etc/lvmconf/vgversion_vg01/vg01_1.0.conf"
Deactivating Volume Group "vg01"
Volume group "vg01" has been successfully deactivated.
New Volume Group configuration for "/dev/vg01" has been saved in
"/etc/lvmconf/vgversion_vg01/vg01_2.2.conf"
Removing the Volume Group /dev/vg01 from /etc/lvmtab
Applying the configuration to all Physical Volumes from
"/etc/lvmconf/vgversion_vg01/vg01_2.2.conf"
Volume Group configuration has been restored to /dev/rdisk/disk13
Creating the Volume Group of Version 2.2 with minor number 0x0.
Adding the Volume Group /dev/vg01 to /etc/lvmtab_p
Original Volume Group Version was 1.0
New Volume Group Version is 2.2
Volume Group version has been successfully changed to 2.2
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.