Re: vgdisplay: Warning: couldn't query physical volume (1012 Views)
Reply
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 1 of 12 (1,133 Views)

vgdisplay: Warning: couldn't query physical volume

Hi Gurus ,

 

         Greetings !!

 

we have 15 of these error when we do a vgdisplay on one of the vg ,

 

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

 

However , if i do a :

 

# ioscan -m dsf /dev/dsk/c39t0d7
Persistent DSF           Legacy DSF(s)
========================================
/dev/disk/disk39         /dev/dsk/c39t0d7
# ioscan -m dsf /dev/disk/disk39
Persistent DSF           Legacy DSF(s)
========================================
/dev/disk/disk39         /dev/dsk/c20t0d7
                         /dev/dsk/c26t0d7
                         /dev/dsk/c37t0d7
                         /dev/dsk/c39t0d7
You have mail in /var/mail/root
# scsimgr -p lun_map -D /dev/rdisk/disk39
lunpath:39:0/0/0/3/0/0/0.0x5001438011380d19.0x4007000000000000:fibre_channel:STANDBY:STANDBY
lunpath:40:0/0/0/3/0/0/0.0x5001438011380d1d.0x4007000000000000:fibre_channel:ACTIVE:ACTIVE
lunpath:54:0/0/0/8/0/0/0.0x5001438011380d18.0x4007000000000000:fibre_channel:STANDBY:STANDBY
lunpath:62:0/0/0/8/0/0/0.0x5001438011380d1c.0x4007000000000000:fibre_channel:ACTIVE:ACTIVE

 

All the 15 paths are 'claimed' in ioscan o/p and i have reboot and rebuilt the lvmtab also , error persists.

will a vgcfgrestore only on that particular path  work ....i am sure there are many more idea , please suggest .

the env is hp ux v 3 on rx2800 and storage is p6300.some months back , the fc card was removed and reinstered at the same path , after which his error started

 

Regards,

 

FrogIsDeaf
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,131
Registered: ‎10-02-2001
Message 2 of 12 (1,128 Views)

Re: vgdisplay: Warning: couldn't query physical volume

>> All the 15 paths are 'claimed'

Why an odd number - should be 16 paths, right?

For any reason 1 path has a problem - bad cable, sfp or zoning?

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! star in the left column!   
Please use plain text.
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 3 of 12 (1,111 Views)

Re: vgdisplay: Warning: couldn't query physical volume

Hi Torsten ,

 

I presented 2 more disk and created a fresh a new vg02 , the device file for the newly created disk dont show up in 'vgdisplay: Warning: couldn't query physical volume' error , the switch fc etc seems fine.

 

 

# ioscan -funC disk
Class     I  H/W Path        Driver S/W State   H/W Type     Description
========================================================================
disk      0  0/0/0/1/0/0/0.0.0           sdisk   CLAIMED     DEVICE       HP      LOGICAL VOLUME
                            /dev/dsk/c0t0d0     /dev/dsk/c0t0d0s2   /dev/rdsk/c0t0d0    /dev/rdsk/c0t0d0s2
                            /dev/dsk/c0t0d0s1   /dev/dsk/c0t0d0s3   /dev/rdsk/c0t0d0s1  /dev/rdsk/c0t0d0s3
