1834916 Members
2589 Online
110071 Solutions
New Discussion

Break disk mirror

 
Gene Laoyan
Super Advisor

Break disk mirror

I need to stop/break the mirroring of my two disks. However, I wnat to do it via commandline.
Can someone give me good "Dummies" version on how to do this. I am writing a document/instructions so when we bring a new Unix admin on board I have docs on how to do this.

Thanks
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: Break disk mirror

Have a look at the 'lvsplit' and 'lvreduce' commands.

If you want to split a mirror, so that you can access the mirror separate from the original, then you should have a look at 'lvsplit'.

If you just want to stop mirroring altogether, you need to reduce the mirrored disk from the logical volume. For that you need to use 'lvreduce'. If you want to remove the now unused disk from the VG, then also look at the vgreduce command.

Have a look at the man pages for each command for specific syntax and options.
Gene Laoyan
Super Advisor

Re: Break disk mirror

Just an fyi, I found this website: http://sl-workstations.web.cern.ch/sl-workstations/documentation/SAGpart-4.html

It seems to work on our test box.

Thanks
whiteknight
Honored Contributor

Re: Break disk mirror


Hi Gene,

You can refer to our knowledge based for LVM software recovery guide on LVM HOW TO

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c01037913-1

hope this help

WK
pls assign points
Problem never ends, you must know how to fix it
AwadheshPandey
Honored Contributor

Re: Break disk mirror

Gene Laoyan
Super Advisor

Re: Break disk mirror

Thanks everyone!