<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 10:25 PM, Alan Kavanagh <span dir="ltr"><<a href="mailto:alan.kavanagh@ericsson.com" target="_blank">alan.kavanagh@ericsson.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-CA" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Cheers Guys<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">So what would you recommend Oleg. Yes its for linux system.</span></p></div></div></blockquote><div>
<br></div><div>Alan,</div><div><br></div><div>Approach proposed below (/dev/zero) is probably better as it allows to perform at around 60MB/s. Another approach that I've seen flying around is to generate random string and use it's hashes for dd. There are some one-liners out there which do that with openssl, just one example:</div>

<div><br></div><div><pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;word-wrap:normal">openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero > randomfile.bin</pre>

</div><div>Hope this helps.</div><div><br></div><div>--</div><div>Best regards,</div><div>Oleg Gelbukh</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div lang="EN-CA" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">/Alan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:36pt"><b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span lang="EN-US" style="font-size:10pt;font-family:Tahoma,sans-serif"> Oleg Gelbukh [mailto:<a href="mailto:ogelbukh@mirantis.com" target="_blank">ogelbukh@mirantis.com</a>]
<br>
<b>Sent:</b> January-15-14 10:30 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [ironic] Disk Eraser<u></u><u></u></span></p><div><div>
<p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12pt;margin-left:36pt">
<u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:36pt">On Wed, Jan 15, 2014 at 6:42 PM, Alexei Kornienko <<a href="mailto:alexei.kornienko@gmail.com" target="_blank">alexei.kornienko@gmail.com</a>> wrote:<u></u><u></u></p>

<div>
<div>
<p class="MsoNormal" style="margin-left:36pt">If you are working on linux system following can help you:<br>
<br>
dd if=/dev/urandom of=/dev/sda bs=4k<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt">I would not recommend that as /dev/urandom is real slow (10-15 MB/s).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt">--<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt">Best regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt">Oleg Gelbukh<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36pt"> <u></u><u></u></p>
</div>
<blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="margin-left:36pt"><br>
:)<br>
Best Regards,<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:36pt"><br>
<br>
On 01/15/2014 04:31 PM, Alan Kavanagh wrote:<u></u><u></u></p>
</div>
</div>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36pt">
Hi fellow OpenStackers<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36pt">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36pt">
Does anyone have any recommendations on open source tools for disk erasure/data destruction software. I have so far looked at DBAN and disk scrubber and was wondering if ironic team have some better recommendations?<u></u><u></u></p>



<p class="MsoNormal" style="margin-left:36pt">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36pt">
BR<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36pt">
Alan<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:12pt;margin-left:36pt">
<u></u> <u></u></p>
</div>
</div>
<pre style="margin-left:36pt">_______________________________________________<u></u><u></u></pre>
<pre style="margin-left:36pt">OpenStack-dev mailing list<u></u><u></u></pre>
<pre style="margin-left:36pt"><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><u></u><u></u></pre>
<pre style="margin-left:36pt"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:36pt"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-left:36pt"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>