Table of Contents

Mirror and unmirror rootvg

Unmirror rootvg

  1. remove the bad mirror copy : unmirrorvg -c 1 rootvg hdisk0
  2. recreate bosboot for each disk containing hd5 lv : bosboot -ad hdisk1
  3. identify the sysdump device : sysdumpdev -l
  4. if the lv was on the bad disk, change it : sysdumpdev -Pp /dev/hd6
  5. remove the logical volume : rmlv hd7
  6. remove the bad disk from the rootvg : reducevg rootvg hdisk0

Mirror rootvg

  1. add the new disk to the rootvg : extendvg -f rootvg hdisk0
  2. mirror the rootvg : mirrorvg -S -c 2 rootvg
  3. recreate bosboot for each disk containing hd5 lv : bosboot -ad hdisk0 ; bosboot -ad hdisk1
  4. check the bootlist : bootlist -m normal -o
  5. Add each bootable disk in the bootlist : bootlist -m normal hdisk0 hdisk1

Add sysdump device

  1. identify the sysdump device : sysdumpdev -l
  2. estimate the sysdump size needed (in bytes) : sysdempdev -e
  3. create a logical volume : mklv -y hd7 -t sysdump rootvg 10 hdisk0
  4. 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