HP-UX System Administrator's Guide: Logical Volume Management HP-UX 11i v3 (B3921-90053 September 2011) Transform used: ESS version 2.2

specified, it cannot be changed. The default unshare unit size is 1024 KB if the -U option is not
used. Below is an example of vgcreate with the -U option:
# vgcreate -V 2.2 -S 4t -s 8 -U 2048 /dev/vg01 /dev/disk/disk20
Migrating a Volume Group to a Different Version: vgversion
Beginning with the HP-UX 11i v3 March 2009 Update, LVM offers the new command vgversion,
which enables you to migrate the current version of an existing volume group to any other version,
except for migrating to Version 1.0. Therefore, the following migrations are supported:
Table 7 Supported Volume Group Version Migrations
Supported Target VersionOriginal Version
2.0 or 2.1 (migration does not support boot, swap, dump PVs)1.0
2.2 (migration does not support boot PVs)1.0
2.y2.x
NOTE: Because Version 2.0 and 2.1 volume groups do not support bootable physical volumes,
and because at least one physical volume in the root volume group must be a bootable physical
volume, the root volume group, usually named vg00, cannot be migrated to Version 2.0 or 2.1.
Version 2.2 (or higher) volume groups do support bootable PVs; however, the migration of Version
1.0 bootable PVs to Version 2.2 (or higher) is currently not supported for the HP-UX 11i v3 March
2010 Update.
For detailed information on the versions of volume groups and the benefits of migrating your volume
groups to Version 2.x, see “LVM Volume Group Versions” (page 11).
For detailed information on the vgversion command, see the vgversion(1M) manpage.
Determining the Version of a Volume Group
To determine the current version of an existing volume group, use the vgdisplay command:
# vgdisplay vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1279
VGDA 2
PE Size (Mbytes) 4
Total PE 1279
Alloc PE 100
Free PE 1179
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 81856m
VG Max Extents 20464
The VG Version field indicates the target volume group is Version 1.0
46 Administering LVM