HPA and DCO Explained: The Hidden Capacity a Wipe Must Unlock
HPA and DCO are drive settings that can make a hard drive or SSD report less capacity than it really has, so a wipe that trusts the reported size can stop short of the true end of the disk. IEEE Std 2883-2022 tells you to reset these limits, along with Accessible Max Address and similar settings, before a Clear on an ATA drive.[1] Purge commands work differently, but hidden capacity still matters for verification, validation and the record you keep.
Key facts
- IEEE 2883 lists HPA, DCO, Accessible Max Address, Zone Activation, Storage Element Depopulation and locked TCG ranges as settings to reset before ATA Clear.[1]
- A Clear by overwrite should run to the drive’s Native Max Address, not just to the size the operating system sees.[1]
- Clear is not appropriate for sensitive data because it need not reach nonaddressable locations.[3]
- Full verification cannot check areas the host interface cannot reach.[4]
- NIST asks organisations to get vendors to list any areas a sanitize command does not address.[8]
This guide expands on a point our comparison of ATA Sanitize vs ATA Secure Erase touched on briefly.
What are HPA and DCO, and where does Accessible Max Address fit?
The Host Protected Area (HPA) and Device Configuration Overlay (DCO) are features of the ATA command set, and IEEE 2883 points to ISO/IEC 17760-102:2016 for their definitions. Accessible Max Address (AMA) and Storage Element Depopulation are covered in INCITS 558-2021 (ACS-5), and Zone Activation in INCITS 549-2021 (ZAC-2).[1] IEEE groups all of them, plus TCG locking ranges in a Locked state, under one description: configuration options that limit access to portions of the storage media.
In practice a drive can be set to present a smaller size than its media supports. A wipe that stops at the last reported block never touches anything beyond that limit.
Is hidden capacity the same as overprovisioning?
No. Overprovisioning is spare physical storage a drive keeps for endurance and performance. NIST SP 800-88 Rev. 2 gives the example of a device with 1024 GB of physical capacity but only 900 GB available to the user, and notes that user data may be stored across the full 1024 GB, so the entire contents should be sanitised.[6] In IEEE’s terms that spare space is nonaddressable: it cannot be read or written through the host interface at all.[3]
HPA, DCO and AMA limits are different because they are configuration settings. Once the host resets them, the hidden range becomes addressable again and a host-level overwrite can reach it. Overprovisioned space never becomes addressable, which is why only a Purge command, or Destruct, deals with it.[3]
What does IEEE 2883 say to do before an ATA Clear?
The ATA Clear procedure in IEEE 2883 §8.4.2.2 starts with the reset. Step a) requires the host to reset the access-limiting settings listed above. Step b) seeds known data patterns in randomly chosen blocks if verification will follow. Step c) performs the Clear itself, for example write commands with a fixed value to every logical block from LBA 0 to the Native Max Address minus 1, SCT Write Same, or SECURITY ERASE UNIT in Normal Erase mode. Step d) checks the seeded blocks.[1]
The overwrite is defined against the native maximum, so the reset must come first. IEEE also treats any failed operation, or failed verification, as a failed Clear: retry until it succeeds, or move to Purge or Destruct.[1] If a limit cannot be reset, that is a failure to escalate, not a detail to ignore.
Remember the ceiling on Clear. IEEE says it is not appropriate for sensitive data, because it is not required to remove data from nonaddressable locations, and on an SSD old data can stay at its previous physical address after the logical block is rewritten.[3] Unlocking hidden capacity makes a Clear complete; it does not turn it into a Purge.
Does the reset still matter if you use Purge?
The ATA Purge steps in §8.4.3.2 (cryptographic erase, Sanitize block erase, Sanitize overwrite or Enhanced mode SECURITY ERASE UNIT) do not repeat the reset list.[2] These are device commands designed to act on nonaddressable locations as well, which is what makes them Purge.[3] So a reset is not a stated Purge requirement, and it is our reading, not IEEE’s wording, that checking capacity first is still sensible.
Three reasons stand out. First, NIST says dedicated sanitize commands address storage areas more effectively but require assurance from the vendor that they work as expected.[7] Second, IEEE warns that some devices have hidden, nonaddressable areas and tells you to ask the manufacturer whether they exist and how to sanitise them.[5] Third, verification after Purge reads through the host interface, so it only sees what is addressable at the time.[4]
NIST Rev. 2 Appendix B turns this into a procurement question: vendors should report, for each supported sanitize command, any areas it does not address.[8] For the wider policy changes behind that, see what changed in NIST SP 800-88 Rev. 2.
Do SCSI and NVMe drives have the same problem?
Yes, under different names. For SCSI Clear, IEEE lists the number of logical blocks set through the mode parameter block descriptor, Zone activation, Depopulation and locked TCG ranges as settings to reset first.[1] For NVMe, the equivalent risk is namespaces: Clear must cover every namespace in the subsystem, and if a namespace is not attached to any controller and the host cannot attach it, IEEE says Purge or Destruct must be used instead.[1]
How does hidden capacity affect verification and validation?
IEEE’s representative sampling includes the first and last addressable locations on the device.[4] If a capacity limit is still active, the “last addressable location” is the limit, not the real end of the media, so a sample can pass while the hidden range is never read. Full verification has the same blind spot, because it cannot verify areas inaccessible through the host interface.[4]
NIST Rev. 2 separates checking the outcome from deciding to accept it. Verification inspects completion status, errors, anomalies and drive health.[9] Validation then decides whether the target data was effectively sanitised, and NIST’s examples of grounds for doubt include part of the media no longer being accessible through its interface, and a sanitisation scope that was too narrow.[9] An unexplained capacity mismatch fits both. For more on the two steps, see our report on why verification and validation are not the same.
One caution in the other direction: IEEE notes that Purge can reduce capacity if storage media is permanently removed from service during sanitisation.[5] A smaller size afterwards is not proof of a hidden area. It is a reason to investigate and record what you found.
How should IT teams build HPA and DCO checks into a wipe workflow?
- Before wiping, note the reported capacity and the native maximum, and look for HPA, DCO, AMA, zone or depopulation settings and locked ranges.[1]
- For an ATA Clear, reset every limit first and overwrite to the Native Max Address minus 1. If a limit will not reset, treat the Clear as failed and escalate.[1]
- For sensitive data, choose a Purge command suited to the media, and keep the vendor’s answer on which areas it does not address.[2][8]
- On NVMe, confirm every namespace is attached and covered.[1]
- After the wipe, compare capacity again and pass any mismatch to the person who validates the result.[9]
- Record the method, technique, tool and version, and verification method on the record of the wipe.[10]
A bootable tool such as RedKey USB reaches the drive outside the installed operating system on compatible PCs and Intel Macs. Starting outside the OS does not by itself show that hidden areas were unlocked, so whatever tool you use, confirm with its maker how it handles HPA, DCO and AMA, and check the result it gives for each drive.
What is the bottom line?
HPA and DCO, together with Accessible Max Address and related settings, can hide part of a drive from any process that trusts the reported size. IEEE 2883 makes resetting them the first step of an ATA Clear, with overwrites defined up to the native maximum.[1] Purge commands are built to reach further, but they rest on vendor trust and host-side verification, so check capacity before and after, ask vendors what each command misses, and let validation decide whether a mismatch is acceptable.[8][9]
References
- IEEE, Std 2883-2022, IEEE Standard for Sanitizing Storage (2022), §8.4.2.1, §8.4.2.2, §8.4.2.4 and §8.4.2.5.1 (Clear for ATA, SCSI and NVMe).
- IEEE Std 2883-2022, §8.4.3.2 Purge for ATA.
- IEEE Std 2883-2022, §3.1 (definitions), §6.2, §6.3 and §6.5.1.
- IEEE Std 2883-2022, Clause 7 (§7.2, §7.3).
- IEEE Std 2883-2022, §8.4.1 and Table 8.
- NIST, SP 800-88 Rev. 2, Guidelines for Media Sanitization (September 2025), §2.3.
- NIST SP 800-88 Rev. 2, §3.1.1.
- NIST SP 800-88 Rev. 2, Appendix B.
- NIST SP 800-88 Rev. 2, §4.5.1 and §4.5.2.
- NIST SP 800-88 Rev. 2, §4.6.
