CliDeck

HDD Hidden Capacity: HPA, DCO and Sanitization Scope

← Back to Blog

Short answer

Before accepting an HDD sanitization result, establish which capacity the operation could address. A successful overwrite of the operating system's visible disk does not establish that capacity hidden by HPA or DCO was included. Discover restrictions before choosing the method; keep any unresolved scope gap in the final record.

Removing a capacity restriction is not an erasure operation. It can expose additional addresses without changing their contents. Do not close a sanitization ticket merely because a drive now reports a larger size.

Who this is for

This guide is for authorized ITAD and refurbishment teams evaluating ATA HDDs through a Linux processing station. HPA means Host Protected Area; DCO means Device Configuration Overlay. Both belong to ATA device behavior, not to a filesystem's list of files or partitions.

The command examples use the documented query forms of hdparm. They are not a universal procedure for SAS disks, NVMe devices, RAID virtual disks or SSDs. Confirm the device, firmware, installed utility version and transport before using an ATA-specific query. A modern HDD need not implement every historical feature discussed here.

Verification note: No HDD was queried, reconfigured or erased while preparing this article. No device logs were used. Commands below describe evidence to collect on an authorized asset, not results observed on a test drive.

When to use this

Use this review before approving a host overwrite, when reported capacity differs across tools, or when an intake record suggests a capacity restriction. It is also useful when an older processing report claims complete coverage without recording the address range available at the time.

Start with the scope question, not a capacity-restoration command. The goal is an accurate removal claim for the intended disposition. Making a device look like its sales label is not itself that goal.

When not to use this

Do not use these commands on an unidentified disk, on a production host carrying unrelated storage, or as an exploratory repair step while a retention hold remains unresolved. This article supplies no capacity-changing or destructive command sequence.

If the asset is an SSD, a bridge-exported virtual disk or an array volume, use the applicable controller and media procedure. Matching the capacity seen by one operating system does not establish coverage of flash translation layers, member drives or controller-managed storage.

Three different capacity questions

Keep these questions separate in the private worksheet:

QuestionWhat the answer contributes
What block device does Linux expose?The object and size a host-based tool currently sees.
What current and native limits does the ATA query return?Evidence about an HPA restriction, if the command is supported and reliable on this path.
What does the device configuration identify response disclose?Additional configuration evidence that should be reconciled with the other observations.

None of these is a direct measurement of every physical recording location. Remapped or inaccessible areas remain a separate concern. A filesystem report answers another question again: how space is allocated within a volume.

Also distinguish a sector count from the highest sector address. Tools may label their quantities differently. Record the original labels and the logical block size; do not compare a rounded decimal capacity with a binary display and label the difference hidden data.

What HPA and DCO change about the review

An HPA restriction can reduce the range visible to ordinary host access. The query-only hdparm option reports current and native sector limits. A difference is a reason to investigate the missing range before accepting a host overwrite's coverage.

DCO concerns configurable device capabilities, including capacity-related behavior. Its identify response can provide information not exposed by the ordinary identify view. An HPA query alone therefore should not be treated as a complete configuration audit.

These features are model-specific. For example, the historical Samsung Spinpoint M8-DVR OEM manual, revision 1.5 dated June 10, 2015, documents a DCO identify structure with maximum-LBA and feature-reporting fields. That is evidence for that product documentation, not a promise about every Seagate-branded HDD or a current model's sanitization behavior.

Do not turn this discussion into a universal statement that every device erase either includes or excludes HPA and DCO. Establish the exact method's scope from the applicable model and firmware documentation. Names such as security erase, sanitize or factory reset are insufficient on their own.

Workflow

1. Establish identity and authority

Match the received drive to its private asset record. Record the approved destination, removal authority, model, firmware and connection path. Settle retention obligations before any destructive work is authorized.

Choose the whole physical disk, not a partition or a convenient filesystem mount. If several similar drives are connected, identify the target by its stable device link and corroborating device information. Recheck identity whenever cabling, power or the controller path changes.

2. Confirm that the path exposes the necessary information

A USB bridge, controller or virtualization layer may translate or reject ATA commands. A query failure through that path is not proof that the underlying drive has no restriction. Likewise, a successful size query from the exported block device does not establish that the bridge passed every requested device command.

Use the approved processing connection and record its limitations. If a different supported connection is needed, preserve the first result and identify the subsequent reading separately. Do not silently merge measurements taken through different paths.

3. Collect query-only evidence

The example variable below is deliberately incomplete. Replace it with the verified whole-disk identifier from the approved job; do not paste it unchanged or guess a device letter. The commands do not request erasure or a capacity change.

