LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2014, 04:27 PM   #1
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 297

Rep: Reputation: Disabled
Suggested disk wiping software


Got a load of old disk drives that we need to completely wipe of all trace of customers data. Any suggestions what might be the best software available to do this? Do I need anything special or can this be done using any of the Linux Live CDs?
 
Old 06-19-2014, 04:29 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653Reputation: 1653
I like this one best: https://www.youtube.com/watch?v=yd_O7-rqcHc

Works great as long as you don't expect to be re-using the drives later.

Seriously though, DBAN is my go to.

Last edited by szboardstretcher; 06-19-2014 at 04:30 PM.
 
1 members found this post helpful.
Old 06-19-2014, 05:53 PM   #3
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 94

Rep: Reputation: 1
dd? http://www.noah.org/wiki/Dd_-_Destroyer_of_Disks
 
1 members found this post helpful.
Old 06-19-2014, 06:22 PM   #4
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
DBAN works and would be suitable for this purpose. You can use dd and urandom also.
 
Old 06-20-2014, 12:45 AM   #5
displace
Member
 
Registered: Jan 2013
Location: EU
Distribution: Debian
Posts: 257

Rep: Reputation: 24
Don't use dd with urandom, it's terribly slow. Go for this instead:
# cryptsetup open --type plain -d /dev/urandom /dev/<block-device> to_be_wiped
# cat /dev/zero > /dev/mapper/to_be_wiped

See FAQ item 2.19: https://code.google.com/p/cryptsetup...AskedQuestions
 
Old 06-20-2014, 02:43 AM   #6
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 274Reputation: 274Reputation: 274
Usually I use dd.
With urandom, the job is very slow. We're talking about many hours or days, depends on disk size and processor speed.

For my external 300GB hd, with an old cpu (AMD Sempron LE-1150), my times are:

dd if=/dev/zero of=/dev/tobewiped bs=1MB (3 hours)
dd if=/dev/urandom of=/dev/tobewiped bs=1MB (30 hours)
 
1 members found this post helpful.
Old 06-20-2014, 07:06 AM   #7
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 297

Original Poster
Rep: Reputation: Disabled
Sounds like the easiest way is just to use dd from a Linux Live CD.
 
Old 06-20-2014, 07:17 AM   #8
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,987

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
dd and then drill through the platters.

There are also companies that will come on-site and physically shred disk drives.
 
Old 06-20-2014, 07:36 AM   #9
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 385
Blog Entries: 8

Rep: Reputation: 88
which is preferred"
- speed?.
- accuracy?.

if you have several old ide drives,
then you have to connect & reboot for each one. ..

so, maybe reboot each time with a live_cd,
- use either DD or Gparted
then put a drill bit thru that drive. ..
 
Old 06-20-2014, 07:46 AM   #10
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Slackware, Android
Posts: 113

Rep: Reputation: 217Reputation: 217Reputation: 217
Another method is shred, which is included with most live CDs in my limited experience. The effect is similar to doing 25 passes of dd with /dev/urandom, but I've no idea how it compares for speed.
 
Old 06-20-2014, 09:03 AM   #11
Blizzard
Member
 
Registered: Oct 2007
Location: Italy
Distribution: Linux Slackware 14.1
Posts: 35

Rep: Reputation: 1
If you want you can try my encryption wizards suite.

https://github.com/LCyberspazio/TwoCentsCryptoFrontend

It uses dd(1) for disk wiping... use it at your own risk.

It does nothing special... just run repeatedly the dd command as specified in this topic.
By the way... dd wiping is slow. It's acceptable for volumes in the order of 4GB, more is a pain!
 
Old 06-20-2014, 09:25 AM   #12
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 274Reputation: 274Reputation: 274
Quote:
Originally Posted by Pastychomper View Post
Another method is shred, which is included with most live CDs in my limited experience. The effect is similar to doing 25 passes of dd with /dev/urandom, but I've no idea how it compares for speed.
If I remember well, the default is 3. Then you can specify the number of passed with -n option.

Last edited by kooru; 06-20-2014 at 09:33 AM. Reason: edit: resource man shred
 
Old 06-20-2014, 11:39 AM   #13
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 94

Rep: Reputation: 1
Why not just fill the drive with zeros using dd? Much faster than filling it with random data. It won't be possible to restore any data even when filled with zeros, not with any software anyway. And if the drives contains such sensitive data that it could pose a threat to national security you should physically shred them anyway.
 
Old 06-20-2014, 04:21 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,398

Rep: Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992Reputation: 2992
Wear eye protection.

Get a big,

Hammer.

Hit it like you live.

Turn in parts to recycle company.


For the most part, you have to write every bit once or more to actually destroy to some degree all data. No matter what you use, it takes time. It is best if you can boot up to the fastest mode the drive can handle.

Some apps may not write all bits, they know that damaging one out of 8 or so the data will be lost. They would be faster.

Dban is one of the favored for this task. It generally uses the fastest means to securely wipe a drive.

Norton's ghost used to be pretty fast as it used file by file. It still may be that one could create a scheme that just put new files over old data. Set it to have smaller files use more area to speed it up.

Last edited by jefro; 06-20-2014 at 04:25 PM.
 
Old 06-20-2014, 04:24 PM   #15
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
Before whipping out the hammers and drills, maybe you should ask if the HDD is still working and will be used again ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wiping a disk with EFI, not MBR haertig Linux - Software 9 07-02-2013 12:38 PM
Disk Wiping Standards stf92 General 8 04-29-2012 11:48 AM
[SOLVED] securely wiping disk/partition dimm0k Linux - Security 8 06-19-2011 09:35 AM
Solaris disk wiping utility? Brian Knoblauch Solaris / OpenSolaris 8 02-17-2006 12:46 PM
Suggested way of wiping HD mymojo Linux - General 4 12-01-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration