User Tools

Site Tools


aix:vg_reactivate_mirror

HACMP: Restart disk mirrors

In an HACMP cluster, mirror-disk reactivation after SAN or storage failures is not automatic

Also rootvg should start mirroring automatically , or at least after a varyonvg, the datavg's will not start resync their mirrors until you stop/start the resources or that you issue the following commands on both nodes.

If lsvg -p RGxvg shows a missing pv:

  • varyonvg -n -c -P “on the passive node”
  • varyonvg -n -c -A “on the active node”

Check result with lsvg RGxvg

VOLUME GROUP:       RG1vg                    VG IDENTIFIER:  00cf4db300004c000000012332339667
VG STATE:           active                   PP SIZE:        128 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1278 (163584 megabytes)
MAX LVs:            256                      FREE PPs:       560 (71680 megabytes)
LVs:                8                        USED PPs:       718 (91904 megabytes)
OPEN LVs:           8                        QUORUM:         1 (Disabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        no
Concurrent:         Enhanced-Capable         Auto-Concurrent: Disabled
VG Mode:            Concurrent                               
Node ID:            1                        Active Nodes:       
MAX PPs per VG:     32768                    MAX PVs:        1024
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable 

STALE PPs must be 0

aix/vg_reactivate_mirror.txt · Last modified: 2021/01/01 21:21 (external edit)