#1024237 drop meaningless EMails

Package:
smartmontools
Source:
smartmontools
Description:
control and monitor storage systems using S.M.A.R.T.
Submitter:
Harald Dunkel
Date:
2023-03-27 17:33:05 UTC
Severity:
normal
#1024237#5
Date:
2022-11-16 09:28:45 UTC
From:
To:
Every day I get 2 EMails from smartmontools saying

	Device: /dev/sda [SAT], 36 Currently unreadable (pending) sectors
and
	Device: /dev/sda [SAT], 36 Offline uncorrectable sectors

The 36 is constant for the last year (at least). AFAIK this is nothing
to worry about, unless the drive reports other failures.

Before bullseye there were no such EMails, AFAIR. Would it be possible to
avoid this monitoring noise? Other smart attributes are not reported by
EMail, either.


Thank you very much
Harri

#1024237#10
Date:
2023-03-17 07:02:12 UTC
From:
To:
I too fail to see the point of these emails.  I've gotten 562 of these
emails so far since the start of 2022, without any updated numbers since
the initial email.

What is the idea behind these emails?  What is the recommended way to
turn them off?

#1024237#15
Date:
2023-03-27 17:23:48 UTC
From:
To:
The drive reports bad sectors pending for reallocation (HDD) or retirement (SSD).

Run a long self-test (smartctl -t long ...). Also check Device Statistics and Pending Defects log (smartctl -l devstat -l pending ...).
If no bad LBA is reported, disable the emails by '-C 197+ -U 198+' in smartd.conf. See "man smartd.conf" for details.
Otherwise fix the bad sectors by overwriting.