Results 1 to 6 of 6

Thread: How long DD on a 1TB HD takes?

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Brazil
    Beans
    90
    Distro
    Ubuntu 12.04 Precise Pangolin

    How long DD on a 1TB HD takes?

    Hello.


    I bought a 1TB drive and I'm planning on doing DD on it. It's a WD, so I guess using a Seagate disk to wipe is not recommended.


    What does it take? (what commands), How long? Does doing it very often hurts the drive? (my old 320GB drive had +4000 reallocated sectors)


    All I'm used to do is:


    * Erase the partition table with $sudo dd if=/dev/urandom of=/dev/sda count=1


    * Create random size partitions with random file systems


    * Delete all partitions


    * Erase the partition table again and then create the partitions I needed.


    Are those above enough, let's say, in a virus case, a bootloader virus or a MBR virus? WHY and in what cases are DD needed besides selling the drive? How is data recoverable? Can the FBI recover it?


    Currently my partitions are:


    - 320GB for Windows, used ONLY for games, nothing pirated
    - 40GB for /
    - 571GB for /home, encrypted.


    Thanks in advance.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: How long DD on a 1TB HD takes?

    When running dd to wipe a disk, what you are doing is going byte by byte and overwriting the information that is on there.
    You're using the random character method, I would assume others would use the zero method, where by they'd overwrite the disk with zeros.
    It moves fast, but remember it is literally going from one byte to next, so it'll take a while.
    If you really wanted to totally make sure it wiped everything out for sure, use dd twice, maybe once with random string and once with zeroes.
    That's my opinion on it though, others will have theirs.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Jul 2007
    Location
    Tāmaki Makau-rau, NZ
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How long DD on a 1TB HD takes?

    One pass of dd seems to be enough to erase data. See http://computer-forensics.sans.org/b...rd-drive-data/ for more detail.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,199
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: How long DD on a 1TB HD takes?

    Juniorr; Hi !

    My experience with the dd time to write -> 1 hour per gig; as in 500 GB drive == 5 hours, 1 TB then is about 10 hours .

    See:
    Code:
    man dd
    for a work-about-it to monitor the progress of dd's status.

    hope this helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Jan 2007
    Beans
    6,537
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How long DD on a 1TB HD takes?

    Quote Originally Posted by Juniorr View Post
    * Erase the partition table with $sudo dd if=/dev/urandom of=/dev/sda count=1
    Using random data will take longer than simply filling the drive with zeros, and isn't any better at overwriting the contents. I'd use /dev/zero instead of /dev/random

    * Create random size partitions with random file systems


    * Delete all partitions
    This step is completely unnecessary. Zeroing the whole drive will have got rid of anything and everything on it.

  6. #6
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: How long DD on a 1TB HD takes?

    I suggest that you use hdparm, which uses low level firmware of the HDD, and it is much faster than dd, and it is also considered more secure, because

    1. It also clears hidden areas (not available directly from the operating system, but used to replace bad sectors automatically)
    2. It changes the encoding how physical addresses are tied to logical addresses.

    The method is described and discussed in the following thread.

    http://ubuntuforums.org/showthread.php?t=2124829

    An alternative is DBAN.
    Last edited by sudodus; April 26th, 2013 at 07:00 PM. Reason: Edit: 'much faster' instead of definite factor

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •