Re: read and write back full disk to trigger relocation

From: Kira <nyakov13_at_gmail.com>
Date: Tue, 30 May 2023 18:57:35 UTC
No, SSDs have entirely different behaviour, you just lover SSD life by doing so.

SSDs automatically refresh decaying data. To be sure you may want to read all of it like so:

dd if=/dev/ssddev of=/dev/null bs=1m


30 мая 2023 г. 18:25:13 GMT+02:00, Lena@lena.kiev.ua пишет:
>> From the dd(1) manpage:
>> 
>>      Do a refresh of a disk drive, in order to prevent presently recoverable
>>      read errors from progressing into unrecoverable read errors:
>> 
>>            dd if=/dev/ada0 of=/dev/ada0 bs=1m
>> 
>> That won't trigger relocation, but it will refresh the decaying data.
>
>Would that be useful for SSD?
>