1833946 Members
1669 Online
110063 Solutions
New Discussion

Reverse Mirroring

 
Massimo Prosperi_1
New Member

Reverse Mirroring

Hi,
There is a certified document that describe the way to reverse a Mirroring ? I
have a fail on the master disk and I want to remove a disk from LVM
configuration.
I try with all LVM commands without good result.
Somebody can I help me ?
Thank in advance for your reply,
Massimo
1 REPLY 1
Carlos Riera
Frequent Advisor

Re: Reverse Mirroring

Hi Massimo:

You must do a lvreduce -m 0 to reduce mirror copies to one lvol, and you must
reduce for one physical volume, one that is in fail, so:

lvreduce -m 0 /dev/vgxx/lvolxx /dev/dsk/cxtxdx
Do lvreduce for each lv in your vg.

After do it, remove disk from vg:

vgreduce /dev/vgxx /dev/dsk/cxtxdx.

It works fine is any disk of vg is in fail. Perhaps you must use -f flag.

BUT: if you plain to replace the failed disk, dont do anything of this, and do
as follows:

1- Replace physical disk
2- do vgcfgrestore /dev/vgxx /dev/dsk/cxtxdx
3- vgsync


Good luck.