disk      4  0/0/0/3/0/0/0.1.29.0.0.0.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d1   /dev/rdsk/c20t0d1
disk      5  0/0/0/3/0/0/0.1.29.0.0.0.2  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d2   /dev/rdsk/c20t0d2
disk      6  0/0/0/3/0/0/0.1.29.0.0.0.3  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d3   /dev/rdsk/c20t0d3
disk      7  0/0/0/3/0/0/0.1.29.0.0.0.4  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d4   /dev/rdsk/c20t0d4
disk      8  0/0/0/3/0/0/0.1.29.0.0.0.5  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d5   /dev/rdsk/c20t0d5
disk      9  0/0/0/3/0/0/0.1.29.0.0.0.6  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d6   /dev/rdsk/c20t0d6
disk     34  0/0/0/3/0/0/0.1.29.0.0.0.7  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t0d7   /dev/rdsk/c20t0d7
disk     55  0/0/0/3/0/0/0.1.29.0.0.1.0  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t1d0   /dev/rdsk/c20t1d0
disk     60  0/0/0/3/0/0/0.1.29.0.0.1.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c20t1d1   /dev/rdsk/c20t1d1
disk     10  0/0/0/3/0/0/0.1.30.0.0.0.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d1   /dev/rdsk/c26t0d1
disk     11  0/0/0/3/0/0/0.1.30.0.0.0.2  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d2   /dev/rdsk/c26t0d2
disk     12  0/0/0/3/0/0/0.1.30.0.0.0.3  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d3   /dev/rdsk/c26t0d3
disk     13  0/0/0/3/0/0/0.1.30.0.0.0.4  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d4   /dev/rdsk/c26t0d4
disk     14  0/0/0/3/0/0/0.1.30.0.0.0.5  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d5   /dev/rdsk/c26t0d5
disk     15  0/0/0/3/0/0/0.1.30.0.0.0.6  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d6   /dev/rdsk/c26t0d6
disk     35  0/0/0/3/0/0/0.1.30.0.0.0.7  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t0d7   /dev/rdsk/c26t0d7
disk     54  0/0/0/3/0/0/0.1.30.0.0.1.0  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t1d0   /dev/rdsk/c26t1d0
disk     59  0/0/0/3/0/0/0.1.30.0.0.1.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c26t1d1   /dev/rdsk/c26t1d1
disk     40  0/0/0/8/0/0/0.1.29.0.0.0.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d1   /dev/rdsk/c37t0d1
disk     41  0/0/0/8/0/0/0.1.29.0.0.0.2  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d2   /dev/rdsk/c37t0d2
disk     42  0/0/0/8/0/0/0.1.29.0.0.0.3  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d3   /dev/rdsk/c37t0d3
disk     43  0/0/0/8/0/0/0.1.29.0.0.0.4  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d4   /dev/rdsk/c37t0d4
disk     44  0/0/0/8/0/0/0.1.29.0.0.0.5  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d5   /dev/rdsk/c37t0d5
disk     45  0/0/0/8/0/0/0.1.29.0.0.0.6  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d6   /dev/rdsk/c37t0d6
disk     46  0/0/0/8/0/0/0.1.29.0.0.0.7  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t0d7   /dev/rdsk/c37t0d7
disk     57  0/0/0/8/0/0/0.1.29.0.0.1.0  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t1d0   /dev/rdsk/c37t1d0
disk     61  0/0/0/8/0/0/0.1.29.0.0.1.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c37t1d1   /dev/rdsk/c37t1d1
disk     47  0/0/0/8/0/0/0.1.30.0.0.0.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d1   /dev/rdsk/c39t0d1
disk     48  0/0/0/8/0/0/0.1.30.0.0.0.2  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d2   /dev/rdsk/c39t0d2
disk     49  0/0/0/8/0/0/0.1.30.0.0.0.3  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d3   /dev/rdsk/c39t0d3
disk     50  0/0/0/8/0/0/0.1.30.0.0.0.4  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d4   /dev/rdsk/c39t0d4
disk     51  0/0/0/8/0/0/0.1.30.0.0.0.5  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d5   /dev/rdsk/c39t0d5
disk     52  0/0/0/8/0/0/0.1.30.0.0.0.6  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d6   /dev/rdsk/c39t0d6
disk     53  0/0/0/8/0/0/0.1.30.0.0.0.7  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t0d7   /dev/rdsk/c39t0d7
disk     56  0/0/0/8/0/0/0.1.30.0.0.1.0  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t1d0   /dev/rdsk/c39t1d0
disk     62  0/0/0/8/0/0/0.1.30.0.0.1.1  sdisk   CLAIMED     DEVICE       HP      HSV340
                            /dev/dsk/c39t1d1   /dev/rdsk/c39t1d1
disk      1  0/0/0/31/2.0.0  sdisk   CLAIMED     DEVICE       HP      DV-28S-Y
                            /dev/dsk/c1t0d0   /dev/rdsk/c1t0d0
# vgdisplay
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      7
Open LV                     7
Max PV                      16
Cur PV                      1
Act PV                      1
Max PE per PV               4465
VGDA                        2
PE Size (Mbytes)            64
Total PE                    4455
Alloc PE                    2566
Free PE                     1889
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 4465g
VG Max Extents              71440

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c20t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
VG Name                     /dev/vg06
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      25
Open LV                     25
Max PV                      16
Cur PV                      7
Act PV                      7
Max PE per PV               31999
VGDA                        14
PE Size (Mbytes)            32
Total PE                    122393
Alloc PE                    122211
Free PE                     182
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 16383488m
VG Max Extents              511984

