- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Drive path and device file
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
08-01-2007 07:10 AM
08-01-2007 07:10 AM
Drive path and device file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:12 AM
08-01-2007 07:12 AM
Re: Drive path and device file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:18 AM
08-01-2007 07:18 AM
Re: Drive path and device file
for ex. if drive path is known then the device file can be obtained as:
# ioscan -fnH 0/0/0/1.2.3
and if disk device file is known then the drive path can be obtained as:
# ioscan -f /dev/dsk/c#t#d#
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:20 AM
08-01-2007 07:20 AM
Re: Drive path and device file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:42 AM
08-01-2007 07:42 AM
Re: Drive path and device file
~thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:46 AM
08-01-2007 07:46 AM
Re: Drive path and device file
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
08-01-2007 07:48 AM
08-01-2007 07:48 AM
Re: Drive path and device file
1) ioscan -fn # to detect any new devices
2) insf # to create device nodes for any newly discovered devices
3) ioscan -C disk -fn and note each /dev/rdsk/cXtYdZ device node.
4) For each /dev/rdsk/cXtYdZ device do:
dd if=/dev/rdsk/cXtYdZ bs=256k count=2000 of=/dev/null and observe the drive LED's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 08:06 AM
08-01-2007 08:06 AM
Re: Drive path and device file
You can even get the information for the EFI path from an running HP-UX by using "ioscan -fne".
Example:
For your rx5670 the internal, upper left disk has
0/1/1/0/1/1.0.0
and
ACPI(HWP0002,100)/PCI(1|0)/PCI(1|1)/SCSI(Pun0,Lun0)
You will find the device file in the ioscan output too.
What path do you need?
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
08-01-2007 08:09 AM
08-01-2007 08:09 AM
Re: Drive path and device file
Can you post the output of ioscan -fnC disk
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 08:24 AM
08-01-2007 08:24 AM
Re: Drive path and device file
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
/dev/dsk/c0t2d0s1 /dev/rdsk/c0t2d0s1
/dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0s2
/dev/dsk/c0t2d0s3 /dev/rdsk/c0t2d0s3
disk 4 0/0/2/1.3.0 sdisk CLAIMED DEVICE HP DVD-ROM 30
5
/dev/dsk/c1t3d0 /dev/rdsk/c1t3d0
disk 1 0/1/1/0/1/1.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735N
C
/dev/dsk/c3t0d0 /dev/rdsk/c3t0d0
/dev/dsk/c3t0d0s1 /dev/rdsk/c3t0d0s1
/dev/dsk/c3t0d0s2 /dev/rdsk/c3t0d0s2
/dev/dsk/c3t0d0s3 /dev/rdsk/c3t0d0s3
disk 3 0/1/1/0/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735N
C
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
I need to know what physical disk correspond at what device file. All disk are internal.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 08:37 AM
08-01-2007 08:37 AM
Re: Drive path and device file
0/0/2/0.0 relates to /dev/dsk/c0t0d0
0/0/2/0.2.0 relates to /dev/dsk/c0t2d0
and so on...
The device files are directly under the listed hardware.
For the device files with cxtxdxs1-3 these are partions on the same disk. Typically seen with IPF systems for boot disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2007 07:31 PM
08-01-2007 07:31 PM
Re: Drive path and device file
0/0/2/0.2.0 lower right
0/1/1/0/1/1.0.0 upper left
0/1/1/0/1/1.2.0 upper right
Please read
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
too!
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!
