In this article
The NVMe sanitize log reports status associated with the most recent operation. libnvme defines SPROG as progress during an in-progress operation and specifies its all-ones value outside that state. That progress value alone is therefore not a universal success signal.
A sanitize request is accepted, and an asset record immediately declares the SSD sanitized. Another collector sees a full-looking progress value without checking status. Command acceptance, log interpretation and attribution to the intended operation must remain separate before recording a completed media outcome.
The hardware contract
The NVMe sanitize log reports status associated with the most recent operation. libnvme defines SPROG as progress during an in-progress operation and specifies its all-ones value outside that state. That progress value alone is therefore not a universal success signal.
Read SSTAT under the supported format and preserve completed, in-progress, failed and never-sanitized meanings. Keep status bits and command information rather than reducing the entire log to one percentage. A successfully retrieved log is also different from a successfully completed sanitize operation.
Implementation details
Bind the operation evidence to the actual controller or subsystem identity, requested technique and observation timeline. Preserve pre-operation context where available so a historical successful status cannot automatically certify a new request whose result remains unobserved. A fast operation need not be observed in progress, but its completion claim still needs a justified relation to the intended action.
Pin nvme-cli syntax to the installed version: current documentation describes nvme log sanitize, while sanitize-log is retained as a deprecated alias. Tool naming does not change the need to inspect device status. This article does not issue a sanitize command. It reviews existing evidence and keeps command submission, log retrieval and accepted disposition as distinct stages.
A constructed acceptance test
Use log fixtures with the same outside-progress sentinel but different status outcomes. The checker must distinguish success from failure or never-sanitized state instead of accepting the sentinel as complete. Add an in-progress control and a failed log query.
Then provide an old successful log alongside a newly accepted request with no attributable final observation. The report should retain the new outcome as unconfirmed. Compare device identity, command context and supported status interpretation, not only command exit code. A positive fixture includes sufficient scoped completion evidence. This validates the evidence checker without erasing a real device or asserting that the selected technique satisfies every disposition requirement.
Recovery and limits
Completed device status is one verification input, not an automatic sanitization certificate for every data scope. Validate technique applicability and the intended disposition separately. Keep unavailable or contradictory evidence unresolved and retain the full attributable record. A later successful attempt must not rewrite an earlier accepted-but-unconfirmed request. The useful result states which operation completed on which device and what additional validation supports the media-handling claim, without treating progress presentation as proof.
Primary references
nvme-cli sanitize log reference; Libnvme Types.
This is a proposed acceptance procedure, not an executed Retrivium test. Preserve the observed implementation version and unresolved outcomes; the documentation does not certify a particular device or establish its remaining service life.
Related reading
Verify the selected scope of a Redfish decommission result; Interpret NVMe error-log entries before counting media failures.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.