Break Mirror on VG00

 
SOLVED
Go to solution
Bob Ferro
Regular Advisor

Break Mirror on VG00

I need to either break the mirror on vg00 so I can make 2nd drive bootable. I had a senior moment and forgot to do a pvcreate -B and a mkboot.
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: Break Mirror on VG00

Just reverse your mirroring steps.

lvreduce the mirrors off of the "bad" disk.
vgreduce the disk out of the VG.

Now start over.
Rajeev  Shukla
Honored Contributor

Re: Break Mirror on VG00

do
lvreduce -m 1 /dev/vg00/lvol1 and for all the LV that you mirrored of VG00.
once done with the vgdisplay -v you can see that the bad disk should not have any PV allocated and then finally do
vgreduce /dev/vg00 /dev/dsk/<2nd disk you want to remove>
You can then carry with your pvcreate -B etc..
Bob Ferro
Regular Advisor

Re: Break Mirror on VG00

Thanks.