LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03:27 PM   #1
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

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, 03:29 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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 03:30 PM.
 
1 members found this post helpful.
Old 06-19-2014, 04:53 PM   #3
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

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

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
DBAN works and would be suitable for this purpose. You can use dd and urandom also.
 
Old 06-19-2014, 11:45 PM   #5
displace
Member
 
Registered: Jan 2013
Location: EU
Distribution: Debian
Posts: 268

Rep: Reputation: 25
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, 01:43 AM   #6
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
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, 06:06 AM   #7
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

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

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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, 06:36 AM   #9
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

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, 06:46 AM   #10
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Slackware, Devuan, Android
Posts: 132

Rep: Reputation: 243Reputation: 243Reputation: 243
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, 08: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, 08:25 AM   #12
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 275Reputation: 275Reputation: 275
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 08:33 AM. Reason: edit: resource man shred
 
Old 06-20-2014, 10:39 AM   #13
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 121

Rep: Reputation: 3
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, 03:21 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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 03:25 PM.
 
Old 06-20-2014, 03:24 PM   #15
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

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


Reply



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 11:38 AM
Disk Wiping Standards stf92 General 8 04-29-2012 10:48 AM
[SOLVED] securely wiping disk/partition dimm0k Linux - Security 8 06-19-2011 08:35 AM
Solaris disk wiping utility? Brian Knoblauch Solaris / OpenSolaris 8 02-17-2006 11:46 AM
Suggested way of wiping HD mymojo Linux - General 4 12-01-2003 01:35 PM

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

All times are GMT -5. The time now is 01:41 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
Open Source Consulting | Domain Registration