- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can not find disk for coresponding pv
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
07-04-2011 07:46 PM
07-04-2011 07:46 PM
hpux version: 11i v3 (11.31)
# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4332
VGDA 2
PE Size (Mbytes) 32
Total PE 4322
Alloc PE 2828
Free PE 1494
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2166g
VG Max Extents 69312
#> vgdisplay -v vg00
--- Physical volumes ---
PV Name /dev/disk/disk2_p2
PV Status available
Total PE 4322
Free PE 1494
Autoswitch On
Proactive Polling On
#>ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 0 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s3
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s1
disk 14 0/3/1/1.0.0 sdisk CLAIMED DEVICE HP 146 GMBA3147NC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 15 0/3/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GMBA3147NC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 17 0/3/1/1.4.0 sdisk CLAIMED DEVICE HP 146 GMBA3147NC
/dev/dsk/c1t4d0 /dev/rdsk/c1t4d0
disk 16 0/3/1/1.6.0 sdisk CLAIMED DEVICE HP 146 GMBA3147NC
/dev/dsk/c1t6d0 /dev/rdsk/c1t6d0
disk 4 255/1/0.0.0 sdisk CLAIMED DEVICE TEAC DVD-ROM DW-224EV
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
question:
1. why I can't find /dev/disk/disk2_p2 through ioscan as you can see from above result?
2. when I run: # pvcreate /dev/rdsk/c1t2d0
pvcreate: The physical volume already belongs to a volume group
How can I find which vg does this disk belong to? seeing from the vgdisplay, I can only find vg00, and though vgdisplay -v vg00, I can only find /dev/disk/disk2_p2 is used. How to know which vg used /dev/rdsk/c1t2d0 ?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 08:00 PM
07-04-2011 08:00 PM
Re: can not find disk for coresponding pv
# vgscan -v
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vgping".
/dev/vg00
/dev/disk/disk2_p2
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/c1t0d0
/dev/dsk/c1t2d0
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/c1t4d0
The Volume Group /dev/vgping was not matched with any Physical Volumes.
Scan of Physical Volumes Complete.
Couldn't stat physical volume "/dev/dsk/c2t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c3t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c1t6d0":
Invalid argument
Scan of Physical Volumes Complete.
I run vgscan -v, it seems there's another vg named vgping existed on the system. How can I make it available or removed it cleanly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2011 10:12 PM
07-04-2011 10:12 PM
SolutionUse
# ioscan -m dsf
and you will find the legacy device file for /dev/disk/disk2_p2.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 05:26 PM
07-05-2011 05:26 PM
Re: can not find disk for coresponding pv
Hi Torsten,
Thank you very much!!!