HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Device File Definition
Operating System - HP-UX
1833777
Members
2064
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-07-2001 10:56 AM
05-07-2001 10:56 AM
Device File Definition
Could someone please tell me the correct range of numbers that can be used in each of the fields of a device file? Are there any numbers that are excluded from use?
Instance number of the interface card c0 to ??
SCSI target address t0 to 15?
Device number d0 to 7?
Instance number of the interface card c0 to ??
SCSI target address t0 to 15?
Device number d0 to 7?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2001 11:59 AM
05-07-2001 11:59 AM
Re: Device File Definition
Well I hope this helps get you started.
First c# is the card instance (controller) for the ext_bus class of the interface card to which the disk is attached. The instance of a device adapter is unique for its specific class. Each separate physical disk controller will have a unique controller number
..the t# is the address of the device on the interface or target address. Typically the t# is the address set with jumpers or dip switches on the device itself. Each dis, on a SCSI, has its unique targer number.
..the d# is the device unit number (LUN) and can range from 0-7 (or 0-15 for fast wide SCSI). Note on single 7 to 0 with 7 (highest priority) reserved for the adapter itself and 14 to 8 (lowest priority).
An example:
/dev/dsk/c0t6d0 - block special file for disk 6 at controller 0.
/dev/dsk/c2t6d1 - block special file for LUN 1 on target (disk) 6 on the 3rd disk controller. Remember 0 can account for the first controller.
/rcw
First c# is the card instance (controller) for the ext_bus class of the interface card to which the disk is attached. The instance of a device adapter is unique for its specific class. Each separate physical disk controller will have a unique controller number
..the t# is the address of the device on the interface or target address. Typically the t# is the address set with jumpers or dip switches on the device itself. Each dis, on a SCSI, has its unique targer number.
..the d# is the device unit number (LUN) and can range from 0-7 (or 0-15 for fast wide SCSI). Note on single 7 to 0 with 7 (highest priority) reserved for the adapter itself and 14 to 8 (lowest priority).
An example:
/dev/dsk/c0t6d0 - block special file for disk 6 at controller 0.
/dev/dsk/c2t6d1 - block special file for LUN 1 on target (disk) 6 on the 3rd disk controller. Remember 0 can account for the first controller.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2001 05:12 AM
06-08-2001 05:12 AM
Re: Device File Definition
The ioscan addressing points to a particular slot that your adaptor cards are physically located in.
The c comes from the instance no in the ioscan -fnk and identifies in which order the cards were detected by the installed kernel.
c numbers newer change unless you reinstall.
Usually they are in numeric order... but in either case unless Fibre Channel complicates things they identify a controller card.
The t is scsi id or fibre channel hex converted target. It identifies an element connected to the controller bus. Remember the controller is an element also and usually with the busses highest priority of 7 for scsi.
The d is disk/device and can either be a lun, 0-7 but for an individual disk will always be 0. When a lun or harware raid configuration is seen behind an addressable controller, the lun number identifies the d in the device file.
best way to interpret the addressing is to print out an ioscan:
ioscan -fnk |lp -onb -o12 -olandscape
walk behind your server and draw cableing out.
The match the ioscan output to the devices.
Later,
Bill
The c comes from the instance no in the ioscan -fnk and identifies in which order the cards were detected by the installed kernel.
c numbers newer change unless you reinstall.
Usually they are in numeric order... but in either case unless Fibre Channel complicates things they identify a controller card.
The t is scsi id or fibre channel hex converted target. It identifies an element connected to the controller bus. Remember the controller is an element also and usually with the busses highest priority of 7 for scsi.
The d is disk/device and can either be a lun, 0-7 but for an individual disk will always be 0. When a lun or harware raid configuration is seen behind an addressable controller, the lun number identifies the d in the device file.
best way to interpret the addressing is to print out an ioscan:
ioscan -fnk |lp -onb -o12 -olandscape
walk behind your server and draw cableing out.
The match the ioscan output to the devices.
Later,
Bill
It works for me (tm)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP