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
- sg3_utils: sg_unmap manual, description
- Seagate SCSI Commands Reference, Rev. M: sections 3.4, 3.25.2, 3.58 and 5.4.13