There are situations where it's not possible to run the trim command, for example some external usb ssd drives don't support it.

If you're not concerned with the ssd drive degrading in any way, shape or form, does scrubbing work to completely remove deleted files in the free space of ssd drives?

Is this also a solution to wipe deleted files on a non trim supported ssd drive, even if it might be less effective?

  • Scrubbing using the secure delete or some other method? – Ramhound Sep 7 '16 at 8:25
  • Used the scrub tool on github, tried scrubbing with random data and zeros. – user638145 Sep 7 '16 at 17:54
  • That tool is not sufficient to securely erase a SSD. You should use the secure erase method, if your SSD has one, otherwise you risk your data still existing on the drive in some capacity. – Ramhound Sep 7 '16 at 18:39
  • I'm looking for a method to securely erase contents inside the free space of an encrypted ssd drive without using trim. I don't want to erase my linux installation because I just want some files to permanently be deleted. – user638145 Sep 8 '16 at 7:40
  • Well even TRIM doesn't do that but if the data is encrypted then it doesn't matter, any recoverable data, would be random data. – Ramhound Sep 8 '16 at 11:49

After more intensive scrubbing with the command line scrub tool (scrub -X -p schneier test which does 7 passes) I could recover only 1/10th of what I could recover before. So I guess it does have effect.

|improve this answer|||||

One pass erase is enough. Any additional passes cause unnecessary wearing of your disk. SSDs can't hold old data after overwriting in any way. However you need to write all free space to be sure. You can use commands like:

dd if=/dev/zero of=/home/clean.big
rm /home/clean.big

In Windows you can use SDelete.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.