Manual Page Result
0
Command: vgchange | Section: 8 | Source: Digital UNIX | File: vgchange.8.gz
vgchange(8) System Manager's Manual vgchange(8)
NAME
vgchange - Sets the availability of a volume group to yes or no
SYNOPSIS
/usr/sbin/vgchange -a Availability [-lps] VolumeGroupName
DESCRIPTION
This command is no longer supported on Digital UNIX systems. Features
formerly provided by the Logical Volume Manager (LVM) are now provided
by the Logical Storage Manager (LSM). Existing LVM volumes must be mi-
grated to LSM, using an encapsulation process. For information about
moving LVM volumes to LSM, see the vollvmencap(8) reference page and
the manual Logical Storage Manager.
The vgchange command activates or deactivates one or more volume
groups. The change depends on the value specified by the -a flag;
namely, y or n.
The vgchange -a n command deactivates the VolumeGroupName and its asso-
ciated logical volumes. You must close the logical volumes prior to in-
voking the vgchange -a n command. For example, if the logical volume
contains a file system, you must unmount the filesystem.
The vgchange -a y command activates the VolumeGroupName, and all asso-
ciated physical and logical volumes. When a volume group is activated,
it is available for use, its logical volumes are available, and its
physical extents are synchronized (if they are stale). However, if you
included the -s flag on the command line, synchronization does not oc-
cur. If the program can not access a physical volume, it lists the
volume's status as missing. If too many physical volumes in the volume
group are missing, the program notifies you that the group does not
have a quorum and cannot be activated. The -p flag allows you to acti-
vate the volume group only if all of the physical volumes belonging to
the volume group are available. If the -l flag is set, later attempts
to open the logical volumes will fail. To make an open of these logi-
cal volumes succeed, the command lvchange -a y must be executed.
FLAGS
Sets the availability of the volume group. The Availability parameter
is represented by one of the following: Makes a volume group available.
Makes a volume group temporarily unavailable. Disables the open of the
logical volumes that belongs to the volume group. Activates the volume
group only if all of the physical volumes that belong to it are avail-
able. Disables the synchronization of the stale physical extents
within the volume group specified with the VolumeGroupName parameter.
This flag only makes sense when -a y is specified.
EXAMPLES
To activate the volume group vg03, enter: vgchange -a y /dev/vg03 To
deactivate the volume group vg03, enter: vgchange -a n /dev/vg03 To ac-
tivate volume group vg03 without synchronizing extents that are not
current, enter: vgchange -a y -s /dev/vg03
FILES
Specifies the command path
RELATED INFORMATION
Commands: vgcreate(8), umount(8), vgdisplay(8), vgextend(8), vgre-
duce(8) delim off
vgchange(8)