VG Name                     /dev/vg02
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      0
Open LV                     0
Max PV                      16
Cur PV                      2
Act PV                      2
Max PE per PV               65335
VGDA                        4
PE Size (Mbytes)            32
Total PE                    7998
Alloc PE                    0
Free PE                     7998
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 33451520m
VG Max Extents              1045360

 

thanks once again

FrogIsDeaf
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,131
Registered: ‎10-02-2001
Message 4 of 12 (1,109 Views)

Re: vgdisplay: Warning: couldn't query physical volume

[ Edited ]

This really looks like a path has problems.

I would check the switch (switchshow) if you see all the HBAs.

Also check the EVA if all host ports are connected and if all LUNs are presented to all server HBAs.

 

 

 

Could you post a "vgdisplay -v" instead of "vgdisplay" only?

 

I like to know if you configured the legacy or agile devices.


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! star in the left column!   
Please use plain text.
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 5 of 12 (1,100 Views)

Re: vgdisplay: Warning: couldn't query physical volume

switchshow seems ok and error on ports , if there was a error on switch port , the new vg created with newly presented disk from same storage over the same san swicth does not have this problem :

 

# vgdisplay -v vg02
--- Volume groups ---
VG Name                     /dev/vg02
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      0
Open LV                     0
Max PV                      16
Cur PV                      2
Act PV                      2
Max PE per PV               65335
VGDA                        4
PE Size (Mbytes)            32
Total PE                    7998
Alloc PE                    0
Free PE                     7998
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 33451520m
VG Max Extents              1045360


   --- Physical volumes ---
   PV Name                     /dev/dsk/c26t1d0
   PV Name                     /dev/dsk/c20t1d0 Alternate Link
   PV Name                     /dev/dsk/c39t1d0 Alternate Link
   PV Name                     /dev/dsk/c37t1d0 Alternate Link
   PV Status                   available
   Total PE                    6399
   Free PE                     6399
   Autoswitch                  On
   Proactive Polling           On

   PV Name                     /dev/dsk/c26t1d1
   PV Name                     /dev/dsk/c20t1d1 Alternate Link
   PV Name                     /dev/dsk/c39t1d1 Alternate Link
   PV Name                     /dev/dsk/c37t1d1 Alternate Link
   PV Status                   available
   Total PE                    1599
   Free PE                     1599
   Autoswitch                  On
   Proactive Polling           On


# vgdisplay
--- Volume groups ---
VG Name                     /dev/vg00
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      7
Open LV                     7
Max PV                      16
Cur PV                      1
Act PV                      1
Max PE per PV               4465
VGDA                        2
PE Size (Mbytes)            64
Total PE                    4455
Alloc PE                    2566
Free PE                     1889
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 4465g
VG Max Extents              71440

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d3":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c20t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d6":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c37t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c39t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
VG Name                     /dev/vg06
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      25
Open LV                     25
Max PV                      16
Cur PV                      7
Act PV                      7
Max PE per PV               31999
VGDA                        14
PE Size (Mbytes)            32
Total PE                    122393
Alloc PE                    122211
Free PE                     182
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 16383488m
VG Max Extents              511984

VG Name                     /dev/vg02
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      0
Open LV                     0
Max PV                      16
Cur PV                      2
Act PV                      2
Max PE per PV               65335
VGDA                        4
PE Size (Mbytes)            32
Total PE                    7998
Alloc PE                    0
Free PE                     7998
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0
VG Version                  1.0
VG Max Size                 33451520m
VG Max Extents              1045360

#

 

Thanks once again.

 

Regards,

FrogIsDeaf
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,131
Registered: ‎10-02-2001
Message 6 of 12 (1,096 Views)

Re: vgdisplay: Warning: couldn't query physical volume

[ Edited ]

You configured c37t1d1 but the warning is about c37t0d1 (same for other devices).

 

 

What tells

 

# strings /etc/lvmtab

 

since you have lvm 1.0 VGs only?

 

 

And please post a "vgdisplay -v"!


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! star in the left column!   
Please use plain text.
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 7 of 12 (1,088 Views)

Re: vgdisplay: Warning: couldn't query physical volume

Thanks Torsten ,

 

yes the vg verison is 1 .

attaching.

 

Regards,

 

 

FrogIsDeaf
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,131
Registered: ‎10-02-2001
Message 8 of 12 (1,080 Views)

