- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need Help (vgscan: Warning: couldn't query phy...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 12:38 AM
10-30-2009 12:38 AM
Need Help (vgscan: Warning: couldn't query physical volume "/dev/disk/disk9_p2")
Our rx6600 server is giving the below error message. Please help to fix it.
< root@: /root > [vi: (root) pts/1]
# lvlnboot -v vg00
lvlnboot: Couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
< root@2: /root > [vi: (root) pts/1]
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk9_p2
/dev/disk/disk14_p2
/dev/vgvmroot
/dev/dsk/c0t1d0
/dev/dsk/c0t6d0
/dev/vgvmrootdev
/dev/disk/disk12
< root@: /root > [vi: (root) pts/1]
< root@: /root > [vi: (root) pts/1]
# vgscan -v
vgscan: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query the list of physical volumes.
vgscan: The physical volume "/dev/dsk/c0t1d0" is already recorded in the "/etc/l vmtab" file.
vgscan: The physical volume "/dev/dsk/c0t6d0" is already recorded in the "/etc/l vmtab" file.
/dev/vgvmroot
/dev/dsk/c0t1d0
/dev/dsk/c0t6d0
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c0t7d0s2
/dev/vgvmrootdev
/dev/disk/disk12
vgscan: has no corresponding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg00 failed.
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c6t0d0
/dev/dsk/c7t0d0
/dev/dsk/c8t0d0
/dev/dsk/c9t0d0
/dev/dsk/c7t0d1
/dev/dsk/c6t0d1
/dev/dsk/c8t0d1
/dev/dsk/c9t0d1
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c6t0d2
/dev/dsk/c7t0d2
/dev/dsk/c8t0d2
/dev/dsk/c9t0d2
/dev/dsk/c7t0d3
/dev/dsk/c6t0d3
/dev/dsk/c8t0d3
/dev/dsk/c9t0d3
Scan of Physical Volumes Complete.
Couldn't stat physical volume "/dev/dsk/c0t4d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c0t5d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c1t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c10t0d0":
Invalid argument
Scan of Physical Volumes Complete.
< root@: /root > [vi: (root) pts/1]
#
# lvmadm -l -V 1.0
--- Version 1.0 volume groups ---
VG Name /dev/vg00
PV Name /dev/disk/disk9_p2
/dev/disk/disk14_p2
VG Name /dev/vgvmroot
PV Name /dev/dsk/c0t1d0
/dev/dsk/c0t6d0
VG Name /dev/vgvmrootdev
PV Name /dev/disk/disk12
## bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/root 1048576 192344 849584 18% /
/dev/vg00/stand 1835008 326824 1496488 18% /stand
/dev/vg00/var 30736384 7182400 23370056 24% /var
/dev/vg00/usr 5373952 2862848 2491544 53% /usr
/dev/vg00/tmp 2097152 407736 1676280 20% /tmp
/dev/vg00/opt 15368192 6008328 9286784 39% /opt
/dev/vg00/home 2097152 21208 2059736 1% /home
< root@: /opt/ignite/bin > [vi: (root) pts/1]
#
# vgdisplay -v vg00
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4347
Alloc PE 2043
Free PE 2304
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2178g
VG Max Extents 69696
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
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/vg00/stand
LV Status available/stale
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 112
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/swap
LV Status available/stale
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/root
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 64
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/home
LV Status available/stale
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 128
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/opt
LV Status available/stale
LV Size (Mbytes) 15008
Current LE 469
Allocated PE 938
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/tmp
LV Status available/stale
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 128
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/usr
LV Status available/stale
LV Size (Mbytes) 5248
Current LE 164
Allocated PE 328
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
LV Name /dev/vg00/var
LV Status available/stale
LV Size (Mbytes) 30016
Current LE 938
Allocated PE 1876
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk14_p2
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk9_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query the list of physical volumes.
PV Status available
Total PE 4347
Free PE 2304
Autoswitch On
Proactive Polling On
< root@ /opt/ignite/bin > [vi: (root) pts/1]
#
Please help
Thanks in advance
Gaby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 12:58 AM
10-30-2009 12:58 AM
Re: Need Help (vgscan: Warning: couldn't query physical volume "/dev/disk/disk9_p2")
Just check for ioscan -fnC disk confirm that all the disks are showing claimed. you can map the path (/dev/dsk/cxtxdx) using ioscan -m dsf command. Incase of disk failure please call up HP for replacing the disk.
Regards.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2009 09:09 AM
10-30-2009 09:09 AM
Re: Need Help (vgscan: Warning: couldn't query physical volume "/dev/disk/disk9_p2")
[/dev/disk/disk9_p2.]
As Sunil suggests, you need to do and ioscan to see it HPUX can see the bad disk. If so you can do a diskinfo /dev/rdisk/disk9_p2 and look at its size to see if you can read it. (a size of 0 is not good)
How to fix it will depend on what is wrong. Best case (e.g. disk is powered down or disconnected) you can just do a vgsync to re-sync the mirrors after you fix the problem. If you actually need to replace the disk, the steps are a little more involved. But again, because the lvols are mirrored, you can fix this without losing any data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2009 11:29 PM
11-01-2009 11:29 PM
Re: Need Help (vgscan: Warning: couldn't query physical volume "/dev/disk/disk9_p2")
Thanks for the response. Please find below the output and let me know if it is possible to remove /dev/disk/disk9_p2 entry from /etc/lvmtab.
# diskinfo /dev/rdisk/disk9_p2
diskinfo: can't open /dev/rdisk/disk9_p2: I/O error
< root@ > [vi: (root) pts/0]
#
# ioscan -fnC disk |grep -i no_hw
< root@ > [vi: (root) pts/0]
#
Thanks
Gaby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 01:28 AM
11-02-2009 01:28 AM
Re: Need Help (vgscan: Warning: couldn't query physical volume "/dev/disk/disk9_p2")
Why opening a new one?
Looks like a bad disk.
Please post
# sasmgr get_info -D /dev/sasd0 -q raid
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!
