A Computer hardware and components forum. ComputerBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ComputerBanter.com forum » General Hardware & Peripherals » Storage & Hardrives
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Does TRIM support hurt data recovery?



 
 
Thread Tools Display Modes
  #1  
Old July 30th 12, 04:39 PM posted to comp.arch.storage
Mark F[_2_]
external usenet poster
 
Posts: 164
Default Does TRIM support hurt data recovery?

Does TRIM support hurt data recovery?

For example, if I delete a file in Windows will the SSD drive's
TRIM support erase the data?

If I delete a partition, will the SSD drive erase all of the
data that was in the partition?

Does it depend on the SSD drive, or are things defined so as
to mean the data either, depending on the definition:
. always be erased eventually, even if no further writes are done
. never be erased unless the space is actually needed.

It seems to me that TRIM support in the operating system and the
device will mean that the data MAY be erased a before being needed,
but I don't know how much, if any, writing has to be done before the
drive can start erasing things.
  #2  
Old August 13th 12, 08:47 AM posted to comp.arch.storage
Dirk Munk
external usenet poster
 
Posts: 11
Default Does TRIM support hurt data recovery?

As you will know an SSD can only write or erase data, it can not rewrite
data. If a rewrite is necessary, the disk will first have to erase the
old data and then write the new data. That is very time consuming.

Normally when you delete a file, nothing very much happens. The
directory entry will be deleted etc. , but the data will still be there
until it is rewritten by other data. So in principle a unerase is possible.

We don't want this rewrite in an SSD, it would make the device very
slow. That is where the trim facility is used. Once a file has been
deleted, the SSD will get the information on where the file is on the
SSD, and it can then erase all the old data in the background.

The SSD will not wait until the space is really needed, that would be no
improvement over the normal rewrite procedure.

Mark F wrote:
Does TRIM support hurt data recovery?

For example, if I delete a file in Windows will the SSD drive's
TRIM support erase the data?

If I delete a partition, will the SSD drive erase all of the
data that was in the partition?

Does it depend on the SSD drive, or are things defined so as
to mean the data either, depending on the definition:
. always be erased eventually, even if no further writes are done
. never be erased unless the space is actually needed.

It seems to me that TRIM support in the operating system and the
device will mean that the data MAY be erased a before being needed,
but I don't know how much, if any, writing has to be done before the
drive can start erasing things.


  #3  
Old August 13th 12, 02:17 PM posted to comp.arch.storage
Mark F[_2_]
external usenet poster
 
Posts: 164
Default Does TRIM support hurt data recovery?

On Mon, 13 Aug 2012 09:47:24 +0200, Dirk Munk wrote:

As you will know an SSD can only write or erase data, it can not rewrite
data. If a rewrite is necessary, the disk will first have to erase the
old data and then write the new data. That is very time consuming.

Normally when you delete a file, nothing very much happens. The
directory entry will be deleted etc. , but the data will still be there
until it is rewritten by other data. So in principle a unerase is possible.

We don't want this rewrite in an SSD, it would make the device very
slow. That is where the trim facility is used. Once a file has been
deleted, the SSD will get the information on where the file is on the
SSD, and it can then erase all the old data in the background.

The SSD will not wait until the space is really needed, that would be no
improvement over the normal rewrite procedure.

So, specifically, if TRIM is working, in general it will be impossible
to recover files deleted from the operating system, even by someone
with access to the drive internals and even if no further data is
written from the computer.

This has someone the same effect on data recovery as erasing files
immediately upon deletion has with spinning drives. (Of course,
you can't rely on the data being erased due to TRIM related activity,
but would seem to imply that you should power down any drive that you
accidentally deleted a file on as soon as possible after you notice
the error. This is contrasted with the case of spinning drives and
flash drives without TRIM support, where powered on time is not
a factor in data recovery as long as you don't write to the device.)

Mark F wrote:
Does TRIM support hurt data recovery?

For example, if I delete a file in Windows will the SSD drive's
TRIM support erase the data?

If I delete a partition, will the SSD drive erase all of the
data that was in the partition?

Does it depend on the SSD drive, or are things defined so as
to mean the data either, depending on the definition:
. always be erased eventually, even if no further writes are done
. never be erased unless the space is actually needed.

It seems to me that TRIM support in the operating system and the
device will mean that the data MAY be erased a before being needed,
but I don't know how much, if any, writing has to be done before the
drive can start erasing things.

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does TRIM support help direct access file performance? Mark F[_2_] Storage (alt) 1 August 19th 10 11:42 PM
data encryption and data recovery? Noname Storage (alt) 3 February 23rd 06 07:43 AM
Data Recovery Book and Online Business Promotion, Products Sales Promotion, Search Engine Optimization and Online Data Recovery Training services Author Tarun Tyagi Storage & Hardrives 0 December 14th 04 06:41 PM
Professional Data Recovery Book ( World's First Book on Professional Data Recovery Programming ) Author Tarun Tyagi Storage (alt) 0 December 1st 04 05:52 PM
Professional Data Recovery Book ( World's First Book on Professional Data Recovery Programming ) Author Tarun Tyagi Storage (alt) 0 December 1st 04 05:51 PM


All times are GMT +1. The time now is 04:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 ComputerBanter.com.
The comments are property of their posters.