Operating System - HP-UX
1834465 Members
3085 Online
110067 Solutions
New Discussion

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

 
SOLVED
Go to solution
ajax13
Frequent Advisor

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Hi,
Whenever I issue vgdisplay -v, I get the error
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4".
When I do try pvdisplay to the above volume it gives me the same error and it tells me it belongs to /dev/vg05. But vg05 physical volume is /dev/dsk/c6t0d4. I don't know why does he think it belongs to vg05?
doing an ioscan -fnC disk| grep c4t0d4, he cannot find it. All my disk controllers start with c6, I don't know where this come from.
How can I get rid of this error message, because I see the attn light on the server blinking orange, and I would like to eliminate this error and see if the blinking stops.
One thing to note, everything seems to function correctly.

Thanks
9 REPLIES 9
Thierry Poels_1
Honored Contributor
Solution

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Hi,
you can first try to remove (or rename) /etc/lvmtab and execute vgscan. This will rebuild /etc/lvmtab. This *might* solve your problem.

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Pedro Sousa
Honored Contributor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

This shouldn't be the problem that is causing the light to blink.
But if you do a vgdisplay -v vg05 which PVs do you see?
if you don't see that volume c4txdx, and you're sure it doesn't belong to that vg, you can perform "vgreduce vg05 /dev/dsk/c4txdx"

about the light, can you tell what's the model of your server?
good luck.
ajax13
Frequent Advisor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Hi and thanks for your responses,
Just to make sure before I rename lvmtab and issue the vgscan command, I don't need to reboot, do I?

When I try vgreduce vg05 /dev/dsk/c4txdx,
he would give me the error
vgreduce: Couldn't query physical volume "/dev/dsk/c4t0d4".


The server is hp/ux b.11.00 and model is 9000/800/A500-5X.

Thanks
Joseph C. Denman
Honored Contributor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

be carefull when removing the lvmtab. I you have done any performance toning with pri and alt paths, you will lose them. Do a search on vgdisplay. You should see some thread where people have had the same problem. Check out the responses.

...jcd...
If I had only read the instructions first??
Pedro Sousa
Honored Contributor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Ok.
Don't worry, first mv /etc/lvmtab /etc/lvmtab.old
then
vgscan -v
It will recreate your lvmtab.
If you see some problems on the new lvmtab, you can always move the old one to the original place.
ajax13
Frequent Advisor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Doing the vgscan fixed the problem with vgdisplay, but the light still blinking, which means this is a different problem.

Thanks all for your help.
Joseph C. Denman
Honored Contributor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Sorry, did not read the other part of your question. To get rid of the atten light, you need to review the logs. The atten light lets you know that something abnormal happened. Could be something as simple as a network burp. To clear:

At the console hit b
return
return
GSP>
Then I'm not sure of the commans..I think

"sl" for show logs
"errors" for error logs

Once you get it cleared:
"co" for back to console.

...jcd...
If I had only read the instructions first??
ajax13
Frequent Advisor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Thanks Joseph for the info, I was not aware of this feature, once I did that I found out what is the cause of the blinking issue. We have removed a fiber channel card recently.

Thanks
Sy-Hoang Truong
Occasional Contributor

Re: vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d4"

Hi,
Try poweroff the machine, if the disk is external please poweroff it first and trying to restart the machine afterwarse.

Good luck