- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvdisplay issue
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
Discussions
Discussions
Forums
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
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-06-2009 12:27 AM
тАО10-06-2009 12:27 AM
I had below error when executing the "pvdisplay" command after performing a logical volume group routines. Appreciate any help. Thanks!
********************************************
# pvdisplay /dev/disk/disk2_p2
pvdisplay: Warning: couldn't query physical volume "/dev/disk/disk2_p2":
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/vg00".
pvdisplay: Cannot display physical volume "/dev/disk/disk2_p2"
********************************************
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 12:31 AM
тАО10-06-2009 12:31 AM
Re: pvdisplay issue
i think
#pvdisplay /dev/disk/disk2
should work.
And does this disk is added in some vg (trrelevent though ;)
Currently I don have any server to check this out.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 12:58 AM
тАО10-06-2009 12:58 AM
Re: pvdisplay issue
This is one of your boot disks that the system is complaining about.
>>when executing the "pvdisplay" command after performing a logical volume group routines. <<
Please can you elaborate - performing what routines ?
Can the system see the disk :
ioscan -funNC disk
Is it still registered in the lvmtab :
strings /etc/lvmtab
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 12:59 AM
тАО10-06-2009 12:59 AM
Re: pvdisplay issue
when you issue this command:
vgdisplay -v
can you see this dev: "/dev/disk/disk2_p2"
if not , probably it is not used by LVM. need to create. .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 01:10 AM
тАО10-06-2009 01:10 AM
Re: pvdisplay issue
Thanks for the quick response. Ok here is the output when execute "vgdisplay -v vg00"
******************************************
vgdisplay: Warning: couldn't query physical volume "/dev/disk/disk2_p2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg00/datavol
LV Status available/syncd
LV Size (Mbytes) 0
Current LE 0
Allocated PE 0
Used PV 0
******************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 01:28 AM
тАО10-06-2009 01:28 AM
Re: pvdisplay issue
>>LV Size (Mbytes) 0
>>Current LE 0
>>Allocated PE 0
>>Used PV 0
These output are showing 0, did you check with diskinfo command for this disk?
Hi,
These docs is reffer by When_Good_Disks_Go_Bad_WP.pdf doc.
These are the methods to check the disk is bad or good
# ioscan -fCdisk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
disk 1 8/4.8.0 sdisk UNCLAIMED UNKNOWN SEAGATE ST34572WC
disk 2 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5401TA
Note:Only disks in state CLAIMED are currently accessible by the system. Disks in other states such as NO_HW or disks that are completely missing from the ioscan output are suspicious.
In this example, the disk at hardware path 8/4.8.0 is not accessible.
# pvdisplay /dev/dsk/c1t2d3 | grep
"PV Status"
PV Status unavailable
Note:if the pvdisplay command is able to report a valid status (unavailable/available) for it. Otherwise, the disk is unattached
# diskinfo /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST34572WC
type: direct access
size: 0 Kbytes
bytes per sector: 512
Note:In this example the size is 0, so the disk is malfunctioning.
# dd if=/dev/rdsk/c1t3d0 of=/dev/null bs=1024k &
dd read error: I/O error
0+0 records in 0+0 records out
Note:If the disk is functioning properly, no I/O errors are reported.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2009 01:33 AM
тАО10-06-2009 01:33 AM
Re: pvdisplay issue
Can you post a ioscan -fn disk
(only post you root disks)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 06:00 PM
тАО10-07-2009 06:00 PM
Re: pvdisplay issue
Been able to get the "ioscan" output as below. I have another server with similar config. and it works fine. Thanks
*****************************************
# ioscan -fnNC disk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 4 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP Virtual
LvDisk
/dev/disk/disk4 /dev/rdisk/disk4
/dev/disk/disk4_p1 /dev/rdisk/disk4_p1
/dev/disk/disk4_p2 /dev/rdisk/disk4_p2
/dev/disk/disk4_p3 /dev/rdisk/disk4_p3
# pvdisplay /dev/disk/disk4_p2
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/disk/disk4_p2" belongs.
pvdisplay: Cannot display physical volume "/dev/disk/disk4_p2".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 06:51 PM
тАО10-07-2009 06:51 PM
Re: pvdisplay issue
Can you query the disk using diskinfo:
What do you see with:
# diskinfo -v /dev/rdisk/disk4
And :
#scsimgr get_info -D /dev/rdisk/disk4
It may be a problem with the disk / lun,
above needs to be verify. And when this disk causing problem.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2009 09:48 PM
тАО10-07-2009 09:48 PM
Re: pvdisplay issue
LvDisk
So it is a virtual machine using a LVOL based backing store.
Can you provide the configuration details from the host and guest (hpvmdisplay)?
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!