On 12/24/21 7:31 AM, rhkra...@gmail.com wrote:
On Thursday, December 23, 2021 05:30:32 PM Alexander V. Makartsev wrote:
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'
I'm not the OP, and not very familiar with smartmon / smartctl, but I ran the
recommended command on the two disks in my oldest system, and the results are
posted below. (Aside: at some point, in the near future, I'll read the
relevant manpage to better understand that output.)
I also see the advice from Dave Christensen on additional tests to run and
will try those in the near future, ideally next week.
/dev/sda is an SSD (which hold my system and doesn't get much writing),
/dev/sdb is an HDD (which holds my "user data").
Should I be worried?
root@s19:~# smartctl -A /dev/sda | grep -E '5 Realloc|183 Runtime|197
Current|199 UDMA'
5 Reallocated_Sector_Ct 0x0033 100 100 036 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
root@s19:~# smartctl -A /dev/sdb | grep -E '5 Realloc|183 Runtime|197
Current|199 UDMA'
5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always
- 12
root@s19:~#
Examining specific SMART parameters out of context may be useful for
someone who is familiar with specific drives, but I suggest including
the entire report when posting to a mailing list (I typically redact the
serial number):
# smartctl -x /dev/sda
# smartctl -x /dev/sdb
While SMART reports are mostly standardized, each manufacturer may
provide specific parameters and/or specific interpretations. The whole
report should include model number, hardware version, firmware version,
etc., of the drive, which can be used to find a manufacturer document
that explains these details.
David