Migrating A Volume Group To A Different Version: Vgversion; Determining The Version Of A Volume Group - HP -UX 11i Administrator's Manual

Logical volume management
Hide thumbs Also See for HP-UX 11i:
Table of Contents

Advertisement

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 1 1i 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
Original Version
1.0
1.0
2.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 1 1i 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
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
VG Write Access
VG Status
Max LV
Cur LV
Open LV
Max PV
Cur PV
Act PV
Max PE per PV
VGDA
PE Size (Mbytes)
Total PE
Alloc PE
Free PE
Total PVG
Total Spare PVs
Total Spare PVs in use
VG Version
VG Max Size
VG Max Extents
The VG Version field indicates the target volume group is Version 1.0
46
Administering LVM
Supported Target Version
2.0 or 2.1 (migration does not support boot, swap, dump PVs)
2.2 (migration does not support boot PVs)
2.y
"LVM Volume Group Versions" (page
/dev/vg01
read/write
available
255
4
4
16
1
1
1279
2
4
1279
100
1179
0
0
0
1.0
81856m
20464
11).

Advertisement

Table of Contents
loading

Table of Contents