- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- identifying disk from pv name
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
11-22-2007 09:43 PM
11-22-2007 09:43 PM
Under vgdispplay for vg00 the disk is showing as /dev/disk/disk981_p2
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk981_p2
ioscan ouput for disks
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
disk 1 0/0/0/2/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-
170A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 3 1/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 4 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c6t6d0 /dev/rdsk/c6t6d0
# pvdisplay /dev/disk/disk981_p2
--- Physical volumes ---
PV Name /dev/disk/disk981_p2
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 32
Total PE 4347
Free PE 891
Allocated PE 3456
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
I want to do the mirroring using the second disk. So i want to know from which disk is being used for vg00. Is /dev/disk/disk981_p2 an alias & if its so how do i find it out
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 09:53 PM
11-22-2007 09:53 PM
Re: identifying disk from pv name
The vgdisplay -v vg00 will give you the details of disk been used by vg00 volume group.
Check the "--- Physical volumes ---" section from that output.
Then from the "ioscan -fnkC disk" check the device that is different from that of one used by vg00 and that is not been utilized. Choose the device as the one for mirroring of root disk.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 10:17 PM
11-22-2007 10:17 PM
Re: identifying disk from pv name
its showing as
--- Physical volumes ---
PV Name /dev/disk/disk981_p2
PV Status available
Total PE 4347
Free PE 891
Autoswitch On
There is no disk as /dev/disk/disk981_p2 in the ioscan -fnkC disk
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
disk 1 0/0/0/2/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5
170A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 3 1/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c4t6d0 /dev/rdsk/c4t6d0
disk 4 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c6t6d0 /dev/rdsk/c6t6d0
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 10:32 PM
11-22-2007 10:32 PM
Re: identifying disk from pv name
ls -l /dev/disk/disk981_p2
and
ls -l /dev/dsk
maybe the minor numbers will be helpfull.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 10:37 PM
11-22-2007 10:37 PM
Re: identifying disk from pv name
What happens when you run the vgscan. After running them do you now see the physical volume information in "vgdisplay -v". While installing what H/W path did you give?
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 10:55 PM
11-22-2007 10:55 PM
Re: identifying disk from pv name
a quick guess would be this one
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
as with itaniums the root disk has to be partitioned into 3 parts and this is the only disk your showing that has
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 11:37 PM
11-22-2007 11:37 PM
Re: identifying disk from pv name
# ioscan -m dsf
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
11-22-2007 11:39 PM
11-22-2007 11:39 PM
Re: identifying disk from pv name
brw-r----- 1 bin sys 3 0x000099 Sep 6 12:24 /dev/disk/disk981
_p2
# ls -l /dev/dsk |grep -i 0x000099
#
there is no output in ls -l /dev/dsk with the same minor number
I also think it should be
disk 0 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
But want to understand why it is showing up as /dev/disk/disk981_p2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2007 11:58 PM
11-22-2007 11:58 PM
Solutiontry running this command or your disk981_p2
# ioscan -m dsf /dev/disk/disk981_p2
it should display the older device special files, aswell as the newer naming convention.
you might want to read this doc and others on the new naming convention of lvm
http://docs.hp.com/en/LVMmigration1/LVM_Migration_to_Agile.pdf
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2007 01:03 AM
11-23-2007 01:03 AM
Re: identifying disk from pv name
ioscan -m dsf /dev/disk/disk981_p2
Thanks everybody for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2007 01:14 AM
11-23-2007 01:14 AM