HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

v
vgchange(1M) vgchange(1M)
n Remove the shared attribute from the volume group. The high availa-
bility software does not need to be running.
The volume group must be deactivated with the
-a n option before a -S yn
option can be executed.
-l Disable the opening of logical volumes that belong to each specified volume
group. If the -l option is set, later attempts to open the logical volumes will
fail. To allow an opening of these logical volumes to succeed, execute
lvchange -a y.
-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.
-x Cross activate a shared volume group to a different activation mode. This option
is only effective when used with the -a availability option.
-P resync_daemon_count
specify 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
following a system crash. 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)).
HP-UX 11i Version 2: December 2007 Update 3 Hewlett-Packard Company 609