SCSI error: return code = 0x08000002 - Sense Key: Illegal Request
Environment
- Red Hat Enterprise Linux (RHEL)
Issue
The following messages are showing up in the log files
kernel: sd 2:0:0:2: [sdf] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
kernel: sd 2:0:0:2: [sdf] Sense Key : Illegal Request [current]
Resolution
Reach out to storage vendor or concerned support team responsible for storage to determine why the IO is being rejected by the SAN. Once reason is clear why IO is rejected then it will easier to understand and fix issue.
Root Cause
- Sense Keys are messages generated by the storage target
- These messages indicate that the server successfully submitted the IO to the target, but the target REJECTED our IO request with an error message.
- This /may/ indicate that the LUNS have been unzoned from the system, but the system was not aware.
-
From the SCSI specification's description of this sense key:
Sense Key 5h ILLEGAL REQUEST. Indicates that there was an illegal parameter in the command descriptor block or in the additional parameters supplied as data for some commands (FORMAT UNIT, SEARCH DATA, etc.). If the target detects an invalid parameter in the command descriptor block, then it shall terminate the command without altering the medium. If the target detects an invalid parameter in the additional parameters supplied as data, then the target may have already altered the medium. This sense key may also indicate that an invalid IDENTIFY message was received.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
