How To Mirror VG and Root VG
There are steps involved through which administrator can mirror a VG and RootVg.
Steps tp mirror a VG:
Step 1: Extend the VG.
# extendvg <vgname> <pvname>
Step 2: mirror the VG.
# mirrorvg <vgname> <pvname>
Step 3: synchronize the VG.
# syncvg <vgname>
**********************************************
Steps to mirror RootVg:
There are steps by which admin can mirror a root vg:
Step 1: extend rootvg to a new pv:
# extendvg rootvg <pvname>
For eg:
# extendvg rootvg hdisk6
Step 2: mirror rootvg
# mirrorvg –m rootvg hdisk6
Step 3: make it bootable:
# bosboot –ad /dev/hdisk6
Step 4: define boot order:
# bootlist –m normal hdisk4 hdisk6
Step 5: synchronize rootvg:
# syncvg rootvg
Reboot OS to disable quorum checking on rootvg (By default disabled, when rootvg is mirrored but reboot is required).
Why rootvg is mirrored?
The main reason to mirror rootvg is to protect OS from disk failure.
Happy Learning !