Operating System - HP-UX
1826188 Members
2631 Online
109691 Solutions
New Discussion

Re: Warning: couldn't query physical volume

 
SOLVED
Go to solution
rbiorn
Advisor

Warning: couldn't query physical volume

Hi!

This regards a HP9000 with HP-UX 10.2

# ioscan -fnC disk
disk 8 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST39173WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0


# pvdisplay -v /dev/dsk/c0t5d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg06".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t5d0".


Naturaly the volume group is in-active, and filesystem cannot be mounted.

How can I sort this out?

Rgds
"R3Bs"
"You cannot achieve anything beyond your wildest dreams --- if you don't have any wild dreams"
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: Warning: couldn't query physical volume

first

# diskinfo -v /dev/rdsk/c0t5d0

What are the disks belonging to this VG?

# strings /etc/lvmtab

Any of them in state NO_HW?

If the lVOLS are mirrored, try

# vgchange -a y -q n vg06

if successful,

# vgdisplay -v vg06

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!   
rbiorn
Advisor

Re: Warning: couldn't query physical volume

Hi Torsten!

# diskinfo -v /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST39173WC
type: direct access
size: 0 Kbytes
bytes per sector: 0
rev level: HP11
blocks per disk: 0
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
....
#
#
# strings /etc/lvmtab
....
/dev/vg06
/dev/dsk/c0t5d0
....
So this is the only disk in this volume group


# vgchange -a y -q n vg06
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t5d0":
Device busy (what is it busy about)
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t5d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg06":
Quorum not present, or some physical volume(s) are missing.
#
"You cannot achieve anything beyond your wildest dreams --- if you don't have any wild dreams"
Geoff Wild
Honored Contributor
Solution

Re: Warning: couldn't query physical volume

Your disk has gone bye bye:

# diskinfo -v /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST39173WC
type: direct access
size: 0 Kbytes
bytes per sector: 0
rev level: HP11
blocks per disk: 0
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2


size is 0 Kbytes...

You will need to replace and restore your data.


You could try shutting machine down, then pulling the disk out, then putting it back in...but I'm 99% sure your disk is no longer working...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Torsten.
Acclaimed Contributor

Re: Warning: couldn't query physical volume

The disk is gone:

# diskinfo -v /dev/rdsk/c0t5d0
...
size: 0 Kbytes

Replace the disk.

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!   
James R. Ferguson
Acclaimed Contributor

Re: Warning: couldn't query physical volume

rbiorn
Advisor

Re: Warning: couldn't query physical volume

Thank you all!

Luckily we are not responsible for this server, and guess what - NO BACKUPS.

Rgds
R3Bs
"You cannot achieve anything beyond your wildest dreams --- if you don't have any wild dreams"