[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
System Management Guide: Operating System and Devices

Changing a Volume Group to Nonquorum Status

Changing a Volume Group to Nonquorum Status

The purpose of a nonquorum volume group is to have data continuously available even when there is no quorum. A quorum is a state in which 51% or more of the physical volumes in a group are accessible. You might want to change a volume group to nonquorum status in systems configured as follows:

In either configuration, if a disk failure occurs, the volume group remains active as long as there is one logical volume copy intact on a disk.

Both user-defined and rootvg volume groups can operate in nonquorum status, but the methods used to configure them as nonquorum and for recovery after hardware failures are different for user-defined and rootvg volume groups.

Attention: If a logical volume has its only copies residing on a disk that becomes unavailable, the information will not be available to the user regardless of the quorum or nonquorum status of the volume group.

Prerequisites

Changing User-Defined Volume Groups to Nonquorum Status

To activate a nonquorum user-defined volume group, all of the volume group's physical volumes must be accessible or the activation fails. Because nonquorum volume groups stay online until the last disk becomes inaccessible, it is necessary to have each disk accessible at activation time.

  1. Run the following command to see whether the user-defined volume group is varied on.
    lsvg -o
    If the user-defined volume group does not appear in the list, follow step 3. Otherwise, follow step 2.
  2. To make a standard user-defined volume group a nonquorum volume group, use the following command;
    chvg -Qn VGName
  3. If the volume group is not active (varied on), use the following command to activate it and make effective the change to nonquorum status:
    varyonvg VGName
  4. If the volume group is already activated (varied on), use the following commands to make the change to nonquorum status effective:
    varyoffvg VGname
    then:
    chvg -Qn VGName
    then:
    varyonvg VGName

Changing the rootvg Volume Group to Nonquorum Status

Note: Do not power on the system when a disk associated with the rootvg volume group is missing unless the missing disk cannot possibly be repaired. The Logical Volume Manager (LVM) always uses the -f flag to forcibly activate (vary on) a nonquorum rootvg; this operation involves risk. The reason for the forced activation is that the system cannot be brought up unless rootvg is activated. In other words, LVM makes a last ditch attempt to activate (vary on) a nonquorum rootvg even if only a single disk is accessible.
  1. To make rootvg a nonquorum volume group, use the following command:
    chvg -Qn rootvg
  2. Shut down and reboot the system to make effective the change to nonquorum status:
    shutdown -Fr

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]