HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
v
vgextend(1M) vgextend(1M)
-x extensibility Set allocation permission for additional physical extents on the physical volume
specified by pv_path. extensibility can have one of the following values:
y Allow allocation of additional physical extents on the physical volume.
n Prohibit allocation of additional physical extents on the physical
volume. Logical volumes residing on the physical volume can still be
accessed.
-z sparepv This option requires the installation of the optional HP MirrorDisk/UX software.
It allows you to mark the physical volume(s) specified by pv_path to be either a
spare physical volume or a regular, non-spare physical volume. (A spare physi-
cal volume can be used to replace an existing physical volume within a volume
group when mirroring is in effect, in the event the existing physical volume
fails.) sparepv can have one of the following values:
y The physical volume(s) will be used as spare(s). No physical extents
from a spare physical volume will be available as part of the "free"
pool of extents in the volume group. The spare physical volume(s) will
only be used in the event of another physical volume within this
volume group becomes unavailable(fails).
n The physical volume(s) will be used as regular, non-spare members of
the volume group. This is the default.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to
"C" (see environ(5)).
EXAMPLES
Add physical volumes
/dev/dsk/c0t1d0
and /dev/dsk/c0t2d0 to volume group /dev/vg03:
vgextend /dev/vg03 /dev/dsk/c0t1d0 /dev/dsk/c0t2d0
Extend physical volume group PVG0 while adding physical volumes /dev/dsk/c0t3d0
and
/dev/dsk/c0t4d0 to volume group
/dev/vg03:
vgextend -g PVG0 /dev/vg03 /dev/dsk/c0t3d0 /dev/dsk/c0t4d0
Add an alternate link to one of the physical volumes in the volume group where /dev/dsk/c0t4d0
and
/dev/dsk/c1t4d0 refer to the same physical volume (referenced via different controllers), and the
volume group already contains
/dev/dsk/c0t4d0. /dev/dsk/c0t4d0 remains the primary link (in
use) and /dev/dsk/c1t4d0 becomes the alternate link.
vgextend /dev/vg03 /dev/dsk/c1t4d0
Add a spare physical volume to a volume group:
vgextend -z y /dev/vg03 /dev/dsk/c2t4d0
WARNINGS
The new physical volume which has been added to the volume group could potentially have a different block
size compared to physical volumes already in the volume group.
If a logical volume is created on two or more physical volumes which have a different block size, it is not
possible to use such logical volume for file system purposes. See extendfs(1M).
For example, when a logical volume contains physical volumes that all have 1k block size, and then it is
extended to contain a physical volume with 2k block size, then the block size of the volume group is
increased to 2k.
ADDITIONAL WARNINGS
Starting at 10.20, the vgextend command is supporting additional EMC Symmetrix disk product func-
tionality (see vgchgid(1M)). The vgextend command will be enforcing a new rule such that a physical
device, to be extended to a volume group, must have the same EMC Symmetrix attributes as the physical
HP-UX Release 11i: December 2000 − 2 − Section 1M−−1025
___
___