On 2023-02-01 00:00, Chuck Guzis via cctalk wrote:
On 1/31/23 20:16, Ali via cctalk wrote:
If you look at the specs for SSDs or any flash medium
for that matter,
they're rated in terms of *write* cycles, which is why you don't want to
abuse that.
right
But, in most OS you can check the SMART data, to get an idea
However, it may well be that writing is the only way
to refresh cells,
as reading won't, if I understand flash operation correctly.
Reading ensures, that the cells are checked. if they fall below specific
thresholds, they will be copied to another block
But
rewriting a sector or block of a file doesn't usually write back to the
original, because of the write-leveling firmware in the drive.
right
JEDEC requires data retention of a consumer drive for
at least 1 year,
which doesn't sound like much; real retention is probably much longer.
retension in case of power off.
If the power is applied all the time, the internal controller "can"
check the quality of the cells automatically (but this really depends on
the controller, controller version, and the OS has to chose the right
strategy. And the controllers improved a lot lately)
You can write a script that write-refreshes every file
on the drive.
Please don't :)
Just tell the controller to run a refresh ...
The easiest thing is to buy a second drive and
ping-pong the data
between them periodically. That way, if one fails, you still have the
other for backup.
Disagree here, just run a compare between the two drives.
a.) it will read all files, and the controller checks them in the
background (will move them, if necessary)
b.) you know, that after the compare you still have the data twice, on
independent drives
cheers