[dm-crypt] Is erasing hard disk drive mandatory?

Heinz Diehl htd at fancy-poultry.org
Fri May 30 19:10:53 CEST 2014


On 30.05.2014, Thomas Bastiani wrote: 

> On SSD's though, this would prevent TRIM from functioning properly 
> and make the SSD appear as full to the controller which would 
> hurt performance.

If you e.g. do a "dd if=/dev/urandom of=bigfile" to a SSD drive
until the partition is fully overwritten, simply deleting "bigfile" 
followed by a "fstrim" should restore performance to the same level as
is was before. What am I missing?

 


More information about the dm-crypt mailing list