1833324 Members
3199 Online
110051 Solutions
New Discussion

how to break mirroring

 
Muhammad Jahangir Mirza
Occasional Contributor

how to break mirroring

HI
plz tell me i have 2 hard disk of 4.2 GB with mirroring and the systems is running fine suddenly one hard disk crashes i like to break the mirroring, i know automatically another hard disk took place the primary one but it shows me the Physicall voloume is 2 and capacity of my hard disk shows 8 GB kinldy tell me if one hard disk crashes how to remove the mirroning
thnks to help me
4 REPLIES 4
Elmar P. Kolkman
Honored Contributor

Re: how to break mirroring

Do a lvdisplay -v to look up the broken disk. You should see either the name or the pvkey.

If the disk shows up with a /dev/dsk/... you can remove the mirroring with:
# lvreduce -m 0 /dev/vg##/lvol# /dev/dsk/....

If the disk shows up only with its pvkey:
# lvreduce -m 0 -k /dev/vg##/lvol# pv_key

Hope this answers your question.
Every problem has at least one solution. Only some solutions are harder to find.
Sunil Sharma_1
Honored Contributor

Re: how to break mirroring

Hi,

Have a look on this

http://www.wagoneers.com/UNIX/HP-UX/FILESYSTEMS/lvreduce-man.html

use -k switch with lvreduce.


Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Muhammad Jahangir Mirza
Occasional Contributor

Re: how to break mirroring

dear all,
anyone can help i really need this to solve the problem.
thnks
Best regards
Elmar P. Kolkman
Honored Contributor

Re: how to break mirroring

What problems do you have with the given info/solutions ?
Every problem has at least one solution. Only some solutions are harder to find.