====== Mirror and unmirror rootvg ====== ==== Unmirror rootvg ==== - remove the bad mirror copy : ''unmirrorvg -c 1 rootvg hdisk0'' - recreate bosboot for each disk containing hd5 lv : ''bosboot -ad hdisk1'' - identify the sysdump device : ''sysdumpdev -l'' - if the lv was on the bad disk, change it : ''sysdumpdev -Pp /dev/hd6'' - remove the logical volume : ''rmlv hd7'' - remove the bad disk from the rootvg : ''reducevg rootvg hdisk0'' ==== Mirror rootvg ==== - add the new disk to the rootvg : ''extendvg -f rootvg hdisk0'' - mirror the rootvg : ''mirrorvg -S -c 2 rootvg'' - recreate bosboot for each disk containing hd5 lv : ''bosboot -ad hdisk0 ; bosboot -ad hdisk1'' - check the bootlist : ''bootlist -m normal -o'' - Add each bootable disk in the bootlist : ''bootlist -m normal hdisk0 hdisk1'' ==== Add sysdump device ==== - identify the sysdump device : ''sysdumpdev -l'' - estimate the sysdump size needed (in bytes) : ''sysdempdev -e'' - create a logical volume : ''mklv -y hd7 -t sysdump rootvg 10 hdisk0'' - change the destination of the sysdump : ''sysdumpdev -Pp /dev/hd7'' ===== Increase mirror sychronization speed ===== To parallelize the mirror copy you can specify how many simultaneous LPs to sync. This will speed up your mirror. If you set the parameter **NUM_PARALLEL_LPS=24** for example in /etc/environment then logout and login again, do a: syncvg -v rootvg & ===== Recreate boot logical volume ===== # mklv -y hd5 -t boot rootvg 1 hdisk0 # bosboot -ad /dev/hdisk0 -l hd5 # bootlist -m normal -o