Tag Archives: SCSI

JSON Repository Format Update and now with SCSI Codes

Whenever I create databases with information like ESXi Versions, vCenter Versions or VMware's HCL I try make these available to be used for automation or in scripts. JSON is my data-type of choice but I figured that another structure might be easier to handle in some circumstances. This is why I've now created separate versions where it is now possible to access the information with keys.

Here is an example of the ESXi Releases JSON File, and the new V2:

Read more »

SCSI Sense Code Decoder OP Code Update

I've added a new feature to my online SCSI Sense Code Decoder. It is now possible to enter the Command that has been reported to be failed into the form. The command is displayed in the error message and can be important for troubleshooting:

The Command can be optionally entered in the form and will be translated:

Another small fix: Previously, Host Status and Sense Key fields were case sensitive and have to be entered in lower case. This requirement has been removed, you can now use lower or upper case letters.

The next feature I'm working on is to make the decoder to work with scripts to allow even better and faster troubleshooting. Any other feature requests are welcome.

VMware ESXi SCSI Sense Code Decoder

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.