- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvcreate Warning: couldn't query physical volu...
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
06-11-2007 07:07 AM
06-11-2007 07:07 AM
pvcreate Warning: couldn't query physical volume
I have two systems connecting to a StorageWorks DS2405 to JBODs. Setup in a Private Loop, both see the same disks.
I setup volume group tsdm1a on system A, vexport -p -m, and tried to import it on system B. It failed so I stop at this point.
Later, I had to reboot system A. Now I can't do a vgchange on tsdm1a. I tried to do a vgcfgrestore, no success.
I managed to find the VGID on the pv it supposedly can't query and inserted it in my tsdm1a.map. I managed to import my VG but I still get the same error with the vgchange:
tspmtl01:[/usr/contrib/bin]#vgchange -a y tsdm1a
vgchange: Warning: couldn't query physical volume "/dev/dsk/c6t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c7t2d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "tsdm1a":
Quorum not present, or some physical volume(s) are missing.
Pvdisplay of the pv give this:
tspmtl01:[/usr/contrib/bin]#pvdisplay -v /dev/dsk/c6t2d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c6t2d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c7t2d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/tsdm1a".
pvdisplay: Cannot display physical volume "/dev/dsk/c6t2d0".
You have mail in /var/mail/root
tspmtl01:[/usr/contrib/bin]#
As you might have guessed, c6t2d0 and c7t2d0 are the same disk (seen via two paths).
I can see the disk through ioscan as CLAIMED. The "dd to null" command works fine on this disk.
I am running on two L3000 with HP-UX 11.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 08:01 AM
06-11-2007 08:01 AM
Re: pvcreate Warning: couldn't query physical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 08:20 AM
06-11-2007 08:20 AM
Re: pvcreate Warning: couldn't query physical volume
I do see the proper devices for my vg when I strings the lvmtab file. Here is an excerpt:
tspmtl01:[/var/VRTSvcs/log]#strings /etc/lvmtab
/dev/vg00
...
...
/dev/tsdm1a
/dev/dsk/c6t2d0
/dev/dsk/c7t2d0
...
...
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:43 PM
06-11-2007 12:43 PM
Re: pvcreate Warning: couldn't query physical volume
In your case, may be the path has problem when the volume group doesn't active.
To solve it, just active the pv again:
#pvchange -a y /dev/dsk/c6t2d0
Then you can active the volume group.
#vgchange -a y tsdm1a
Once more:
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA1163800&forumId=1
You should assign some points to who takes time help you
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:44 PM
06-11-2007 12:44 PM
Re: pvcreate Warning: couldn't query physical volume
Please show me the result...
Goodluck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 03:17 PM
06-11-2007 03:17 PM
Re: pvcreate Warning: couldn't query physical volume
Please check do we have valid configuration backup under /etc/lvmconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2007 02:20 AM
06-12-2007 02:20 AM
Re: pvcreate Warning: couldn't query physical volume
Since you've already rebooted the server and if you have preserved the mapfiles for /dev/tsdm1a, I would say try creating another test vg and try importing to the new one. If you have preserved any old dated map files try using them.
Before you even try this make an attempt to
#vgchange -a n /dev/tsdm1a
For exporting mapfiles use: #vgexport
-p -s -m /dev/tsdm1as.map /dev/tsdm1a
and for importing use #vgimport
-s -m /dev/tsdm1as.map /dev/tsdm1a
#vgchange -a y /dev/tsdm1a
#strings /etc/lvmtab
-Srini