I've read some articles and they appear to suggest the idea of using the dd
command to wipe an entire SSD before encrypting it. The drive in question is a Samsung 970 EVO PCIe NVMe V-NAND M.2 2280 250GB MZ-V7E250BW
Correct me if I'm wrong: SSDs maintain a layer of indirection between logical addresses and physical address, so there are risks if you do NOT wipe the entire SSD.
SSDs also don't overwrite on the same page of the modified data. Instead, they write to a new page and leave the original data untouched.
My question is, is it secure to wipe an entire SSD using dd
for example:
dd if=/dev/zero of=/dev/mapper/something_to_wipe status=progress
?
EDIT: A comment mentioned 7 years ago answered part of my question, I'd like a more specific answer to my question.