I have a stack of SATA hard drives that I need to erase.

I have a USB drive dock, a box that a drive can be set into that connects to my computer via USB-3.

I am using DD to write zeros to the raw device, in this case, /dev/sdf.

No matter the actual size of the drive dd stops at about 3 to 7 gb. These are 300 gb to 3 TB drives.

I am not mounting the drives, but I do ensure they are visible to the system with lsblk. To change drives I turn off the dock. The drive then disappears from lsblk. When I insert a different drive and turn the dock back on again /dev/sdf re-appears.

Are all my drives bad? If they are I will need to have them “professionally” destroyed at about $25 a drive.

  • @ianhclark510
    link
    21 year ago

    idk man, if there’s sensitive data on those drives i’d always err on the side of caution, there are much cheaper ways of doing secure data deletion, you can dismantle a drive with a screwdriver, or core them with a drill (my old worksplace had a hydraulic press they ran batches of drives through)

    if you wanted something less intrusive there are bootable images like DBAN (Darik’s Boot and Nuke) that handle secure erasure pretty well, you can enforce multiple passes, and even connect multiple drives at once

    if the data isn’t that sensitive I always like trying to unpartition/repartion the drive, then see if you can use dd to fill the drive with zeros/random data

    • WasPentaliveOP
      link
      fedilink
      11 year ago

      It’s not too sensitive, but since the drives were part of my dad’s estate I want to be sure. I would hate to have to turn these drives (esp the 1+ TB drives) into e-waste.