VMware Cloud Community
dandandongdong
Contributor
Contributor

What does this error code mean?

Hi,

Does anyone know what is the problem does the error code mean?

SAS storaged is tested.

when running IO in ESXi5 hosts, many errors reported in /var/log/vmkernel.log:

2012-02-29T12:26:56.289Z cpu2:8604)ScsiDeviceIO: 2316: Cmd(0x4124403a3980) 0x12, CmdSN 0x342e to dev "naa.6005076b0740e4ff4f3ffec600000069" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.309Z cpu2:8604)ScsiDeviceIO: 2316: Cmd(0x4124403a3980) 0x12, CmdSN 0x3430 to dev "naa.6005076b0740e4ff4f39ca350000003e" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.329Z cpu0:8571)ScsiDeviceIO: 2316: Cmd(0x4124003c3b80) 0x12, CmdSN 0x3432 to dev "naa.6005076b0740e4ff4f4002ba00000073" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.346Z cpu3:2842)ScsiDeviceIO: 2316: Cmd(0x4124403bd3c0) 0x12, CmdSN 0x3434 to dev "naa.6005076b0740e4ff4f3dbc8b0000004f" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.363Z cpu1:2049)ScsiDeviceIO: 2316: Cmd(0x4124003b1680) 0x12, CmdSN 0x3436 to dev "naa.6005076b0740e4ff4f3da62500000047" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.379Z cpu1:8571)ScsiDeviceIO: 2316: Cmd(0x4124003b1680) 0x12, CmdSN 0x3438 to dev "naa.6005076b0740e4ff4f3dc1b400000054" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.399Z cpu2:8604)ScsiDeviceIO: 2316: Cmd(0x4124403b1440) 0x12, CmdSN 0x343a to dev "naa.6005076b0740e4ff4f3dbe6d00000051" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.
2012-02-29T12:26:56.419Z cpu0:2052)ScsiDeviceIO: 2316: Cmd(0x4124003a9e40) 0x12, CmdSN 0x343c to dev "naa.6005076b0740e4ff4f3da4c100000044" failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.

whtat is the code 0x0 D:0x2 P:0x0 mean?

and whis the sense data 0x5 0x24 0x0 mean?

Many thanks for your help.

0 Kudos
3 Replies
vGuy
Expert
Expert

There seems to be a check condition on your device i.e LUN.

Host Status = 0x0 = OK
Device Status = 0x2 = Check Condition
Plugin Status = 0x0 = OK

reference: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&e...

The additional valid sense data 0x5 0x24 0x0 denotes:

Illegal Request - invalid field in CDB (Command Descriptor Block)


reference: http://en.wikipedia.org/wiki/KCQ

some more articles that maybe of your assistance:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=102903...

http://communities.vmware.com/thread/17809

dandandongdong
Contributor
Contributor

I still do not quite understand the error code.

Whether it should be correct or ignore?

Thanks.

0 Kudos
vGuy
Expert
Expert

You may find some more info related to the error on the below url (Pg. 36):

http://www.t10.org/cgi-bin/ac.pl

My suggestion would be to do more investigation prior deciding on ignoring them completely. Some of the things I think you can start with are:

--> check for any relevant errors on your Storage array that could provide more info.

--> Ensure your HBAs are at the latest firmware

--> Both the ESXi hosts and the Storage are configured according to vendor best practices.

--> If it's occurring on a particular host, try to reboot the host and see if the error goes away.

--> Finally, provide more info to the community on your Storage setup, so someone with more expertise can assist.

HTH...

0 Kudos