SCSI ABORTED COMMAND
ABORTED COMMAND is SCSI sense key 0Bh indicating that the device server aborted the command.
T10 assigns this name to sense key Bh, not command status 40h (TASK ABORTED). Interpret the key with its ASC/ASCQ pair, command and received sense format. The category alone does not identify a failed component. [1] [2]
Retry may recover an aborted command; the cited reference does not promise that it will. Decide from the command and additional sense information rather than treating the word aborted as a universal retry instruction. [3]
The pinned sg3_utils v1.46 manual documents decimal process exit 11 for this category, with 40/41 for the ASC=10h protection-information subclass; 41 additionally reports valid Information. These are utility exit categories, not a conversion of sense bytes to an exit number. [4]
The v1.46 sg_err_category_sense API does not return category 41. Its protection category 40 alone therefore does not establish that Information is invalid; retain the sense buffer and caller identity. [6] Four synthetic offline inputs in the linked capture confirm this distinction for Ubuntu package 1.46-3ubuntu4.1; these are library calls, not device observations. [7]
Relations
- related
- SCSI TASK ABORTED, SCSI sense key, SCSI CHECK CONDITION, Additional sense code, Additional sense code qualifier, SCSI Information field, Protection information (PI)
Limitations
- A sense key is not a complete diagnosis; retain the additional sense codes and command context.
Citations
- T10: SCSI sense-key assignments
- Linux v6.12: separate SAM status and sense-key constants
- Seagate SCSI Commands Reference Rev. M (June 2022): sense keys p. 59 and TAS p. 465
- sg3_utils v1.46: documented decimal exit categories 11, 29, 40 and 41
- sg3_utils v1.46: sense-category function and categories that it does not return
- Hesela: four synthetic native-library sense-category observations, with bytes and binary hash