Tag Archives: SCSI

New Tool: Decoder for ESXi SCSI Sense Codes

scsi-sense-codeI've published a new tool that helps to quickly decode SCSI error codes displayed in vmkernel.log when something gone wrong. The tool uses an internal database to translates SCSI codes to human readable status information.

VMware ESXi SCSI Sense Code Decoder

Please do not hesitate to comment when there are any questions, or you've encountered an error with the decoder.

How does it work? Let's assume that your vmkernel.log shows the following error mesage:

2011-04-04T21:07:30.257Z cpu2:2050)ScsiDeviceIO: 2315: Cmd(0x4124003edb00) 0x12, CmdSN 0x51 to dev "naa.[...]" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.

Simply enter the colored hexadecimal numbers to the form and press Submit:
scsi-sense-decoder-howto

The result and a short description is displayed:
scsi-sense-decoder-result

When you've entered all information, you can copy the URL for future reference. You can find the above example here.