#1677 closed defect (worksforme)

Unable to Ignore 'unreadable (pending) sectors' Error

Reported by: seanfulton Owned by:
Priority: minor Milestone:
Component: smartd Version:
Keywords: smartd.conf Cc:


I have many, many machines running SSDs and they periodicaly generate errors like this:

Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors

The SSDs tend to reman these failures because they will go away over time. But how to I stop smartd from e-mailing these alerts. Because of the number of machines we have, we can get up to 100 e-mails a day. It makes it difficult to weed out more serious errors.

I have tried the following:
DEVICESCAN -I 197 -m gcn-alerts@… -M exec /usr/libexec/smartmontools/smartdnotify -n standby,10,q


DEVICESCAN -m gcn-alerts@… -M exec /usr/libexec/smartmontools/smartdnotify -n standby,10,q -t -I 197

But the e-mails keep coming. Any idea how to get rid of errors for type 197 failures?

Change History (4)

comment:1 by Christian Franke, 17 months ago

Component: allsmartd
Keywords: smartd.conf added
Milestone: undecided

Warnings for unreadable sectors are configured separately. Try -C 0 to disable these.

Remove -I 197 and add -R 197! -r 197! to receive emails when this attribute changes.

See the smartd.conf man page for details.

comment:2 by seanfulton, 17 months ago

I am trying to not to report changes to 197 at all.

Does -C 0 turn off all reporting or just unreadable sectors? I still want to get drive failure, pending failure messages, etc.

comment:3 by Christian Franke, 17 months ago

Summary: Unable to Ignore Error 197Unable to Ignore 'unreadable (pending) sectors' Error

The directive -C 0 overrides the default -C 197 and therefore only affects this attribute. See man page for more details.

comment:4 by Christian Franke, 17 months ago

Milestone: undecided
Resolution: worksforme
Status: newclosed

These warnings could be disabled with -C 0.

Note: See TracTickets for help on using tickets.