Operating System - HP-UX
1747983 Members
4648 Online
108756 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
gurudatta_1
Advisor

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

Hi all,



i am able to see all disks with ioscan and the not able to mount the same volume group , checked with the syslog it was throwihg
the io error tried restarting the server after that error is cleared,we re getting the below mentioned msg. when i check the vgdisply -v


server located @ the remote location

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
VG Name /dev/vgmost
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 7
Act PV 6
Max PE per PV 15360
VGDA 12
PE Size (Mbytes) 4
Total PE 1530
Alloc PE 1393
Free PE 137
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

VG Name /dev/vgOldRoot
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4617
VGDA 2
PE Size (Mbytes) 8
Total PE 4607
Alloc PE 2442
Free PE 2165
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

VG Name /dev/temp
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 9215
VGDA 2
PE Size (Mbytes) 4
Total PE 9214
Alloc PE 13
Free PE 9201
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0


Regards
Gurudatta NR
18 REPLIES 18
Steven E. Protter
Exalted Contributor

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

Shalom,

bad disk.

http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf

http://docs.hp.com/en/T1859-90048/ch04s07.html

[Admin: The above links are no longer valid, please refer the below link instead: 

https://support.hpe.com/connect/s/search?language=en_US#q=vgdisplay%3A%20Warning%3A%20couldn't%20query%20physical%20volume%20%22%2Fdev%2Fdsk%2Fc4t0d7&t=Documents&sort=relevancy&layout=table&numberOfResults=25&f:@kmdoclanguagecode=[cv1871440]&hpe=1 ]



SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
sujit kumar singh
Honored Contributor

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

hi


this means that /dev/dsk/c4t0d7 is not being sensed by the system.

do

#ioscan -fnCdisk
see if the disk /dev/dsk/c4t0d7 shows NO_HW

#diskinfo /dev/rdsk/c4t0d7
see if size shows 0 Kbytes.

see
using dd read the blocks from disk.

#dd if=/dev/rdsk/c4t0d7 of=/dev/null


see if that fails.


if the disk is failed which seems like that it has, you will need to replace that


regards
Sujit
smatador
Honored Contributor

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

Hi,

Try this thread http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=926691

[Admin: The above links are no longer valid]


Check this doc, you can see the vgchange and vgdisplay error and what to do to resolve

Tingli
Esteemed Contributor

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

Since more than one disks failed, then if those failed disks are in SAN, it might be the connection of HBA to switch to SAN has problems. If they are internal disks then the system hardware has an issue.

It need more information to figure out the real reason for the failure.
gurudatta_1
Advisor

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

Hi ,

If i replace the disk can i get the data .

Regards
Gurudatta N.R
gurudatta_1
Advisor

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

Hi ,

If i replace the disk can i get the data.

Regards
Gurudatta N.R
sujit kumar singh
Honored Contributor

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

Hi


Tingli has made a valid point. These 4 disknames seems to be 4 paths of the same disk and the disk belongs to the VG /dev/vgmost which is showing Cur PV as 8 and act PV as 1 , that seems to be a part of /dev/vgmost.

Please use bdf and lvdisplay to see if all the LVs in the VG are mounted and intact.
from lvdisplay -v on all the LVs in the /dev/vgmost try to locate if the LVs had some extents on that PV /dev/dsk/c4t0d7.


Also might be that LUN has been deassigned from the Storage Side and is no more presented to the server.

This is so because this seems that all 4 paths are inactive, you can also check what is the status of the FC Interface , or this is a FC cable gone?

#ioscan -fnCfc
this shall show FC interfaces like /dev/fcd0 and /dev/fcd1
#fcmsutil /dev/fcd0
#fcmsutil /dev/fcd1

see that you can see Online and WWN N-port ID and Port ID.

Might be a broken cable also.

Will be good if you can post the O/Ps for

#ioscan -fnCdisk
#ioscan -fnCfc
#fcmsutil /dev/fcd0
#fcmsutil /dev/fcd1
#vgdisplay -v

Regards
sujit
Avinash20
Honored Contributor

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

The disk is not getting sensed.

Cur PV 7
Act PV 6 <<==

Check the event.log for any error

/var/opt/resmon/log/event.log

Also provide the output of the following

# mv /etc/lvmtab /etc/lvmtab.working
# vgscan -pv
# mv /etc/lvmtab.working /etc/lvmtab

# ioscan -fnC disk
# strings /etc/lvmtab
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
gurudatta_1
Advisor

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

Hi sujit,

I am attaching all the details,

1) ioscan -fnCdisk | grep /dev/dsk/c4t0d7
/dev/dsk/c4t0d7 /dev/rdsk/c4t0d7

