Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vgchange(8) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

vgcreate(8)

umount(8)

vgdisplay(8)

vgextend(8)

vgreduce(8)

vgchange(8)  —  Maintenance

OSF

NAME

vgchange − Sets the availability of a volume group to yes or no

SYNOPSIS

vgchange -a Availability [-lps] VolumeGroupName

FLAGS

-a Availability
Sets the availability of the volume group. The Availability parameter is represented by one of the following:

yMakes a volume group available. 

nMakes a volume group temporarily unavailable. 

-lDisables the open of the logical volumes that belongs to the volume group. 

-pActivates the volume group only if all of the physical volumes that belong to it are available. 

-sDisables 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. 

DESCRIPTION

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 associated logical volumes. You must close the logical volumes prior to invoking 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 associated 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 occur.  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 activate 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 logical volumes succeed, the command lvchange -a y must be executed. 

EXAMPLES

     1.To activate the volume group vg03, enter:

vgchange -a y /dev/vg03

     2.To deactivate the volume group vg03, enter:

vgchange -a n /dev/vg03

     3.To activate volume group vg03 without synchronizing extents that are not current, enter:

vgchange -a y -s /dev/vg03

FILES

/usr/sbin/vgchange
Specifies the command path

RELATED INFORMATION

Commands:  vgcreate(8), umount(8), vgdisplay(8), vgextend(8), vgreduce(8)
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026