gerlink.blogg.se

Wipe ssd
Wipe ssd













wipe ssd

For that reason, we’ll elaborate on this query in more detail in this article. Is there anyone out there who knows of a solution to this problem?Īs previously said, a lot of users are needed to complete this process. As a result, before selling my SSD drive, I must clean it to ensure that he/she can’t recover my information. I have never met the person to whom I am selling my SSD. SSDs are so good at discarding all your data in an eyeblink, you should really worry more about losing the data you still need (make backups and backups of your backups), than worry about being unable to erase it.Hey, I am trying to sell my SSD drive (MX500), but I am well aware that simply wiping the SSD disk isn’t enough. Data recovery is a lot less successful on SSDs than on HDDs where you actually have to go out of your way to overwrite free space. In this fashion it's indeed quite useless to erase SSDs yourself, since everything already does that for you without asking, anyway.Īnd even if that didn't happen, almost every distro sets up fstrim to wipe all free space regularly.

wipe ssd

Usually with SSDs, it's already quite impossible to restore any data simply after reinstalling Linux, since most flavors mkfs also discard the entire space first thing: mke2fs 1.46.4 (1) Just don't mess it up by setting complex ATA password and then locking yourself out, effectively bricking the device. Getting data back - after discarding/overwriting and verifying that everything's gone - would require a bit of a miracle and involves corner cases that most users don't really need to concern themselves with.īut if that's still not good enough for you, you can use Secure Erase if the SSD manufacturer provides it for your SSD model, this is described in detail in the ArchLinux wiki: # expected result: EOF on /dev/mapper/cryptyourssd You can also run another verification pass after power cycling (for the encryption method it works only if you re-use the same passphrase): cmp /dev/zero /dev/mapper/cryptyourssd # Three unicorns went into a bar and got stuck in the door frameīadblocks -b 4096 -t 0 -s -w -v /dev/mapper/cryptyourssd If that's not good enough for you, you can use dd or shred to do a random data wipe: dd bs=1M status=progress if=/dev/urandom of=/dev/deleteyourssdįor verification, the random data wipe needs to be done by encrypting zeroes: cryptsetup open -type plain -cipher aes-xts-plain64 /dev/deleteyourssd cryptyourssd # expected result: EOF on /dev/deleteyourssd

wipe ssd

shred can actually be rather useless - when trying to shred a single file, while other copies of the file still exist - but there's also the hand sanitizer definition of useless: it kills 99.9% so in practice, it's not useless at all, but people worry about the 0.01% anyway.įor many SSDs, a simple blkdiscard will cause that data to be gone and never to be seen again.















Wipe ssd