Operating System - HP-UX
1834741 Members
3561 Online
110070 Solutions
New Discussion

How to translate device ID to cXtYdZ from SCSI Error Message

 
SOLVED
Go to solution
Alzhy
Honored Contributor

How to translate device ID to cXtYdZ from SCSI Error Message

I am getting this message from SYSLOG:

SCSI: Async write error -- dev: b 3 0x460400, errno: 5, resid: 262144

Anyone knows how to translate this so I can pinpoint what SCSI device this is.. ie. what cXtYdZ if it is disk?

Hakuna Matata.
4 REPLIES 4
John Poff
Honored Contributor

Re: How to translate device ID to cXtYdZ from SCSI Error Message

Hi,

Here is a previous thread that discusses how to translate them:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=237670

JP
Alzhy
Honored Contributor

Re: How to translate device ID to cXtYdZ from SCSI Error Message

Thanks John but the errors above are not lbolt and does not seem to relate directly to the other thread.
Hakuna Matata.
Geoff Wild
Honored Contributor
Solution

Re: How to translate device ID to cXtYdZ from SCSI Error Message

Try this:

How to decode those device numbers

e.g 0x1f0d0700

The first 2 hex digits (1fhex - 31decimal) indicate the major device number. Do an lsdev and look for "31". You will find that major block device 31 is SCSI disk. Thus this is a /dev/dsk device node.

The next 2 hex digits (0dhex - 13 decimal) indicate the bus "instance" number or controller number; "c13" in this case.

The next hex digit (0) indicates the SCSI ID or target. "t0" in this case.

The next hex digit (7) indicates the LUN (d7) in this case.

The remaining 2 hex digits are device driver specific.

In summary, 0x1f0d0700 decodes to
/dev/dsk/c13t0d7.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Alzhy
Honored Contributor

Re: How to translate device ID to cXtYdZ from SCSI Error Message

Geoff,
Thanks.


Hakuna Matata.