1833770 Members
2310 Online
110063 Solutions
New Discussion

single stale extent

 
PatBaker
Occasional Contributor

single stale extent

I have a mirrored disk that has a single stale extent but when I try to do a lvsync I get this error.....


root@tfthp02 # lvsync /dev/vg00/lvol3
lvsync: Couldn't re-synchronize stale partitions of the logical volume:
Device offline/Powerfailed

lvsync: Couldn't resynchronize logical volume "/dev/vg00/lvol3".



From what I can find out all the disks are in green light state. It in another part of the country so I can't see it.

Do I need to reboot the machine and try again or is there something else I can try before rebooting?

Thanks.
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: single stale extent

If lvsync is failing, then chances are very good that you have a bad spot on the disk. The disk may not have failed completely (YET) but chances are good that it is failing.

You should go ahead and schedule time to replace this disk.
Torsten.
Acclaimed Contributor

Re: single stale extent

See the manual for all steps:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Do a "dd" to test the disk.

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!   
Tim Nelson
Honored Contributor

Re: single stale extent

Unless one of the two disks is completely offline, use diskinfo to check. Then you do not know which disk is bad.

dd both disks and see which one gets the io error.

ie. disk 1 "dd if=/dev/rdsk/cxtxdx "of=/dev/null
do the same to the other disk.

With only one bad extent you must at least reduce the mirror before replacing. or at least get all extents to become stale.

I neglected to do this once in a situation where it was the disk that said "current" was bad. Total data corruption..

tkc
Esteemed Contributor

Re: single stale extent

normally if you have a stale extent on one disk, there could be a bad block on the other disk having the mirror copy. that could be the reason why your lvsync command failed.
Aneesh Mohan
Honored Contributor

Re: single stale extent

Hi,

Please do check the disk using pvdisplay ,if the "PV Status" is unavailable then first try to make it available and check the disk using dd ,if its not comming up confirm the disk is bad .


Thanks ,
Aneesh