disk=/dev/disk/by-id/ata-REPLACE_WITH_AUTHORIZED_ASSET
hdparm -V
sudo hdparm -I "$disk"
sudo hdparm -N "$disk"
sudo hdparm --dco-identify "$disk"

Keep uppercase -I and uppercase -N as written. In this specific query form, -N has no numeric parameter. Adding one changes the operation from inspection to setting a capacity limit. Do not append a value, substitute a restore option or add a persistent-setting prefix during evidence collection.

Record each command's complete result and failure status in the private job record. An unsupported response, a transport error or conflicting identify data leaves a question open. A missing DCO response is not equivalent to a successful response showing no relevant restriction.

4. Reconcile observations before approving a method

Compare the observations using their stated units and meanings. If the current limit is below the native limit, document the gap rather than assuming a host overwrite reached it. If configuration information suggests another limit, retain that evidence even when the HPA query reports matching values.

When reports disagree, classify the discrepancy before changing the asset. Possible review categories include unit interpretation, command support, transport behavior, device configuration and stale job information. These are investigation categories, not diagnoses of a drive that has not been examined.

Do not improvise a restoration sequence to make the worksheet pass. Changing a restriction can alter the object that later tools see. It requires a separately approved, supported procedure and a fresh identity and scope check afterward.

5. Select the supported sanitization route

The method decision must cover the target data and the required disposition. For a host overwrite, the important boundary is the address range actually accessible to that operation. For a device-managed method, obtain documentation that supports the claimed coverage and the required completion evidence.

NIST SP 800-88 Rev. 2, finalized in September 2025 and superseding Rev. 1, provides the sanitization-program framework. Its name does not certify an individual command or resolve a model-specific coverage gap. Keep the method justification and the observed outcome together.

If the necessary scope cannot be established, retain custody and escalate through the approved disposition process. Do not convert incomplete discovery into a successful erasure statement.

6. Verify completion and accept the stated scope

After the separately authorized sanitization procedure, verify the operation's actual completion and resolve exceptions. Record which configuration and capacity observations belong to the operation being accepted. If the process included an authorized capacity change, preserve the before and after states.

A larger reported disk, an empty partition table or matching sample reads cannot independently prove that hidden physical regions were sanitized. Review completion evidence, documented coverage, unreadable areas and policy before releasing the asset.

A practical acceptance example

Suppose an intake worksheet records a current limit below the reported native limit. The overwrite report covers only the smaller host-visible object. The operator then changes the configuration through an approved procedure and sees additional addresses.

The earlier report still describes the smaller object. It does not retroactively gain coverage of the newly visible range. A reviewer must establish and execute the supported removal route for the intended scope, then accept its completion evidence. This is a hypothetical workflow example, not a device test.

Verification checklist

  • Match the physical asset, firmware and connection path to the job.
  • Preserve query labels, units, errors and utility version.
  • Distinguish unsupported discovery from an affirmative unrestricted result.
  • Reconcile HPA and configuration evidence before choosing the method.
  • Keep capacity changes separate from data removal.
  • Confirm actual completion of the approved sanitization operation.
  • Leave inaccessible or unexplained scope gaps explicit until disposition is approved.

Resale and evidence checklist

The handoff record should identify the accepted method, its documented scope, completion evidence and remaining exceptions. A capacity worksheet supports that decision; it is not an independent sanitization certificate. Keep the private asset linkage available to the reviewer without exposing it in the sales listing.

What not to publish

Do not publish serial numbers, WWNs, customer identifiers or raw device dumps containing private asset data. Preserve the original evidence under access control. A public article or listing can explain the accepted scope without embedding a customer's diagnostic transcript.

Common mistakes

Common errors include using partition sizes as physical-device capacity, reading a query failure as proof of no HPA, and treating restriction removal as erasure. Another is combining observations from different controller paths without saying so. Each shortcut makes the final statement broader than the evidence supports.

CliDeck workflow fit

A processing runbook can separate discovery, authorized configuration changes, sanitization and acceptance. That is a proposed record structure, not a claim that forthcoming CliDeck wiping software detects every hidden area or certifies physical coverage. Keep unresolved observations attached to the specific asset and operation.

FAQ

Does equal current and native capacity prove complete sanitization?

No. It answers a capacity-query question on the observed path. It does not establish that a removal operation completed or covered every physical location.

Can restoring the full reported size be counted as erasure?

No. Exposing addresses and removing their contents are different actions with different evidence.

Should every query error trigger an automatic retry with stronger options?

No. Preserve the error and resolve identity, support and transport first. An option that changes configuration is not a stronger read-only query.

Related guides