1826402 Members
4137 Online
109692 Solutions
New Discussion

mirror proble

 
stefano_23
Occasional Contributor

mirror proble

hi guys
another question

I have a l1000 server with 2 disk2 for vg00 (disk1 and disk2)
disk1 primary and disk2 mirror.
For test i have extract disk2 from server and all work.
But if run lvdisplay -v with any lvol i can see same stale on a mirror copy and many many current!!!! mmmmmm
no good
if i reinsert disk2 and run vgsync, i can see all current.

If I reboot the system with -lq option and without disk2, i can see same stale and many current and i can't sobstitute the diskb with another (for simulate a substitution) because I can't run vgchange and vgsync because I don't have all stale for resync the mirror.

Who have same idea???


5 REPLIES 5
Rita C Workman
Honored Contributor

Re: mirror proble

Did you remember to remove the reference to the mirror disk in your lv commands?

lvreduce -m 0 ....../lvolx /dev/dsk/c...


Just a thought,
Rita


I am guessing this is a just a test/play server. Because I can't understand why you would do this otherwise, especially on vg00.

Marco Santerre
Honored Contributor

Re: mirror proble

When you say you extract the disk, do you mean you physically remove it? If that is the case, then it is normal for you to see some stale and some current, the stale ones are the one that have been updated on the primary disk and couldn't get to the second disk. The current ones only means that this extent has not been updated.

what you should do though, is break the mirror first by issuing the command :
#lvreduce -m 0 /dev/vgname/lvname /dev/dsk/mirrordisk

Cooperation is doing with a smile what you have to do anyhow.
stefano_23
Occasional Contributor

Re: mirror proble

hi

I'm do this for test.
I don't use lvreduce, but only extract the disk for simulate a crash.

Marco Santerre
Honored Contributor

Re: mirror proble

Then in that case, when you remove your disk, and you replace it with another disk, you have to follow the procedures of replacing a disk that you can find here

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066374050

in your case you want to follow the directions for a root disk mirrorred
Cooperation is doing with a smile what you have to do anyhow.
monasingh_1
Trusted Contributor

Re: mirror proble

When you put a replacement disk, you need to do a vgcfgrestore on it and then when you run vgsync it should sync all LVs and things should be okay.(vgsync will take a long time to complete to do mirror of all LVS)

hope this helps..