cancel
Showing results for 
Search instead for 
Did you mean: 

LV Status: available/stale

 
Highlighted
Mike_21
Frequent Advisor

LV Status: available/stale

hmmmm.... I happened to check if any available room was left on an LV, and the following came up!

#vgdisplay -v /dev/vg00

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t4d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Couldn't query the list of physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 48
Current LE 12
Allocated PE 24
Used PV 1

This doesn't look good and could explain the poor performance we have been experiencing? What would cause such a thing?

Thank

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > LVM and VxVM.
-HP Forum Moderator

5 REPLIES 5
Highlighted
Mike_21
Frequent Advisor

Re: LV Status: available/stale

It looks like the mirrors are having a problem.

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t5d0 38 38

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
0000 /dev/dsk/c1t5d0 0204 current ??? 0204 stale
0001 /dev/dsk/c1t5d0 0205 current ??? 0205 stale
0002 /dev/dsk/c1t5d0 0206 current ??? 0206 stale
0003 /dev/dsk/c1t5d0 0207 current ??? 0207 stal
Highlighted
melvyn burnard
Honored Contributor

Re: LV Status: available/stale

It suggests the disc at that address is down. I wouod recommend you get a hardware call placed quickly, as you are no longer protected by your mirroring
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Highlighted
Luc Bussieres
Frequent Advisor

Re: LV Status: available/stale

Mike,

Looks like you have a disk that have stop answering.
You could try a diskinfo first to see if he is completely down.

diskinfo /dev/rdsk/c0t4d0

if this command is not describing you the disk or if the size is zero then your disk needs to be replace.

if this works you could try to read the complete disk to see if he is readable:

dd if=/dev/rdsk/c0t4d0 of=/dev/null bs=1024k

If you receive some error while running this command or if there is some I/O errors written in /vad/adm/syslog/syslog then the disk needs to be replace.

If these 2 commands works fine you could then try a
vgcfgrestore on the disk, followed by a vgchange -a y.

Luc
La réponse est le malheur de la question
Highlighted
Sanjay_6
Honored Contributor

Re: LV Status: available/stale

Hi Mike,

Looks like your mirror disk has failed. Arrange for a replacement of the mirror disk.

Hope this helps.

regds
Highlighted
SaiKiranPatnaik
Occasional Visitor

Re: LV Status: available/stale

Check if everything is ok in VG, if so, then try

 

lvchange -a y <lvname>

Spoiler