Deactivates a volume group.
varyoffvg [ -s ] VolumeGroup
The varyoffvg command deactivates the volume group specified by the VolumeGroup parameter along with its associated logical volumes. The logical volumes first must be closed. For example, if the logical volume contains a file system, it must be unmounted.
To activate the volume group, use the varyonvg command.
Note: To use this command, you must either have root user authority or be a member of the system group.
You can use the System Management Interface Tool (SMIT) to run this command. To use SMIT, enter:
Note: A volume group that has a paging space volume on it cannot be varied off while the paging space is active. Before deactivating a volume group with an active paging space volume, ensure that the paging space is not activated automatically at system initialization, and then reboot the system.
|-s||Puts the volume group into System Management mode, so that only logical volume commands can be used on the volume group. In this mode, no logical volume can be opened or accessed by users.|
|/usr/sbin/varyoffvg||Contains the varyoffvg command.|
The exportvg command, mount command, umount command, varyonvg command.
The System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices explains the structure, main menus, and tasks that are done with SMIT.
The Logical Volume Storage Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices explains the Logical Volume Manager, physical volumes, logical volumes, volume groups, organization, ensuring data integrity, and allocation characteristics.