scsi-unmap · shipping

SCSI UNMAP

A SCSI command that requests deallocation of specified logical block ranges.

UNMAP belongs to SCSI logical block provisioning. ATA TRIM is a related capability, not a SCSI command name. SCSI WRITE SAME can also request unmapping, so deallocation is not limited to the UNMAP opcode. Consult the target's provisioning capabilities and command documentation before interpreting readback. GET LBA STATUS reports the resulting logical provisioning view; it is separate from issuing UNMAP. [3]

Relations

related
Discard, TRIM, Serial Attached SCSI (SAS), UNMAP, Thin provisioning, Deallocated read behavior, SCSI GET LBA STATUS, Logical block provisioning status, SCSI LBPRZ, SCSI WRITE SAME

Limitations

  • Issuing UNMAP is destructive and must not be treated as a harmless capability probe. [1]

Citations

  1. sg3_utils: sg_unmap manual, description (accessed 2026-10-11)
  2. Seagate SCSI Commands Reference, Rev. M: sections 3.4, 3.25.2, 3.58 and 5.4.13 (accessed 2026-10-21)

Further reading

  1. Hesela: Discard is not zeroing (accessed 2026-10-11)

JSON: /data/terms/scsi-unmap.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. SCSI UNMAP. Hesela. 2026-11-09. https://hesela.dev/terms/scsi-unmap/