DCO: Device Configuration Overlay
HPA: Host Protected Area
Both are 'hidden' areas on a HDD.
I am trying to detect if my HDD has a DCO and remove it/ restore to factory settings. This is so that I can then securely erase all data on the HDD properly. I do not want hidden data in the HPA and DCO to get left behind. HPA is disabled so I am checking for a DCO.
I entered "sudo hdparm --dco-identify /dev/sda"
Terminal returned "HDIO_DRIVE_CMD(dco_identify) failed: Input/output error"
Does this mean I don't have a DCO or have I made an error in entering the command?
When I run "sudo hdparm -I /dev/sda" Security says:
Master password revision code = [redacted just in case it's sensitive data]
not expired: security count
supported: enhanced erase
Could this have something to do with the error? My drive is "frozen". Both my laptop and desktop drives say this.
Related post: How to un freeze drive in Linux?