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)
e Activate each specified volume group and all associated physical and
logical volumes for exclusive read-write access. The volume group
must be marked as part of a high availability cluster, and the availa-
bility software must be running on the system; otherwise, the volume
group is not activated.
s Activate each specified volume group and all associated physical and
logical volume for shared read-write access. The volume group must
be marked as part of a high availability cluster and marked sharable;
otherwise, the volume group is not activated.
If any of the logical volumes in the volume group are mirrored, and if
there are more than two systems in the high availability cluster, this
volume group will not be activated because HP MirrorDisk/UX
software is only supported in a clustered environment with a max-
imum of two nodes configured.
If the -a y or -a e option is executed on a currently active volume
group, vgchange attempts to include any physical volumes that were pre-
viously listed as missing. This is useful if a physical volume has come back
online. However, no automatic synchronization of any mirrored logical
volumes is done. If synchronization is required, execute the
vgsync com-
mand (see vgsync(1M)).
r Activate each specified volume group and all associated physical and
logical volumes for read-only access. This option is ignored for a
volume group that is already activated.
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.
-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 the high availabil-
ity cluster. The high availability software must be running; other-
wise, the volume group is not marked. Needs to be done on one node
only.
n Remove each specified volume group from membership in the high
availabilitycluster. The high availability software does not need to be
running.
The volume group must be deactivated with the -a n option before a -c yn
option can be executed.
-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. Needs to be done on one node only.
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.
Section 1M1010 2 HP-UX Release 11i: December 2000
___
___