How to add a hotspare for VG in AIX

How to add a hotspare for VG in AIX


VG in AIX

a)Displays physical volumes that  are part of hotsparetestvg
lsvg -p hotsparetestvg
b)Designate hdisk6 as a hot spare
chpv -hy hdisk6
c)Change the migrate policy of the vg to migrate data from a failing disk to one spare disk
chvg -hy hotsparetestvg
d)Change the migrate policy of the vg to migrate data from a failing disk to the entire pool of spare disks
chvg -hY hotsparetestvg

7)Changing the synchronization policy
Automatic Synchronization of stale partitions within the vg. This option has significance only for partitions that correspond to mirrored logical volumes
chvg -sy hotsparetestvg
AUTO SYNC: yes

lsvg hotsparetestvg

0 Comments