Operating System - HP-UX
1833302 Members
2946 Online
110051 Solutions
New Discussion

Error in lvdisplay : "Failed to recover mirror"

 
SOLVED
Go to solution
Ian Killer_1
Regular Advisor

Error in lvdisplay : "Failed to recover mirror"

Here's the output of my lvdisplay: Anyone seen this (truncated) error message on the last line before? All the PE's are CURRENT.

LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 32
Current LE 8
Allocated PE 16
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
Failed to recover mirror co "%s" has been forked to sy
Where ever the gypsies rome.
4 REPLIES 4
S.K. Chan
Honored Contributor
Solution

Re: Error in lvdisplay : "Failed to recover mirror"

You got LANG variable set to C, that's probably causing the weird output.

2 options ..
1) Ignore the message, it's harmless.
2) Run this to "unset" LANG.
# unset LANG
Helen French
Honored Contributor

Re: Error in lvdisplay : "Failed to recover mirror"

Hi Ian:

Check this document for a possible solution(TKB #KBRC00001165):

http://us-support.external.hp.com/cki/bin/doc.pl/sid=db5d1a380a8547a7bc/screen=ckiDisplayDocument?docId=200000048117974

HTH,
Shiju

Life is a promise, fulfill it!
Ian Killer_1
Regular Advisor

Re: Error in lvdisplay : "Failed to recover mirror"

Sorry I couldn't assign any more points Shiju. I hit the link and get a "could not login" message, probably because I'm a european site user. Thanks.
Where ever the gypsies rome.
Helen French
Honored Contributor

Re: Error in lvdisplay : "Failed to recover mirror"

Hi Ian:

No problem with the points. I am glad that your problem got resolved. The link pointed the same solution which S.K has given you.

This was the reason I 've given the TKB doc ID too. For checking the document, you go to the ITRC home page, select "search technical knowledge base" and select the "search by doc. ID" and submit the doc. ID there.

For your convenience I will post the same here:

PROBLEM
When LANG variable is set to C on my machine, the lvdisplay -v output adds the following line to the display:

Failed to recover mirror co "%s" has been forked to sy


RESOLUTION
Operating System - HP-UX
Version - 10.20
Hardware System - HP9000

This is a known problem with the lvdisplay command not working
properly when LANG is set to C.

The workaround is to:
unset LANG
or ignore the error message.

HTH,
Shiju




Life is a promise, fulfill it!