- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Translate device hex to cXtYdZ
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
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
тАО08-13-2009 09:28 AM
тАО08-13-2009 09:28 AM
Anyone remember?
Wanting to tranalste the error message to pinpoint the exact device. Here's the error message:
SCSI: Unexpected Disconnect -- lbolt: 1578226975, dev: 1f894000, io_id: 897afda9
SCSI: Unhandled phase mismatch -- lbolt: 1578226975, dev: 1f894000
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 09:38 AM
тАО08-13-2009 09:38 AM
Re: Translate device hex to cXtYdZ
The device format is: MMBBTLFF
Where : MM = Major number
BB = Bus number
T = Target
L = LUN
FF = Flags
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 09:40 AM
тАО08-13-2009 09:40 AM
Re: Translate device hex to cXtYdZ
ll /dev/dsk |grep 894000
Cheers!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 09:40 AM
тАО08-13-2009 09:40 AM
SolutionLooks like your assumption is correct and this is a /dev/dsk device. /dev/rdsk would have a different major number (off the top of my head, maybe 205 or thereabouts in decimal?).
The rest (894000) is the minor device number, whuch can be used as-is because HP-UX convention is to always display the minor numbers in hex, with a "0x" prefix.
The command:
ll /dev/dsk | grep 0x894000
should easily find the device.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 09:41 AM
тАО08-13-2009 09:41 AM
Re: Translate device hex to cXtYdZ
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 09:41 AM
тАО08-13-2009 09:41 AM
Re: Translate device hex to cXtYdZ
dev: 1f894000
1f
Means it is the device class (DEC 31) -- lsdev|grep31 yields sdisk/disk -- so it is a disk device
894000 is the device major, minor, etc..
ls -l /dev/rdsk/*|grep 894000
yields the cXtYdZ of the disk device.