1849248 Members
4978 Online
104042 Solutions
New Discussion

fix stale LV

 
SOLVED
Go to solution
S.K. Chan
Honored Contributor

fix stale LV

Quick one ..

I got /dev/vg00/lvol3 mounted on / and lvdisplay -v on that LV tells me it's stale. I tried lvsync and it came back with IO error.
vg00 got 2 disks (mirrored)

lvdisplay -v shows all LEs are current except one LE (current on 1 disk and stale on the mirrored disk).

what's next ??
6 REPLIES 6
Patrick Wallek
Honored Contributor
Solution

Re: fix stale LV

Hmmm.....Bad spot on the disk perhaps?

I would go ahead and place a hardware call and replace the suspect disk. If one LV has stale extent(s), then chances are the rest will follow soon.
Sanjay_6
Honored Contributor

Re: fix stale LV

Hi Chan,

you may have a bad block on the disk. Do a dd on the disk on lv on which the stale extend is available and you may find out if the disk is a problem. By default i think reloaction is off for vg00/lvol3 (root).

dd if=/dev/vg00/rlvol3 of=/dev/null

you should get

some_number+0 blocks in
some_number+0 blocks out

hope this helps.



Sanjay_6
Honored Contributor

Re: fix stale LV

Hi Chan,

Here is a thread from ITRC on fixing stale mirror extents.

http://us-support.external.hp.com/cki/bin/doc.pl/sid=cea1e7cf027913c86d/screen=ckiSearchResults?mode=id&searchString=DFQKBCA00000210

Hope this helps.

Regds
Craig Rants
Honored Contributor

Re: fix stale LV

I agree with Patrick, just get it replaced, especially if it is a mirror disk. I have a process this type of thing if you want...

Good luck.

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Michael Tully
Honored Contributor

Re: fix stale LV

Hi,

Before replacing your disk, and if the thread that Sanjay has added does not do the job, this is an opportune time to make sure that you have that ignite tape up to date.

# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

-Michael
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: fix stale LV

Thanks all !!