{
  "slug": "scsi-aborted-command",
  "term": "SCSI ABORTED COMMAND",
  "aliases": [
    "ABORTED COMMAND",
    "ABORTED_COMMAND"
  ],
  "definition": "ABORTED COMMAND is SCSI sense key 0Bh indicating that the device server aborted the command.",
  "note": "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. [t10-abort-key] [linux-abort-fields]\n\nRetry 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. [seagate-abort]\n\nThe 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. [sg-abort-exits]\n\nThe 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. [sg-abort-category] 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. [hesela-abort-observation]",
  "limitations": [
    "A sense key is not a complete diagnosis; retain the additional sense codes and command context."
  ],
  "related": [
    "scsi-task-aborted",
    "scsi-sense-key",
    "scsi-check-condition",
    "additional-sense-code",
    "additional-sense-code-qualifier",
    "scsi-information-field",
    "protection-information"
  ],
  "citations": [
    {
      "id": "t10-abort-key",
      "title": "T10: SCSI sense-key assignments",
      "url": "https://www.t10.org/lists/2sensekey.htm",
      "accessed": "2026-11-11"
    },
    {
      "id": "linux-abort-fields",
      "title": "Linux v6.12: separate SAM status and sense-key constants",
      "url": "https://github.com/torvalds/linux/blob/adc218676eef25575469234709c2d87185ca223a/include/scsi/scsi_proto.h",
      "accessed": "2026-11-11"
    },
    {
      "id": "seagate-abort",
      "title": "Seagate SCSI Commands Reference Rev. M (June 2022): sense keys p. 59 and TAS p. 465",
      "url": "https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068m.pdf",
      "accessed": "2026-11-11"
    },
    {
      "id": "sg-abort-exits",
      "title": "sg3_utils v1.46: documented decimal exit categories 11, 29, 40 and 41",
      "url": "https://github.com/hreinecke/sg3_utils/blob/7e5b77563a46220512ddac6cde09fdfdc2daadcb/doc/sg3_utils.8",
      "accessed": "2026-11-11"
    },
    {
      "id": "hesela-abort-fields",
      "title": "Hesela: SCSI abort reports in different fields",
      "url": "https://hesela.com/analyses/scsi-sense-kernel-log-signatures/#abort-fields",
      "accessed": "2026-11-11"
    },
    {
      "id": "sg-abort-category",
      "title": "sg3_utils v1.46: sense-category function and categories that it does not return",
      "url": "https://github.com/hreinecke/sg3_utils/blob/7e5b77563a46220512ddac6cde09fdfdc2daadcb/include/sg_lib.h#L391-L470",
      "accessed": "2026-11-12"
    },
    {
      "id": "hesela-abort-observation",
      "title": "Hesela: four synthetic native-library sense-category observations, with bytes and binary hash",
      "url": "https://hesela.dev/research/scsi-abort-categories.json",
      "accessed": "2026-11-12"
    }
  ],
  "status": "shipping",
  "advantages": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-12"
}
