Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Procedure for re-creating the mirroring on the alternate root disk

Recent problems have shown that the system will not boot from the alternate
root disk, if the primary disk fails. The problem can be resolved by reconfiguring the mirroring on the alternate disk.
1)

The alternate disk must be removed from the root volume group
a)

Remove all logical volumes


for i in `vgdisplay v /dev/vg00|awk /LV Name/ {print $3}`
do
lvreduce m 0 $i /dev/dsk/cXtYd0
done

b)

Remove from the volume group..


vgreduce /dev/vg00 /dev/dsk/cXtYd0

2)

The alternate disk can now be rebuilt


a)

Re-initialise has a boot disk


pvcreate B /dev/dsk/cXtYd0

b)

Install the LIF programs and treat as an LVM disk..


mkboot l /dev/dsk/cXtYd0

c)

Add to the root volume group


vgextend /dev/vg00 /dev/dsk/cXtyd0

d) Any missing links to the BDRA must now be recovered and


update.
lvlnboot R
To check that the information has been recovered..
lvlnboot v
3)

The logic partions can now be rebuilt.


a)

The following partions must be the first on the disk


lvextend m 1 /dev/vg00/lvol1 /dev/dsk/cXtYd0
lvextend m 1 /dev/vg00/lvol2 /dev/dsk/cXtYd0

b)

The remaining partions can be built from the following command.


for i in `vgdisplay v /dev/vg00|awk /LV Name/ {print $3}|egrep v lvol1$`
do
lvextend m 1 $i /dev/dsk/cXtYd0
done

This may take some time, for the disks to resync.

You might also like