Operating System - HP-UX
1748157 Members
3920 Online
108758 Solutions
New Discussion

vgdisplay shows "couldn't query physical path" but all VGs are sttil mounted

 
SOLVED
Go to solution
EU-Admins-UNIX
Regular Advisor

vgdisplay shows "couldn't query physical path" but all VGs are sttil mounted

Hi

 

when running vgdisplay -v, i get the following:

 

VG Name /dev/vg210
VG Write Access read/write
VG Status available
Max LV 2047
Cur LV 1
Open LV 1
Max PV 2048
Cur PV 1
Act PV 0
Max PE per PV 262144
VGDA 0
PE Size (Mbytes) 16
Total PE 0
Alloc PE 0
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 2.1
VG Max Size 4t
VG Max Extents 262144

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c17t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c23t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
--- Logical volumes ---
LV Name /dev/vg210/db1
LV Status available/syncd
LV Size (Mbytes) 266240
Current LE 16640
Allocated PE 16640
Used PV 0

 

But all my VG's are mounted and available.  How can this be?

 

Regards

 

Tariq

4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: vgdisplay shows "couldn't query physical path" but all VGs are sttil mounted

It is a bit strange:

 

Cur PV 1
Act PV 0

 

But maybe the legacy device files have changed for some reason, but the persistant device files still work.

 

With 11.31 you should always work with the new agile device files.

 

 

You should use "vgdsf" now to convert!


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!   
likid0
Honored Contributor

Re: vgdisplay shows "couldn't query physical path" but all VGs are sttil mounted

can you run:

 

#lvdisplay -v /dev/vg210/db1

 

So we can check what disk is listed in the lvol.

 

 

Windows?, no thanks
EU-Admins-UNIX
Regular Advisor

Re: vgdisplay shows "couldn't query physical path" but all VGs are sttil mounted

Hi

 

root@servername at / =>lvdisplay -v /dev/vg210/db1
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t0d7":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c17t0d7":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c23t0d7":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query the list of physical volumes.
--- Logical volumes ---
LV Name /dev/vg210/db1
VG Name /dev/vg210
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 266240
Current LE 16640
Allocated PE 16640
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default


--- Logical extents ---
LE PV1 PE1 Status 1
000000000 ??? 00000000 current
000000001 ??? 00000001 current
000000002 ??? 00000002 current
000000003 ??? 00000003 current
000000004 ??? 00000004 current
000000005 ??? 00000005 current
000000006 ??? 00000006 current
000000007 ??? 00000007 current
000000008 ??? 00000008 current
000000009 ??? 00000009 current
000000010 ??? 00000010 current
000000011 ??? 00000011 current
000000012 ??? 00000012 current
000000013 ??? 00000013 current
000000014 ??? 00000014 current
000000015 ??? 00000015 current
000000016 ??? 00000016 current
000000017 ??? 00000017 current
000000018 ??? 00000018 current
000000019 ??? 00000019 current
000000020 ??? 00000020 current
000000021 ??? 00000021 current
000000022 ??? 00000022 current
000000023 ??? 00000023 current
000000024 ??? 00000024 current
000000025 ??? 00000025 current
000000026 ??? 00000026 current
000000027 ??? 00000027 current

 

current with question marks all the way to the end.

 

 

likid0
Honored Contributor
Solution

Re: vgdisplay shows "couldn't query physical path" but all VGs are sttil mounted

Looks like the disks have changed their device files while the server was running, last time I had a similar problem:

 

1. you need to check that you have all your disks even with new device names, using the uuid of the disk.

2. umount fs and deactivate the vg

3. vgexport with a map and vgid, vgexport -v -m -s

4. vgimport with -s, it will import with the new correct device Ids

5. vgactivate and mount fs


Regards.

Windows?, no thanks