Re: read and write back full disk to trigger relocation
- In reply to: Lena_a_lena.kiev.ua: "Re: read and write back full disk to trigger relocation"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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? >