Fix bug that prevented email alert on SMART errors

Description

Just realized I had a smart self-test error recurring from at least 2 weeks on ada1, with no alerts by freenas at all. On reboot, I got a pending sectors error. Testing once a day with one long test once a week. On 11.1 I had a similar fault with regular alert by mail.

SMART Extended Self-test Log Version: 1 (1 sectors)
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error

1 Short offline Completed without error 00% 21758 -
2 Extended offline Completed: read failure 90% 21735 50075456
3 Short offline Completed without error 00% 21734 -
4 Short offline Completed: read failure 10% 21710 58141392
5 Short offline Completed: read failure 10% 21686 58141392
6 Short offline Completed without error 00% 21662 -
7 Short offline Completed: read failure 10% 21638 58130920
8 Short offline Completed: read failure 10% 21614 58130920
9 Short offline Completed without error 00% 21590 -
#10 Extended offline Completed: read failure 90% 21567 50075456
#11 Short offline Completed: read failure 10% 21566 58130920
#12 Short offline Completed: read failure 10% 21542 58130920
#13 Short offline Completed: read failure 10% 21518 58130920
#14 Short offline Completed: read failure 10% 21494 58130920
#15 Short offline Completed: read failure 10% 21470 58130920
#16 Short offline Completed: read failure 10% 21446 58130920
#17 Short offline Completed without error 00% 21422 -
#18 Extended offline Completed: read failure 90% 21399 50075456

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Jeff Ervin September 5, 2019 at 1:35 PM

Test Passed TrueNAS-11.2-INTERNAL-34

Offlined a disk, degraded pool.  Email received as well as Support notified via email.

Bug Clerk August 9, 2019 at 12:46 PM

Fabio Genovese August 9, 2019 at 5:55 AM

thank you for quick response  hope we'll save some pool out there.

Vladimir Vinogradenko August 8, 2019 at 9:41 PM

thank you very much for your help, your HDD did not die in vain!

Bug Clerk August 8, 2019 at 9:39 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Affects versions

Priority

More fields

Katalon Platform

Created August 5, 2019 at 7:59 PM
Updated July 1, 2022 at 4:34 PM
Resolved September 5, 2019 at 10:41 PM