Hello,
First of all, thanks for the reply.
El vie, 24-12-2021 a las 03:30 +0500, Alexander V. Makartsev escribió:
You can review SMART attributes which keep track of device's health and
metrics.
This utility is part of "smartmontools" package.
Run this one-liner to see values of relevant attributes:
$ sudo smartctl -A /dev/sda | grep -E '5 Realloc|183 Runtime|197
Current|199 UDMA'
Here is what they should like on perfectly fine hard drive:
$ sudo smartctl -A /dev/sda | grep -E '5 Realloc|183 Runtime|197
Current|199 UDMA'
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail
Always - 0
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age
Always - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age
Always - 0
Raw values are displayed on the right and they all zeroes. Post the output
you got with next reply.
You should backup or "ddrescue" your data from this drive and RMA\replace it
or better switch to SSD disk.
Well, I installed the package in question and ran the very same command you
said. However, the Runtime_Bad_Block attribute doesn't appear. Here's the
output:
$ sudo smartctl -A /dev/sda | grep -E '5 Realloc|183 Runtime|197 Current|199
UDMA'
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-
fail Always - 0
197
Current_Pending_Sector 0x0032 200 200 000 Old_age Always -
1
199
UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always -
0
If I understood correctly what I read, this means there's one sector waiting
for remapping, right?
That is correct. Drive's firmware should take care of it
automatically or during short or extended self-tests.