Hi,
Michael Stone wrote on 05/12/2024 18:41:
On Thu, Dec 05, 2024 at 10:26:18PM +0700, Max Nikulin wrote:
On 05/12/2024 16:19, Jörg-Volker Peetz wrote:
1. SSD's have some self healing capacities (discarding defect sectors) which
are performed when the drive is not mounted. Therefore, enter the BIOS of the
computer and let it running for ca. an hour. Then restart the computer.
I am curious which way OS notifies a drive that it is mounted. I believed that
drivers read and write blocks, maybe switch power save states, but mount is
performed on a higher level.
It doesn't: leaving the system unmounted ensures that the drive is idle, but in
general that's not necessary--just leaving the system alone will usually have
the same result unless you've got a runaway process chewing on the disk. The SSD
will do maintenance tasks when it's idle, or under pressure (has no other choice
because there are no writable blocks available).
Should have been more clear. The drive should be idle for a longer time. This is
assured by not mounting any partition of the SSD.
I was able to "repair" unreadable sectors on a built-in SSD of an HP-Probook
laptop. As far as I remember I also deleted files which could not be read any
more because of defective sectors and restored the files from backup. Such
unreadable files can be found by performing, e.g., a checksum calculation of all
files on the SSD. Then, leaving the SSD alone, it was able to "replace" the
defective sectors by spare sectors.
Regards,
Jörg.