vgchange.1m (2010 10)

v
vgchange(1M) vgchange(1M)
If a volume group is marked as part of a high availability cluster, the high
availability software must be running on the system; otherwise, the volume
group is not activated.
n Deactivate each specified volume group and its associated logical volumes.
You must close the logical volumes prior to executing this option. For
example, if the logical volume contains a file system, the file system must
be unmounted.
For volume group version 2.2 and higher, during deactivation, an
automatic backup of the volume group configuration is saved at the loca-
tion configured (see vgcfgbackup (1M) for more details), unless the user has
explicitly used the
-A option (see below) to disable the backup.
-c cluster Control the membership of volume groups in a high availability cluster. cluster
can have one of the following values:
y Mark each specified volume group as a member of a high availability clus-
ter. The high availability software must be running; otherwise, the volume
group is not marked. Needs to be done on one node only.
-S may be
optionally specified with the
-c option to indicate whether the VG is shar-
able, and when the -c option is used without
-S the VG is marked not
sharable.
n Remove each specified volume group from membership in the high availa-
bility cluster. The high availability software does not have to be running to
perform this operation.
The volume group must be deactivated with the
-a n option before a -c yn
option can be executed.
-f Force deactivation of each specified volume group and its associated logical
volumes while a sync is in progress.
This option requires the deactivation option,
-a n, otherwise an error will be
returned.
This option is only valid for high availability clusters.
-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, deactivate and
activate the volume group without the -l option.
-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.
-t quiesce_time Automatically resume normal read/write access to the volume group once the
specified quiesce_time (in seconds) has expired. This option should be used
when quiescing a volume group that contains critical resources (e.g., root or
swap logical volume) that are necessary for normal operation of the system, or
other circumstances where manually executing the vgchange -R may not be
possible once the volume group is quiesced. The quiesce_time can be any value
from 1 to 2ˆ31-1. This option is only valid when used with the -Q option.
HP-UX 11i Version 3: October 2010 3 Hewlett-Packard Company 3