SCSI errors or warnings in ESXi are displayed with 6 status codes. This page converts these sense codes from ESXi Hosts to human readable status information. In the vmkernel.log system log file from an ESXi 5.x or 6.0 hosts, you see entries similar to the following. Enter the colored numbers to the form, or the full line from the vmkernel.log and press submit:
ScsiDeviceIO: [...] Cmd(0x439500ac0f80) 0x1a [...] to dev "naa.x" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
|Host Status||[0x0]||OK||This status is returned when there is no error on the host side. This is when you will see if there is a status for a Device or Plugin. It is also when you will see Valid sense data instead of Possible sense Data.|
|Device Status||[0x2]||CHECK_CONDITION||This status is returned when a command fails for a specific reason. When a CHECK CONDITION is received, the ESX storage stack will send out a SCSI command 0x3 (REQUEST SENSE) in order to get the SCSI sense data (Sense Key, Additional Sense Code, ASC Qualifier, and other bits). The sense data is listed after Valid sense data in the order of Sense Key, Additional Sense Code, and ASC Qualifier.|
|Plugin Status||[0x0]||GOOD||No error. (ESXi 5.x / 6.x only)|
|Sense Key||[0x5]||ILLEGAL REQUEST|
|Additional Sense Data||24/00||INVALID FIELD IN CDB|
|OP Code||0x1A||MODE SENSE(6)|