- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with vg and pvdisplay.
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
01-21-2002 06:31 PM
01-21-2002 06:31 PM
Problem with vg and pvdisplay.
I've a K-Class machine connected to a EMC3330. Recently, someone accidentally switch off one of the SCSI channel at the EMC end and 1/2 of the path was gone. After I switch it on again, I could do diskinfo and ioscan show the correct number of devices again. But I started getting strange message from pvdisplay and vgdisplay. One example :
++++++++++++++++++++++++++++++++++++++++++++++
<> pvdisplay /dev/dsk/c2t0d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d1":
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/vgsap2".
pvdisplay: Cannot display physical volume "/dev/dsk/c2t0d0".
+++++++++++++++++++++++++++++++++++++++++++++++
Anyway I can rectify this or I have to do a reboot ?
Thanks
Lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 06:37 PM
01-21-2002 06:37 PM
Re: Problem with vg and pvdisplay.
Also, you aren't using powerpath are you?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 06:49 PM
01-21-2002 06:49 PM
Re: Problem with vg and pvdisplay.
Nope, all connectivity are still intact (else I won't be able to see all devices using ioscan) and I'm not using any EMC s/w, or Powerpath.
Lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 06:51 PM
01-21-2002 06:51 PM
Re: Problem with vg and pvdisplay.
Do you have alternate path configured on the box?
Try
#ioscan -fnC disk
#insf -e
#vgdisplay -v vgxx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 07:10 PM
01-21-2002 07:10 PM
Re: Problem with vg and pvdisplay.
Yes, I've alternate path and I was able to do ioscan and see all the devices, including those affected by the down path.
I've not tried insf -e, I thot it might not be useful since ioscan already produce the path.
Lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 07:20 PM
01-21-2002 07:20 PM
Re: Problem with vg and pvdisplay.
No harm trying insf -e.
You can try one more thing
#cp /etc/lvmtab /etc/lvmtab.bak
#vgscan
It will recreate your lvmtab file
Best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 07:33 PM
01-21-2002 07:33 PM
Re: Problem with vg and pvdisplay.
thanks. I think I'll try that when I can find appropriate downtime.
Lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 07:51 PM
01-21-2002 07:51 PM
Re: Problem with vg and pvdisplay.
A simple reboot *may* fix this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2002 08:58 PM
01-21-2002 08:58 PM
Re: Problem with vg and pvdisplay.
Maybe you it will be better if you move 'mv' /etc/lvmtab instead of copying 'cp' it. cp sometimes fails... i have always used 'mv' ad it never fails...
# mv /etc/lvmtab /etc/lvmtab.old
#vgscan -a
-Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 06:17 AM
01-22-2002 06:17 AM
Re: Problem with vg and pvdisplay.
If you find that you have complete connectivity (including alternate links) and the problem persists, try increasing the IO timeout as follows:
# pvchange -t 180 /dev/dsk/cXtYdZ
To see its current value, do:
# pvdisplay /dev/dsk/cXtYdZ
ALSO:
With regard to 'vgscan' and copying as opposed to moving the current file *before* running 'vgscan: You will note from the man pages that "If the /etc/lvmtab file exists, the information contained in the file is used to assist in rebuilding the file, but the existing file is updated with the new crected configuration.". Generally, one *moves* the current 'lvmtab' to 'lvmtab.old' before doing the 'vgscan'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 06:22 AM
01-22-2002 06:22 AM
Re: Problem with vg and pvdisplay.
Can you deactivate and activate the VG again. For all Vg's giving this problem, try,
vgchange -a n /dev/vg_name
then activate it,
vgchange -a y /dev/vg_name
Now do a vgdisplay,
vgdisplay -v /dev/vg_name
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2002 07:45 AM
01-22-2002 07:45 AM
Re: Problem with vg and pvdisplay.
vgchange -a y /dev/vg##
If you have software mirrors in the volume group. You will want to do a vgsync /dev/vg## but since you are using EMC you shouldn't have to do this.