Sunday, March 14, 2010

Replacing root mirror disk

Replacing root mirror disk

1. vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t1d0 (restores LVM config from vg00 to c2t1d0 ie new disk)

2. lvlnboot –v ( prepares the LV to be root volume)

3. vgchange -a y /dev/vg00

4. vgsync /dev/vg00 ( synchronize the disk )

5. check whether all LV’s synchronized command: lvdisplay –v /dev/vg00/lvolx | grep stale | wc –l

6. Reboot the server and boot with the root mirrored disk.

No comments:

Post a Comment