LVM and VxVM

Mc/SG Cluster mirror disk failed how to replace with new one.

 
ashan
Advisor

Mc/SG Cluster mirror disk failed how to replace with new one.

Hi

In my mc/sg cluster,vg01 is my lock vg and
it has mirrored with two HD. when I check with
STM I can see c2t0d0 is failed. good and mirrored HD is c0t0d0.I have isolated the
defective HD.

Now I need to replace c2t0d0 in the cluster environment how do I do it.

Regards
Ashan




3 REPLIES 3
Sunil Sharma_1
Honored Contributor

Re: Mc/SG Cluster mirror disk failed how to replace with new one.

Hi,
It's very simple as you change in Standard volume group.
If you have hot swap hard disk you can replace and use vgcfgrestore to restore LVM structure and then vgsync to synchronise.
and if disk is not hot swapable then you have to bring down the cluster and do it.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
ashan
Advisor

Re: Mc/SG Cluster mirror disk failed how to replace with new one.

Hi Sunil,

So steps is

vgcfgrestore -n /dev/vg01 /dev/rdsk/c2t0d0
and
vgsync /dev/vg01

advice me

Regards

Ashan
Rajeev  Shukla
Honored Contributor

Re: Mc/SG Cluster mirror disk failed how to replace with new one.

Hi Ashan,

Ya the steps are once you connect the disk to same ID c2t0d0
run ioscan to see you see this disk as claimed and then restore the volume group informtaion on to this disk by doing vgcfgrestore

then do a vgsync and that will sync all your LV's in that disk

Rajeev