{
  "slug": "scsi-task-aborted",
  "term": "SCSI TASK ABORTED",
  "aliases": [
    "TASK ABORTED",
    "SAM_STAT_TASK_ABORTED"
  ],
  "definition": "TASK ABORTED is SCSI status 40h reporting termination under the architecture's task-abort notification rules.",
  "note": "This is a command-status value, not the ABORTED COMMAND sense key 0Bh. Linux v6.12 defines the two in separate constant groups. [linux-abort-fields]\n\nThe cited Control mode page describes TAS=1 reporting for tasks aborted by actions on a different initiator-target nexus from the one that received the command. TAS=0 suppresses the response for the aborted task; it does not establish that no other notification can occur. Do not expect every cancellation to produce this status. [seagate-abort]\n\nThe pinned sg3_utils v1.46 manual assigns decimal process exit 29 to TASK ABORTED. That exit value is neither hexadecimal status 40h nor a sense key. Keep the field name and utility version with a captured number. [sg-abort-exits]",
  "limitations": [
    "The status alone is insufficient evidence of a physical media fault or of unchanged data."
  ],
  "related": [
    "scsi-aborted-command",
    "scsi-check-condition",
    "scsi-sense-key",
    "initiator-target",
    "scsi-persistent-reservations"
  ],
  "citations": [
    {
      "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"
    }
  ],
  "status": "shipping",
  "advantages": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-11"
}
