Answer the question
In order to leave comments, you need to log in
Zero out a solid state drive with dd - will it work?
If you do the following with a solid state drive: # dd if=/dev/zero of=/dev/sda bs=4K
Then it will be overwritten just like a regular HDD and the information will disappear?
Will it be dangerous for him later (won't performance decrease)?
Answer the question
In order to leave comments, you need to log in
Then it will be overwritten just like a regular HDD and the information will disappear?
blkdiscard
. Since it is generally quite harmful for an SSD to be completely full, and it turns out to be such at the moment between the completion of dd and the start of blkdiscard. blkdiscard -s -z /dev/sda
.
Then it will be overwritten just like a regular HDD and the information will disappear?Yes. True, not all, some will remain in the reserve area. But recovering it from there is almost unbelievable.
ssd and hdd have support for the ata secure erase command, which is faster than a simple dd and is guaranteed to erase the entire disk
In general, if my memory serves me, it is more efficient to do erasure on an SSD by resetting the key that encrypts data in memory.
1) There is no point in specifying bs
2) There are special commands for cleaning the SSD: https://wiki.archlinux.org/index.php/Solid_State_D...
3) Not dangerous; the resource of memory cells will decrease slightly, but this is not something to worry about with modern SSDs
If you overwrite with zeros, then the controller will successfully compress them into zero and only the beginning will be erased in each block. And in order to get the data, even the mythical tunneling microscope would not be required, which supposedly could read data from pancakes of mechanical disks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question