Operating System - HP-UX
1751873 Members
5103 Online
108782 Solutions
New Discussion юеВ

Re: Problem with the mirror

 
JakobK
Advisor

Problem with the mirror

Hello,

i changed the /dev/dsk/c5t1d0. After the changing, I have put on the mirror for all LV's again.

If I liked to mirror LV /dev/vg00/lvora10g, I get in LE only one mirror stale.
00342 /dev/dsk/c4t1d0 02646 current /dev/dsk/c5t1d0 00831 stale
The /dev/dsk/c5t1d0 is new disk.
I have run a fsck on /dev/vg00/lvora10g and there was okay. What can I do, to get this stale LE away?
Many thanks.
Yours sincerely
K. Jakob

13 REPLIES 13
Torsten.
Acclaimed Contributor

Re: Problem with the mirror

You can check the disk with "dd" in order to verify the disk. Maybe it is bad again? Another thing to try would be to un- and remirror this LVOL.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Johnson Punniyalingam
Honored Contributor

Re: Problem with the mirror

>>What can I do, to get this stale LE away?<<

stale extends refer to sometimes "Bad disk"
if you can ioscan , diskinfo and dd a drive normally than there is no hardware problem

Please check disk really bad by "dd"


sample :-

dd if=/dev/dsk/c2t1d0 of=/dev/null bs=128k

Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Problem with the mirror

ITRC member since: June 08, 2004
Last contribution date: December 21, 2009
I have assigned points to 0 of 15 responses to my questions.


Finally can you assign points,?? its been very long time your never assign points.

Its kind of giving thanks for your people support and respond your Question and problem

Problems are common to all, but attitude makes the difference
JakobK
Advisor

Re: Problem with the mirror

dd is okay. dd if=/dev/dsk/c5t1d0 of=/dev/null bs=64.
I mirrored the LV already several times, after beboot, after fsck, but the error is the same and on the same LE (00342 /dev/dsk/c4t1d0 current and the matching LE from c5t1d0 is stale).
Johnson Punniyalingam
Honored Contributor

Re: Problem with the mirror

so its confirmed - no hardware . so you can try vgcfgrestore.


vgcfgrestore -n /dev/vg00 /dev/rdsk/c5t1d0
vgchange -a y vg00
vgsync vg00
Problems are common to all, but attitude makes the difference
JakobK
Advisor

Re: Problem with the mirror

Hello Johnson,

thanks, but the vgrestore reports the message:
Cannot restore Physical Volumes /dev/dsk/c5t1d0,
Detach the PV ..
The c5t1d0 is already successfully integrated into other LV as a mirror.

Yours sincerely
K. Jakob
sujit kumar singh
Honored Contributor

Re: Problem with the mirror

Hi


seems as if the source PE is not being read,
try using dd to read the source disk.
might be that LE is not having some filesystem data in that,


regards
sujit
JakobK
Advisor

Re: Problem with the mirror

Hello Sujit,

i have make a dd on c4t1d0 source and dd on c5t1d0 target with bs=256k and i get the same result: 280028+1 records in and 280028+1 records out

Regard Kati
Viktor Balogh
Honored Contributor

Re: Problem with the mirror

>i have make a dd on c4t1d0 source and dd on c5t1d0 target with bs=256k and i get the same result: 280028+1 records in and 280028+1 records out

instead of using another disk, you could test the drive by using /dev/null and /dev/zero like this:

read test:

# dd if=/dev/dsk/c5t1d0 of=/dev/null bs=256k

write test:

# dd if=/dev/zero of=/dev/dsk/c5t1d0 bs=256k

this way you can eliminate other error sources and the test goes much faster.
****
Unix operates with beer.