vgchange.1m (2010 10)

v
vgchange(1M) vgchange(1M)
-x Cross-activate a active sharable volume group, changing the activation mode to
the specified activation mode. This option is only valid when used with the
-a
availability option. Cross-activation can only be used to change the activation
mode from shared mode to exclusive mode, or from exclusive mode to shared
mode.
-A autobackup Set automatic backup for this invocation of
vgchange. autobackup can have
one of the following values:
y Automatically back up configuration changes made to the volume group.
This is the default for volume group versions 2.2 and higher.
After this command executes, the
vgcfgbackup command (see
vgcfgbackup (1M)) is executed for the volume group.
n Do not back up configuration changes this time. This is the default for
volume group versions 1.0, 2.0 and 2.1.
Note that if the volume group was activated in read-only mode, the volume
group configuration is not backed up. For such a volume group, the
-A y
option, if specified, is ignored.
-P resync_daemon_count
specify the advisory count to control the number of nomwcsyncd threads
spawned for NOMWC processing when activating the volume group(s). Specifying
a resync_daemon_count of
0 causes a reasonable number of threads to be
spawned (currently defined to be 4).
-Q quiesce_mode Quiesce an active volume group to guarantee that the LVM metadata is con-
sistent. This allows a system administrator to perform a snapshot of all the
disks in the volume group. The volume group remains quiesced until it is
resumed again using the -R option or automatically after the optionally specified
quiesce_time (given using the -t option) has expired. See the Quiesced Volume
Groups section for a more complete description of quiesced volume groups. The
quiesce_mode can have one of the following values:
rw Quiesce both reads and writes to the volume group.
w Quiesce writes to the volume group. Applications may open and read from
logical volumes belonging to the volume group.
-R Resume a previously quiesced volume group. I/O that was quiesced is allowed to
complete. LVM commands and resync operations are enabled. See the Quiesced
Volume Groups section for a more complete description of quiesced volume
groups.
-S sharable Control the sharability of volume groups in a high availability cluster. sharable
can have one of the following values:
y Mark each specified volume group as sharable. The high availability
software must be running; otherwise, the volume group is not marked.
This only has to be done from one node of the cluster.
n Remove the shared attribute from the volume group. 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 -S yn
option can be executed.
-T Activate each specified volume group using multiple parallel threads. Physical
volumes will be attached to the volume group using threads. If the -s option is
not specified with the -T option, logical volumes of the volume group will also be
synchronized using threads. Activation will be serial across volume groups and
logical volumes belonging to different volume groups will be synchronized seri-
ally.
The maximum number of threads used can be controlled using the
PTHREAD_THREADS_MAX system tunable.
NOTE: With this option, the selection of primary path and ordering of alternate
links may vary across volume group activations.
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: October 2010