Operating System - HP-UX
1833883 Members
1504 Online
110063 Solutions
New Discussion

couldn't query physical volume

 
SOLVED
Go to solution
uk1
Frequent Advisor

couldn't query physical volume

I am still researching this but seem to be at a brick wall and could use some guidance. Currently the below is the output of vg02 on my system. Problem is I cant seem to remove the disks that are being displayed in the cant query status. I have removed lvmtab and ran vgscan but the disks still show up belonging to vg02. Could this be an issue with alternate links? Or will I need to export the vg and reimport it?





vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 8
Act PV 8
Max PE per PV 3474
VGDA 16
PE Size (Mbytes) 4
Total PE 27776
Alloc PE 6596
Free PE 21180
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg02/lvol1
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 2048
Allocated PE 2048
Used PV 1

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg02/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 2048
Allocated PE 2048
Used PV 2

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg02/lvol3
LV Status available/syncd
LV Size (Mbytes) 10000
Current LE 2500
Allocated PE 2500
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c41t5d2
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 3472
Free PE 3472
Autoswitch On

PV Name /dev/dsk/c41t5d3
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 3472
Free PE 3472
Autoswitch On

PV Name /dev/dsk/c41t5d4
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 3472
Free PE 3472
Autoswitch On

PV Name /dev/dsk/c41t5d6
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 3472
Free PE 3472
Autoswitch On

PV Name /dev/dsk/c41t5d7
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 3472
Free PE 3472
Autoswitch On

PV Name /dev/dsk/c41t6d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 3472
Free PE 3472
Autoswitch On

PV Name /dev/dsk/c52t0d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c54t0d0 Alternate Link
PV Status available
Total PE 3472
Free PE 0
Autoswitch On

PV Name /dev/dsk/c57t0d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t5d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c42t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c60t0d0 Alternate Link
PV Status available
Total PE 3472
Free PE 348
Autoswitch On




lvmtab:
/dev/vg02
/dev/dsk/c41t5d2
/dev/dsk/c41t5d3
/dev/dsk/c41t5d4
/dev/dsk/c41t5d6
/dev/dsk/c41t5d7
/dev/dsk/c41t6d0
/dev/dsk/c52t0d0
/dev/dsk/c57t0d0
/dev/dsk/c42t5d2
/dev/dsk/c42t5d3
/dev/dsk/c42t5d4
/dev/dsk/c42t5d6
/dev/dsk/c42t5d7
/dev/dsk/c42t6d0
/dev/dsk/c54t0d0
/dev/dsk/c60t0d0

vgconf:
# strings vg02.conf
CONFIG01
/dev/vg02
/dev/rdsk/c41t5d2
/dev/rdsk/c41t5d3
/dev/rdsk/c41t5d4
/dev/rdsk/c41t5d6
/dev/rdsk/c41t5d7
/dev/rdsk/c41t6d0
/dev/rdsk/c52t0d0
/dev/rdsk/c54t0d0
/dev/rdsk/c57t0d0
/dev/rdsk/c60t0d0
LVMREC01
LVMREC01
LVMREC01
LVMREC01
LVMREC01
LVMREC01
LVMREC01
LVMREC01
LVMREC01
LVMREC01
`VGDA0001
VGSA0001B
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor

Re: couldn't query physical volume

The first thing that you need to do is an ioscan -C disk -fn and see what devices are really out there. It's also possible that your SAN and array disy array management software has disallowed this host. An ioscan should tell what disk devices (LUN's) the HP-UX box can actually "see".
If it ain't broke, I can fix that.
uk1
Frequent Advisor

Re: couldn't query physical volume

Very good idea. I checked the output and it does appear that they are seen and do have device files

disk 680 0/0/10/1/0.20.20.0.0.5.2 sdisk CLAIMED DEVICE HP
OPEN-E
/dev/dsk/c42t5d2 /dev/rdsk/c42t5d2
disk 681 0/0/10/1/0.20.20.0.0.5.3 sdisk CLAIMED DEVICE HP
OPEN-E
/dev/dsk/c42t5d3 /dev/rdsk/c42t5d3
disk 682 0/0/10/1/0.20.20.0.0.5.4 sdisk CLAIMED DEVICE HP
OPEN-E
/dev/dsk/c42t5d4 /dev/rdsk/c42t5d4
disk 1057 0/0/10/1/0.20.20.0.0.5.6 sdisk CLAIMED DEVICE HP
OPEN-E
/dev/dsk/c42t5d6 /dev/rdsk/c42t5d6
disk 1058 0/0/10/1/0.20.20.0.0.5.7 sdisk CLAIMED DEVICE HP
OPEN-E
/dev/dsk/c42t5d7 /dev/rdsk/c42t5d7
disk 1059 0/0/10/1/0.20.20.0.0.6.0 sdisk CLAIMED DEVICE HP
OPEN-E
/dev/dsk/c42t6d0 /dev/rdsk/c42t6d0
disk 1060 0/0/10/1/0.20.20.0.0.6.1 sdisk CLAIMED DEVICE HP
OPEN-E
DCE
Honored Contributor
Solution

Re: couldn't query physical volume

This sounds vaguely familar - does the following thread help?

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=943210
Sandman!
Honored Contributor

Re: couldn't query physical volume

Clay is absolutely right. Do an ioscan to make sure that the disk and device file are CLAIMED and diskinfo the raw device file should report the correct size.

# ioscan -fnC disk

# diskinfo /dev/rdsk/cXtYdZ

hope it helps!
Coolmar
Esteemed Contributor

Re: couldn't query physical volume

Mohanasundaram_1
Honored Contributor

Re: couldn't query physical volume

Hi David,

Clay is right. You have to confirm if the LUNs have got a new device file.

It will be useful if you throw some light on the activities done before this problem cropped up. Were LUNs deleted/created newly?

If your concern is only to remove these entries from the VG, backup the file vg02.conf and then perform vgreduce -f (check man page).

This should clear out the missing PV entries.

But there is a mismatch between the lvmtab file and the vg02.conf file. The Act PV and Cur PV value matches. So it will be important to reverse engineer the cause of this problem.

With regards,
Mohan.
Attitude, Not aptitude, determines your altitude
uk1
Frequent Advisor

Re: couldn't query physical volume

DCE that worked like a charm. Can anyone explain why putting it in low quorm mode worked in this situation. Curious.
uk1
Frequent Advisor

Re: couldn't query physical volume

Ah found it in the man page

The -q n option can be used to activate the
volume group when the disk quorum is not
maintained because too many disks were lost.
Since it ensures the integrity of the LVM
configuration information, it is normally not
advisable to override the quorum.

Thank you all for your help. This form is wonderful.