Skip to main content

Diagnosing and Erasing Hard Drives

What you need

  1. Diagnosing and Erasing Hard Drives, Mounting the hard drive for testing: step 1, image 1 of 3 Diagnosing and Erasing Hard Drives, Mounting the hard drive for testing: step 1, image 2 of 3 Diagnosing and Erasing Hard Drives, Mounting the hard drive for testing: step 1, image 3 of 3
    • If the drive is not installed in a PC, a USB adapter can be used. If you are using an M.2 SSD (NVMe or SATA) you will need a different enclosure than shown in these guide photos.

    • If the hard drive is not installed and you do not have a USB adapter, it can be plugged into a motherboard.

  2. Diagnosing and Erasing Hard Drives, (Ubuntu) POH/POC Check: step 2, image 1 of 3 Diagnosing and Erasing Hard Drives, (Ubuntu) POH/POC Check: step 2, image 2 of 3 Diagnosing and Erasing Hard Drives, (Ubuntu) POH/POC Check: step 2, image 3 of 3
    • While high hours are not an indication of failure, the odds of a failure are much higher.

    • GSmartControl can be used in Ubuntu if you cannot read the output from Disks.

    • Boot your system into a live Ubuntu session. Locate the Disks application and select the suspicious hard drive.

    • From the drop-down menu, select SMART Data and Self Tests. This will pull up the SMART data.

    • Locate the following SMART attributes: Power On Hours and Power Cycle Count.

  3. Diagnosing and Erasing Hard Drives, (Ubuntu) Reallocated sectors and SMART testing: step 3, image 1 of 3 Diagnosing and Erasing Hard Drives, (Ubuntu) Reallocated sectors and SMART testing: step 3, image 2 of 3 Diagnosing and Erasing Hard Drives, (Ubuntu) Reallocated sectors and SMART testing: step 3, image 3 of 3
    • If the Reallocated Sector Count is highlighted with a high count, REPLACE THE DRIVE; they are prone to failure and unexpected capacity loss! While SMART Extended is better, a quick test may be sufficient.

    • Locate the following SMART attributes: Reallocated sector count; Current pending sector count.

    • To run a SMART Extended Self-Test, left click Start Self-Test. Select Extended from the drop-down menu.

  4. Diagnosing and Erasing Hard Drives, (Parted Magic) POH/POC check: step 4, image 1 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) POH/POC check: step 4, image 2 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) POH/POC check: step 4, image 3 of 3
    • While high hours are not an indication of failure, the odds of a failure are much higher.

    • Select Disks from the desktop to open GSmartControl.

    • Select the hard disk you want to test. Click Attributes to read the SMART data.

    • Locate the following attributes: Power On Time and Power Cycle Count.

  5. Diagnosing and Erasing Hard Drives, (Parted Magic) Reallocated sectors and SMART testing: step 5, image 1 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) Reallocated sectors and SMART testing: step 5, image 2 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) Reallocated sectors and SMART testing: step 5, image 3 of 3
    • If the Reallocated Sector Count is highlighted with a high count, REPLACE THE DRIVE; they are prone to failure and unexpected capacity loss! While SMART Extended is better, a quick test may be sufficient.

    • In the Attributes tab, locate the following SMART attributes: Reallocated Sector Count; Reallocation Event Count; Current Pending Sector Count.

    • To test the drive, select Perform Tests. Click Test type: and select Extended Self-Test.

  6. Diagnosing and Erasing Hard Drives, (Parted Magic) Error log check: step 6, image 1 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) Error log check: step 6, image 2 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) Error log check: step 6, image 3 of 3
    • Use the error log and SMART data together to diagnose drive problems.

    • Check the error log for drive errors. Click the Error log tab, and review the logs.

    • In the Error log, review the available errors. Read these logs if any are found.

  7. Diagnosing and Erasing Hard Drives, (Parted Magic) Erasing hard drives: step 7, image 1 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) Erasing hard drives: step 7, image 2 of 3 Diagnosing and Erasing Hard Drives, (Parted Magic) Erasing hard drives: step 7, image 3 of 3
    • When possible, avoid sector-wiping SSDs. This will reduce the drive liftetime and can be drastic on older 75TBW SSDs.

    • Your erase options will be limited to the Security Set options supported in the drive firmware.

    • Drives without ATA Secure Erase will need to be erased externally. Select External and choose Nwipe. Run the DoD Short command (3 wipes+drive blanking).

    • If your drive has a buggy ATA Secure Erase implementation, choose External and erase the drive with Nwipe. SSDs should only be erased with the Secure Erase command.

    • For NVMe SSDs, the best option is to use NVMe Secure Erase.

Finish Line

One other person completed this guide.

Nick

Member since: 11/10/09

88,851 Reputation

49 Guides authored

Team

Master Techs Member of Master Techs

Community

322 Members

2,528 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 3

Past 7 Days: 9

Past 30 Days: 37

All Time: 1,772