2) diskinfo /dev/rdsk/c4t0d7
SCSI describe of /dev/rdsk/c4t0d7:
vendor: HP
product id: A6218A
type: direct access
size: 62914560 Kbytes
bytes per sector: 512

3) dd if=/dev/rdsk/c4t0d7 of=/dev/null
1139293+0 records in
1139293+0 records out


4) ioscan -fnCfc
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 0 0/2/1/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td0
fc 1 0/5/1/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td1


5) fcmsutil /dev/td0

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x010400
N_Port Node World Wide Name = 0x50060b0000132331
N_Port Port World Wide Name = 0x50060b0000132330
Driver state = ONLINE
Hardware Path is = 0/2/1/0
Number of Assisted IOs = 1051087
Number of Active Login Sessions = 2
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.0709 $Date: 2007/06/20 12:44:45 $Revision: r11.23/5



5 a)fcmsutil /dev/td1

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x010b00
N_Port Node World Wide Name = 0x50060b00001322cf
N_Port Port World Wide Name = 0x50060b00001322ce
Driver state = ONLINE
Hardware Path is = 0/5/1/0
Number of Assisted IOs = 185014
Number of Active Login Sessions = 2
Dino Present on Card = NO
Maximum Frame Size = 2048
Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.0709 $Date: 2007/06/20 12:44:45 $Revision: r11.23/5

6) --- Physical volumes ---
PV Name /dev/dsk/c4t0d1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
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/c6t0d1 Alternate Link
PV Name /dev/dsk/c8t0d1 Alternate Link
PV Name /dev/dsk/c10t0d1 Alternate Link
PV Status available
Total PE 255
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d2
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
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/c6t0d2 Alternate Link
PV Name /dev/dsk/c8t0d2 Alternate Link
PV Name /dev/dsk/c10t0d2 Alternate Link
PV Status available
Total PE 255
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d3
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
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/c6t0d3 Alternate Link
PV Name /dev/dsk/c8t0d3 Alternate Link
PV Name /dev/dsk/c10t0d3 Alternate Link
PV Status available
Total PE 255
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d4
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
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/c6t0d4 Alternate Link
PV Name /dev/dsk/c8t0d4 Alternate Link
PV Name /dev/dsk/c10t0d4 Alternate Link
PV Status available
Total PE 255
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d5
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
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/c6t0d5 Alternate Link
PV Name /dev/dsk/c8t0d5 Alternate Link
PV Name /dev/dsk/c10t0d5 Alternate Link
PV Status available
Total PE 255
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c4t0d6
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c8t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c10t0d7":
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/c6t0d6 Alternate Link
PV Name /dev/dsk/c8t0d6 Alternate Link
PV Name /dev/dsk/c10t0d6 Alternate Link
PV Status available
Total PE 255
Free PE 137
Autoswitch On
Proactive Polling On


VG Name /dev/vgOldRoot
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4617
VGDA 2
PE Size (Mbytes) 8
Total PE 4607
Alloc PE 2442
Free PE 2165
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vgOldRoot/lvol1
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vgOldRoot/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vgOldRoot/lvol3
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 125
Allocated PE 125
Used PV 1

LV Name /dev/vgOldRoot/lvol4
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 250
Allocated PE 250
Used PV 1

LV Name /dev/vgOldRoot/lvol5
LV Status available/syncd
LV Size (Mbytes) 4000
Current LE 500
Allocated PE 500
Used PV 1

LV Name /dev/vgOldRoot/lvol6
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 125
Allocated PE 125
Used PV 1

LV Name /dev/vgOldRoot/lvol7
LV Status available/syncd
LV Size (Mbytes) 4000
Current LE 500
Allocated PE 500
Used PV 1

LV Name /dev/vgOldRoot/lvol8
LV Status available/syncd
LV Size (Mbytes) 6000
Current LE 750
Allocated PE 750
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c4t1d7
PV Name /dev/dsk/c6t1d7 Alternate Link
PV Name /dev/dsk/c8t1d7 Alternate Link
PV Name /dev/dsk/c10t1d7 Alternate Link
PV Status available
Total PE 4607
Free PE 2165
Autoswitch On
Proactive Polling On


VG Name /dev/temp
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 9215
VGDA 2
PE Size (Mbytes) 4
Total PE 9214
Alloc PE 13
Free PE 9201
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/temp/lvol1
LV Status available/syncd
LV Size (Mbytes) 52
Current LE 13
Allocated PE 13
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c6t1d5
PV Status available
Total PE 9214
Free PE 9201
Autoswitch On
Proactive Polling On


Regards
Gurudatta N.R