Logical block provisioning status
Logical block provisioning status describes the mapping state reported for an extent of SCSI logical block addresses.
The reviewed sg3_utils decoder distinguishes 0 (mapped or unknown), 1 (deallocated), 2 (anchored), 3 (mapped) and 4 (unknown). Code 0 is not definitive evidence of mapping, and nonzero is not a synonym for deallocated. [1]
Keep the reported extent, report type and status together. This is a logical-unit observation, not a filesystem free-space count or a backend capacity measurement.
Relations
Limitations
- Provisioning status and readback data answer different questions; interpreting one as the other loses information. [2]
Citations
- sg3_utils: provisioning-status decoder (commit 1929463554c5)
- Seagate SCSI Commands Reference, Rev. M: sections 3.4, 3.25.2, 3.58 and 5.4.13
Sources & caveats
- Status codes follow the pinned decoder; they are not a claim that every target supports every report type.