LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-14-2011, 07:49 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Best way to wipe solid state drive


What should be done to completely wipe clean a solid state drive (before selling a computer)? What should be done for a regular drive, and what considerations apply to a SSD?
 
Old 05-14-2011, 08:18 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,257
Blog Entries: 28

Rep: Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119Reputation: 6119
A hammer is the only reliably infallible tool, but for normal use, these suggestions might help:

http://www.linux.com/learn/tutorials...sk-drive-clean
 
Old 05-14-2011, 10:35 PM   #3
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 61
write 5+ times 0's to whole disk at physical level. ( i assume dd can be used)
 
Old 05-14-2011, 11:35 PM   #4
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
So long as the discussion is about using *x tools (Linux/Unix ..), whats special about erasing solid state drives?
 
Old 05-15-2011, 11:22 AM   #5
JonathanWilson
Member
 
Registered: Aug 2009
Location: Ilkeston, England
Distribution: ubuntu, xp, embeded
Posts: 79

Rep: Reputation: 1
Quote:
Originally Posted by AnanthaP View Post
So long as the discussion is about using *x tools (Linux/Unix ..), whats special about erasing solid state drives?
SSD's use wear leveling technology which means that the data is not always stored in neat contiguous blocks and also that a delete instruction may only mark the space as free for re-use but do nothing to the original data so potentially its possible to read evey bit of storage and then re-assemble the data.

Writing a single file over the whole SSD should in theory clear all the data although I read somewhere that even doing that may not be 100% effective on an SSD.

For both HD and SSD writing random data in the file is probably more effective than writing a single character repeatedly.
 
Old 05-15-2011, 01:47 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by AnanthaP View Post
...whats special about erasing solid state drives?
well,
  • mechanical drives are mechanical, and the head doesn't move over exactly the same path every time, therefore it is at least theoretically possible that be re-reading the same blocks several times you might be able to get back some data that was there previously. While this does not apply to SSDs, it is the reason (whether practically realisable and useful, or not) that multiple overwriting is regarded as necessary when erasing mechanical hard drives. This, therefore may be an unnecessary distraction for an SSD drive.
  • SSDs don't immediately make all of the storage locations available to the user; because there is a well known wear out effect, there are spare cells; the controller manages swapping cells out so that the cells that see heavy use don't wear out. This means that there may be 'hidden' cells and, if those cells have been used, they may contain previous data
 
Old 05-15-2011, 05:20 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,921

Rep: Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618Reputation: 3618
The normal answer is to put rotating 1 and 0 to each bit at least 9 times.
dd command with options tend to be used. Or copy file over and over until the drive is full then do it over and over.

You can't pull the old VHS eraser trick on ssd's.

For the most part a few different partitions would prevent most people from any real access.
 
  


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] Solid State Drive - basic question taylorkh Linux - Hardware 7 05-21-2010 03:39 PM
Slackware 13 64 Bit on a Solid State Drive kc3 Slackware 6 10-12-2009 03:49 PM
Best io-scheduler for Solid State Drive? brentleary Linux - Kernel 2 03-25-2009 01:33 AM
LXer: Linux Solid-State Drive Benchmarks LXer Syndicated Linux News 0 01-01-2009 01:50 PM
Solid State Drive Performance Inquiry rocket357 General 2 08-29-2008 05:20 AM

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

All times are GMT -5. The time now is 06:02 AM.

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