Operating System - HP-UX
1833777 Members
2200 Online
110063 Solutions
New Discussion

Stale Errors in Logical volume

 
SOLVED
Go to solution
susee_sundar
Regular Advisor

Stale Errors in Logical volume

Hi

#lvdisplay -v /dev/vg01/lvol

i find few stale entries in the logical volume..
How can i recover the stale entries., currently my Logical Volume is mirrored.

What may be the Fault....?
8 REPLIES 8
Arunvijai_4
Honored Contributor

Re: Stale Errors in Logical volume

Hi Susee,

Check these threads, it should help you

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=708592
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=802569

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
freddy_21
Respected Contributor

Re: Stale Errors in Logical volume

vgsync or lvsync the logical volume.

please check the disk maybe something problem about your disk.
Chan 007
Honored Contributor

Re: Stale Errors in Logical volume

Hi,

try vgdisplay -v vg01

This will give you the list of LVs in stale. This may be b'cos of a disk failure. Get it repladed.

Chan
Sunil Sharma_1
Honored Contributor

Re: Stale Errors in Logical volume

Susee,

It seems you have a bad disk.

register a case with h/w vendor (HP). They will replace the disk and then do vgcfgrestore on new disk.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Arunvijai_4
Honored Contributor

Re: Stale Errors in Logical volume

Hi Susee,

If you have any disk failure, do the following ..

# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64K count=1000

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
susee_sundar
Regular Advisor

Re: Stale Errors in Logical volume

Hi ..

I find One of My disk is having bad sectors..
Which is in the Volume group

But is there any option to fix it & what is the use of vgsync command
Mridul Shrivastava
Honored Contributor
Solution

Re: Stale Errors in Logical volume

when disk is replaced then to remirror the vg vgsync is used....( after executing vgcfgrestore)...

Since the disk has developed bad sectors that is the reason it is showing stale extents so replacing the disk is the only way out to oversome from this issue..
Time has a wonderful way of weeding out the trivial
Torsten.
Acclaimed Contributor

Re: Stale Errors in Logical volume

You wrote

"I find One of My disk is having bad sectors..
Which is in the Volume group

But is there any option to fix it & what is the use of vgsync command"

The option to fix the bad sectors is to replace the bad disk with the bad sectors on.

After replacing and restoring the LVM configuration, vgsync will copy the data to the new drive, it is synchronizing the mirror.

Best documentation:

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

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!