Checking the status of a volume group

As with regular cluster takeover operations, you can debug and trace the cluster activity for fast disk takeover using the information logged in the hacmp.out file. You may check the status of the volume group by issuing the lsvg command.

Depending on your configuration, the lsvg command returns the following settings:

  • VG STATE will be active if it is varied on either actively or passively.
  • VG PERMISSION will be read/write if it is actively varied on the node, or passive-only, if it is passively varied on.
  • CONCURRENT will either be Capable or Enhanced-Capable (for concurrent volume groups).

Here is an example of lsvg output:

# lsvg vg1

VOLUME GROUP:   vg1  VG IDENTIFIER:  00020adf00004c00000000f329382713
VG STATE:active  PP SIZE: 16 megabyte(s)
VG PERMISSION:  passive-only   TOTAL PPs:      542 (8672 megabytes)
MAX LVs: 256  FREE PPs:521 (8336 megabytes)
LVs:  3    USED PPs:21 (336 megabytes)
OPEN LVs:0    QUORUM:  2
TOTAL PVs:      1    VG DESCRIPTORS: 2
STALE PVs:      0    STALE PPs:      0
ACTIVE PVs:     1    AUTO ON: no
Concurrent:     Enhanced-Capable  Auto-Concurrent: Disabled
VG Mode: Concurrent 
Node ID: 2    Active Nodes:   1 4 
MAX PPs per PV: 1016 MAX PVs: 32
LTG size:128 kilobyte(s)AUTO SYNC:      no
HOT SPARE:      no   BB POLICY:      relocatable