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
vgchange(1M) vgchange(1M)
-p Activate each specified volume group only if all of the physical volumes that
belong to it are available.
-q quorum Set the quorum enforcement for each specified volume group. quorum can have
one of the following values:
y Enforce the quorum requirement. This is the default.
n Ignore the quorum requirement.
The -q n option can be used to activate the volume group when the disk
quorum is not maintained because too many disks were lost. Since it ensures
the integrity of the LVM configuration information, it is normally not advisable
to override the quorum.
-s Disable the synchronization of stale physical extents within the volume group
specified by vg_name. This option is only effective when used with the -a y or
-a e option.
-P resync_daemon_count
gives the advisory count to control the number of nomwcsyncd processes on
volume group activation.
Mirrored Disk Activation
When the optional HP MirrorDisk/UX software is running and a volume group is activated, LVM performs
the necessary mirror consistency recovery for each logical volume in the volume group based on the state of
Mirror Write Cache and Mirror Consistency Recovery (see the Consistency Recovery section of
lvdisplay(1M)). In a non-shared environment, LVM supports
MWC, NOMWC and the NONE recovery. But in
shared environment, LVM only supports
NOMWC and the NONE recovery.
MWC Recover mirror consistency by using the Mirror Write Cache and Mirror Consistency
Record. This mode implies that the Mirror Write Cache is on.
NOMWC Recover mirror consistency by searching all logical extents and copying data from a non-
stale copy to the other mirror copies. This mode implies that the Mirror Write Cache is off.
NONE Do not recover mirror consistency during volume group activation on this logical volume.
This mode implies that the Mirror Write Cache is off.
Next, mirror synchronization refreshes stale mirror copies by copying data from a nonstale copy. If the
-s
option is specified on the command line, mirror synchronization does not occur. However, for those logical
volumes that have Mirror Write Cache turned off, mirror synchronization is done independently of whether
the -s option appears on the command line.
General Activation
If vgchange cannot access a physical volume, it lists the volume’s status as missing. If too many physical
volumes in the volume group are missing, vgchange reports that the group does not have a quorum and
cannot be activated. The lack of a quorum can be overridden with the -q n option.
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
Activate volume group
/dev/vg03:
vgchange -a y /dev/vg03
Deactivate volume group /dev/vg03:
vgchange -a n /dev/vg03
Activate volume group /dev/vg03 without synchronizing extents that are not current on logical volumes
that have Mirror Write Cache turned on:
HP-UX Release 11i: December 2000 3 Section 1M1011
___
___