[openstack-dev] [ironic] Disk Eraser

Alan Kavanagh alan.kavanagh at ericsson.com
Fri Jan 17 04:27:48 UTC 2014


Although the performance is important the more critical feature is to "guarantee complete dd for the disk".

Alan

From: Oleg Gelbukh [mailto:ogelbukh at mirantis.com]
Sent: January-16-14 5:21 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [ironic] Disk Eraser



On Wed, Jan 15, 2014 at 10:25 PM, Alan Kavanagh <alan.kavanagh at ericsson.com<mailto:alan.kavanagh at ericsson.com>> wrote:
Cheers Guys

So what would you recommend Oleg. Yes its for linux system.

Alan,

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:


openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero > randomfile.bin
Hope this helps.

--
Best regards,
Oleg Gelbukh


/Alan

From: Oleg Gelbukh [mailto:ogelbukh at mirantis.com<mailto:ogelbukh at mirantis.com>]
Sent: January-15-14 10:30 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [ironic] Disk Eraser


On Wed, Jan 15, 2014 at 6:42 PM, Alexei Kornienko <alexei.kornienko at gmail.com<mailto:alexei.kornienko at gmail.com>> wrote:
If you are working on linux system following can help you:

dd if=/dev/urandom of=/dev/sda bs=4k

I would not recommend that as /dev/urandom is real slow (10-15 MB/s).

--
Best regards,
Oleg Gelbukh


:)
Best Regards,


On 01/15/2014 04:31 PM, Alan Kavanagh wrote:
Hi fellow OpenStackers

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?

BR
Alan


_______________________________________________

OpenStack-dev mailing list

OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140117/1737c3c3/attachment.html>


More information about the OpenStack-dev mailing list