Re: vgdisplay: Warning: couldn't query physical volume

[ Edited ]

Not exactly sure what is wrong here, but first I would convert the vg06 to use agile devices (man vgdsf).

 

 

Most of the times it gives trouble when deleting (but not properly removing) a volume group.

 

You currently have vg00, vg06 abd vg02.

 

What is listed in

 

# ll /etc/lvmconf

 

if there are other VG entries, try this:

 

(example):

 

# vgcfgrestore -l -v -n vg01

 

this will list the stored information.

 

Maybe the disks where used in another vg before and the configuration information still exists?


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! star in the left column!   
Please use plain text.
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 9 of 12 (1,056 Views)

Re: vgdisplay: Warning: couldn't query physical volume

Hi Torsten ,

 

The device file must have been there for one ofprevious vg that has since been removed and doesn't exist anymore.

However , they are being recreated  by vgscan in lvmtab this time  for another volume group , and therefore the said error.

 

the lvmconf does not mention those disks:

 

# vgcfgrestore -l -v -n vg06
Volume Group Configuration information in "/etc/lvmconf/vg06.conf"
VG Name /dev/vg06
 ---- Physical volumes : 28 ----
      PV         Type         Size (kb)          Start (kb)   PVkey
     c20t0d1   Non-Boot      209715200           4352        5
     c26t0d1   Non-Boot      209715200           4352        5
      c3t0d1   Non-Boot      209715200           4352        5
      c5t0d1   Non-Boot      209715200           4352        5
     c20t0d2   Non-Boot     1048576000           4352        0
     c26t0d2   Non-Boot     1048576000           4352        0
      c3t0d2   Non-Boot     1048576000           4352        0
      c5t0d2   Non-Boot     1048576000           4352        0
     c20t0d3   Non-Boot     1048576000           4352        1
     c26t0d3   Non-Boot     1048576000           4352        1
      c3t0d3   Non-Boot     1048576000           4352        1
      c5t0d3   Non-Boot     1048576000           4352        1
     c20t0d4   Non-Boot     1048576000           4352        2
     c26t0d4   Non-Boot     1048576000           4352        2
      c3t0d4   Non-Boot     1048576000           4352        2
      c5t0d4   Non-Boot     1048576000           4352        2
     c20t0d5   Non-Boot      524288000           4352        3
     c26t0d5   Non-Boot      524288000           4352        3
      c3t0d5   Non-Boot      524288000           4352        3
      c5t0d5   Non-Boot      524288000           4352        3
     c20t0d6   Non-Boot       26214400           4352        4
     c26t0d6   Non-Boot       26214400           4352        4
      c3t0d6   Non-Boot       26214400           4352        4
      c5t0d6   Non-Boot       26214400           4352        4
     c26t0d7   Non-Boot      104857600           4352        6
     c20t0d7   Non-Boot      104857600           4352        6
      c3t0d7   Non-Boot      104857600           4352        6
      c5t0d7   Non-Boot      104857600           4352        6

 

so the device file which are shown in could,nt query physical voumen are not there in lvmconf , but they are getting recreatd in lvmtab ,

 

Regards,

 

 

FrogIsDeaf
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,131
Registered: ‎10-02-2001
Message 10 of 12 (1,044 Views)

Re: vgdisplay: Warning: couldn't query physical volume

If you don't provide the requested information, I cannot help you, sorry.


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! star in the left column!   
Please use plain text.
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 11 of 12 (1,033 Views)

Re: vgdisplay: Warning: couldn't query physical volume

Hi Torsten ,

 

Here it is

 

