|
|
Log in / Subscribe / Register

Crypto/Block Erase

Crypto/Block Erase

Posted Apr 6, 2017 4:18 UTC (Thu) by fratti (subscriber, #105722)
In reply to: An update on storage standards by MattJD
Parent article: An update on storage standards

It seems more likely to me that Crypto- and Block-Erase would simply be ineffective in SSDs, though I do not know much about NVMe. SSDs usually hide the actual cells behind a controller that does cell wear management and garbage collection.

This is also why SSD lives are actually longer than some people think, and why it's a good idea to leave a portion of your SSD unoccupied at all times. The controller will shuffle around which cells it uses to write to in order to ensure that all cells are worn about equally. As a side effect, this means that doing things such as writing random data over "the entire" drive is not guaranteed to actually destroy all data on it, since the controller may distribute that written data over the cells as it sees fit, as if there was another block layer below the block layer of the OS.


to post comments

Crypto/Block Erase

Posted Apr 6, 2017 19:06 UTC (Thu) by mageta (subscriber, #89696) [Link] (1 responses)

No. "SANITIZE" is just a "simple" command (I assume this is much like the SANITIZE we have in SCSI SBC command). The device/-server can implement that command however it likes.. so if a SSD would provide a compliant implementation it would obviously have to do so in a way that really sanitizes the blocks addressed in the command.

Crypto/Block Erase

Posted Apr 6, 2017 22:21 UTC (Thu) by fratti (subscriber, #105722) [Link]

We're not disagreeing. I'm not talking about SANITIZE. I'm talking about how a classic erase/overwrite as is done on spinning platter disks would be ineffective on SSDs due to their wear levelling, thus if block erasure worked the same as on spinning platter drives, it would be harmful to SSDs.

Crypto/Block Erase

Posted Apr 6, 2017 22:57 UTC (Thu) by jhoblitt (subscriber, #77733) [Link]

I had assumed that NVMe devices had a hidden log structured filesystem similar to SATA/SAS devices for wear leveling. Is that not always the case?


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds