On 7/12/25 06:19, rhkramer@gmail.com wrote:
On Thursday, July 10, 2025 10:41:18 PM David Christensen wrote:On 7/10/25 04:07, songbird wrote:I was able to get some SSD replacements and want to add them to my existing setup,Be sure to do a secure erase before you put the SSD's into service: https://en.wikipedia.org/wiki/Secure_Erase#Secure_eraseWhy do you recommend that? Are you assuming the SSDs songbird got are used, or do you recommend that even for new SSDs -- if so, why? Thanks!
1. Remove any and all data for security and legal/ liability reasons. Only secure erase can erase factory over-provisioned and hidden blocks.
2. Provide a starting condition for maximum write performance (with subsequent fstab(5) 'discard' and/or fstrim(8)).
I would expect a new SSD to be securely erased by the factory, but would check this assumption (and do an informal sequential read benchmark):
2025-07-12 12:13:02 root@laalaa ~ # time dd if=/dev/sdb bs=1M | hexdump -C00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
* df99e6000 57241+1 records in 57241+1 records out 60022480896 bytes (60 GB, 56 GiB) copied, 204.361 s, 294 MB/s real 3m24.366s user 1m25.872s sys 1m17.036s David