# ll /etc/lvmconf
total 6192
----------   1 root       sys              0 Mar 29 17:59 lvm_lock
----------   1 root       root             0 Mar 29 18:07 lvmp_lock
-rw-------   1 root       sys             24 Aug 20 11:32 pv_lock
----------   1 root       sys              0 Mar 29 18:27 pvg_lock
-rw-------   1 root       sys         152576 Apr  2 15:34 tempvg.conf
-rw-------   1 root       sys         152576 Apr  2 15:34 tempvg.conf.old
-rw-------   1 root       sys          45056 Jun 10 12:03 vg00.conf
-rw-------   1 root       sys          45056 Jun  5 09:55 vg00.conf.old
-rw-r--r--   1 root       sys             78 Jun 10 12:03 vg00.mapfile
-rw-------   1 root       sys         672768 Aug 20 11:32 vg02.conf
-rw-------   1 root       sys          39936 Aug 20 11:27 vg02.conf.old
-rw-------   1 root       sys        1006592 Apr 14 17:32 vg06.conf
-rw-------   1 root       sys        1006592 Apr 14 17:29 vg06.conf.old
-rw-r--r--   1 root       sys            298 Jun 10 12:03 vg06.mapfile
#
# vgcfgrestore -l -v -n vg02
Volume Group Configuration information in "/etc/lvmconf/vg02.conf"
VG Name /dev/vg02
 ---- Physical volumes : 8 ----
      PV         Type         Size (kb)          Start (kb)   PVkey
     c26t1d0   Non-Boot      209715200           8640        0
     c20t1d0   Non-Boot      209715200           8640        0
     c39t1d0   Non-Boot      209715200           8640        0
     c37t1d0   Non-Boot      209715200           8640        0
     c26t1d1   Non-Boot       52428800           8640        1
     c20t1d1   Non-Boot       52428800           8640        1
     c39t1d1   Non-Boot       52428800           8640        1
     c37t1d1   Non-Boot       52428800           8640        1

max_pv 16  max_pe 65335 max_lv 255 vg_version 1.0
# vgcfgrestore -l -v -n vg06
Volume Group Configuration information in "/etc/lvmconf/vg06.conf"
VG Name /dev/vg06
 ---- Physical volumes : 28 ----
      PV         Type         Size (kb)          Start (kb)   PVkey
     c20t0d1   Non-Boot      209715200           4352        5
     c26t0d1   Non-Boot      209715200           4352        5
      c3t0d1   Non-Boot      209715200           4352        5
      c5t0d1   Non-Boot      209715200           4352        5
     c20t0d2   Non-Boot     1048576000           4352        0
     c26t0d2   Non-Boot     1048576000           4352        0
      c3t0d2   Non-Boot     1048576000           4352        0
      c5t0d2   Non-Boot     1048576000           4352        0
     c20t0d3   Non-Boot     1048576000           4352        1
     c26t0d3   Non-Boot     1048576000           4352        1
      c3t0d3   Non-Boot     1048576000           4352        1
      c5t0d3   Non-Boot     1048576000           4352        1
     c20t0d4   Non-Boot     1048576000           4352        2
     c26t0d4   Non-Boot     1048576000           4352        2
      c3t0d4   Non-Boot     1048576000           4352        2
      c5t0d4   Non-Boot     1048576000           4352        2
     c20t0d5   Non-Boot      524288000           4352        3
     c26t0d5   Non-Boot      524288000           4352        3
      c3t0d5   Non-Boot      524288000           4352        3
      c5t0d5   Non-Boot      524288000           4352        3
     c20t0d6   Non-Boot       26214400           4352        4
     c26t0d6   Non-Boot       26214400           4352        4
      c3t0d6   Non-Boot       26214400           4352        4
      c5t0d6   Non-Boot       26214400           4352        4
     c26t0d7   Non-Boot      104857600           4352        6
     c20t0d7   Non-Boot      104857600           4352        6
      c3t0d7   Non-Boot      104857600           4352        6
      c5t0d7   Non-Boot      104857600           4352        6

max_pv 16  max_pe 31999 max_lv 255 vg_version 1.0
# vgcfgrestore -l -v -n vg00
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
 ---- Physical volumes : 1 ----
      PV         Type         Size (kb)          Start (kb)   PVkey
    disk2_p2   Bootable      292006912           2912        0

max_pv 16  max_pe 4465 max_lv 255 vg_version 1.0

 

 

Thanks.

 

Regards,

 

FrogIsDeaf
Please use plain text.
Valued Contributor
DeafFrog
Posts: 294
Registered: ‎02-25-2009
Message 12 of 12 (1,012 Views)

Re: vgdisplay: Warning: couldn't query physical volume

Hi ,

 

The solution that worked out in this case , provided by cc :

 

1.take backup of lvmtab

2.Vgreduce -l vg06 /dev/dsk/c39t0d7 (option "l" worked , previously we were doing simply vgreduce , this need to be done of all the device file that were showing in the error )

3.Vgextend /dev/vg06  /dev/dsk/c39t0d7  ( on all the link shown in error)

4.followed by a vgscan to recreate the lvmtab .

 

Thanks ,Trosten for all the help.

 

Regards,

FrogIsDeaf
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation