HP-UX 11i v3 vgmodify.1m (2011 09) Manpage

v
vgmodify(1M) vgmodify(1M)
The size should be at least 1 megabyte, and no greater than a volume group
version dependent maximum; use the lvmadm command to determine the
maximum size for a physical volume.
-E Reconfigure an activated volume group to take advantage of physical volume
size increase. This option must be used with the
-a option. The -E option
cannot be used in conjunction with the
-C
and -B options.
If pv_path is not specified,
vgmodify
will account for size increase of all phy-
sical volumes in the volume group.
-e max_pe Applicable to volume groups version 1.0 only. Set the maximum number of
physical extents that can be allocated from any of the physical volumes in the
volume group (see vgcreate (1M) -e).
The maximum number of physical extents can range from the current highest
physical extent in use on any physical volume in the volume group (1 if none
in use) up to 65535.
The
-t option displays a table of possible max_pe values for vg_name .
-l max_lv Applicable to volume groups version 1.0 only. Set the maximum number of
logical volumes that the volume group is allowed to contain (see vgcreate (1M)
-l).
The maximum number of logical volumes can range from the current highest
logical volume number in use (1 if none in use) to 255.
Note that changing this value has little impact on the size of the LVM
configuration data.
-n Applicable to volume groups version 1.0 only. Allow renumbering of physical
extents on physical volumes. This only applies to physical volumes that have
allocated extents. By default, physical extent numbers will be unchanged by
vgmodify.
Renumbering physical extents changes the allocation of the first physical
extent, if it is free, from user to LVM configuration data and vice-versa. This
will often have a considerable impact on the space available for the LVM
configuration data on each physical volume and, therefore, the possible set-
tings for the volume group parameters.
No user data is moved during that process, only the LVM numbering of physi-
cal extents changes.
When the first extent is being reallocated from user to LVM configuration
data, the physical extent numbers are decreased. This will only occur if the
first extent is free. For example a logical volume using physical extents 10 to
20 from a physical volume that has its first extent reallocated to LVM
configuration data will use the physical extents 9 to 19 after the modification.
User data is not moved.
When the first extent is being reallocated from LVM configuration to user
data, the physical extent numbers are increased. For example a logical
volume using physical extents 10 to 20 from a physical volume that has its
first extent re-allocated to user data will use the physical extents 11 to 21 after
the modification. User data is not moved.
Not all configurations allow renumbering. If this is the case then an error will
be reported and a recommendation to rerun without the
-n option will be
given.
-o Applicable to volume groups version 1.0 only. Optimize the volume group set-
tings. The maximum number of extents and physical volumes are adjusted
upwards, where possible, to make full use of the space reserved on each physi-
cal volume for the LVM configuration data.
This option cannot be used in conjunction with
-l, -p, -n, -t,or-e.
Note: If renumbering is necessary, then rerun with
-e and -p rather than -o.
HP-UX 11i Version 3: September 2011 3 Hewlett-Packard Company 3