<div class="gmail_quote">On Wed, Sep 2, 2009 at 4:32 PM, Dean S. Messing <span dir="ltr"><<a href="mailto:deanm@sharplabs.com">deanm@sharplabs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a terebyte sata drive that I need to securely wipe clean.  It<br>
originally had 2 partitions.  I deleted them using `fdisk', rebooted,<br>
and then as root ran<br>
<br>
    shred -vz /dev/sdd<br>
<br>
The drive is capable of about 60MB/sec, but shred is only "shredding"<br>
about 25MB every 5 seconds according to its output.  Since the default<br>
number of passes is 25, this works out to about 5 days.<br>
<br>
The `shred' process is running at 100% CPU, presumably computing<br>
the special random patterns for erasure.  Since I have 4 CPUs<br>
would creating 4 unformatted partions on the drive and then running<br>
something like:<br>
<br>
   shred -vz /dev/sdd1<br>
   shred -vz /dev/sdd2<br>
   shred -vz /dev/sdd3<br>
   shred -vz /dev/sdd4<br>
<br>
in parallel cut my time?  Would be just as secure?<br>
<font color="#888888"><a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank"></a><br>
</font></blockquote></div><br>The question is where the bottleneck lies.<br><br>If you think it's CPU bound because of rand bit patterns, shred it with just the non-random patterns (IIRC I think you set this by limiting iterations, the first few iterations are standard patterns: all zeros, all ones, 1010)<br>
<br>My other suggestion would be to use an old junker PC, plug in your drive and boot DBAN and let it churn away for a while.  DBAN may be optimized and may run faster (and probably does a more secure job) than shred.<br clear="all">
<br>-- <br>-jp<br><br>If I was being executed by injection, I'd clean up my cell real neat.  Then,
when they came to get me, I'd say, "Injection?  I thought you said
`inspection'."  They'd probably feel real bad, and maybe I could get out of it.
    
      <br><br><a href="http://deepthoughtsbyjackhandey.com">deepthoughtsbyjackhandey.com</a><br><br>