Thursday, May 3, 2018

hard drive - Error when running 'hdparm --dco-identify' in Linux

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:



Security:


Master password revision code = [redacted just in case it's sensitive
data]


supported


not enabled


not locked


frozen


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?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...