We have got a server running Ubuntu Linux 18.04.6. Smartd is configured to send alert emails when one of the hdds goes bad. It has done so several times and the hdd in question has been replaced (weeks ago). But the messages keep getting sent for that hdd which doesn't even exist any more in the system. Today 2022-10-07 I got:
This message was generated by the smartd daemon running on:
host name: server
DNS domain: domain.com
The following warning/error was logged by the smartd daemon:
Device: /dev/sdi [SAT], Failed SMART usage Attribute: 7 Seek_Error_Rate.
Device info:
WDC WD6003FRYZ-01F0DB0, S/N:V9JLADNL, WWN:5-000cca-0bde484c2, FW:01.01H01, 6.00 TB
For details see host's SYSLOG.
You can also use the smartctl utility for further
investigation.
The original message about this issue was sent at Fri Aug 12 20:40:12 2022 CEST
Another message will be sent in 24 hours if the problem persists.
Back then it was a 6 TB WD hdd, now its a 8 TB Seagate hdd, so I am pretty sure the error cannot persist.
The server has been rebootet at least twice during that time.
Where should I look for the reason?
EDIT:
I just found the directory
/var/lib/smartmontools
which contains several *.csv and *.state files which seem to contain the attribute values of the files, e.g.
attrlog.ST1000DM003_1ER162-Z4Y3R2ER.ata.csv
and
smartd.ST18000NM000J_2TV103-ZR5C0BVS.ata.state
Apparently these files are used to store the current state (.state) as well as some kind of history (.csv)
Unfortunately there is no such file for the WD drive this is all about.