Remove outdated smartd entries?

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
smartd is still reporting an unexpected reboot from March. Is there a way I can get rid of this and other outdated messages?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
If you're referring to the system alerts in the upper right corner, those are all cleared on reboot.
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
If you mean the bell icon, that shows "There are no alerts." I'm referring to the regular email reports including high drive temperatures, non-zero Pending_Sector_Count, etc.
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
And I have replaced a drive by one that had previously shown errors but has been "cleaned up" by writing zeroes to it and now shows no uncorrectable errors (using smartctl), but the emailed smartd reports still show that drive with its previous bad sector count.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Can you provide a sample of this e-mail report? It would help me to locate the relevant code in the middleware that generates this report.
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
Code:
FreeNAS @ FreeNAS.******

The following alert has been cleared:
* smartd is not running.

Current alerts:
*FreeNAS.****** had an unscheduled system reboot.
The operating system successfully came back online at Mon Mar 23 15:02:47 2020.

* Device: /dev/da5 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 38/45!).
* Device: /dev/da5 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max ??/45).
* Device: /dev/da5 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 36/45!).
* Device: /dev/da5 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 42/45!).
* Device: /dev/da1 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 39/45!).
* Device: /dev/da7 [SAT], 48 Currently unreadable (pending) sectors.
* Device: /dev/da7 [SAT], 48 Offline uncorrectable sectors.
* Device: /dev/da13 [SAT], 8 Currently unreadable (pending) sectors.
* Device: /dev/da13 [SAT], 8 Offline uncorrectable sectors.
* Device: /dev/da2 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 38/45!).
* FreeNAS.****** had an unscheduled system reboot.
The operating system successfully came back online at Fri Jul 10 19:48:46 2020.

* Device: /dev/da1 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 43/45!).
* Device: /dev/da7 [SAT], 8 Currently unreadable (pending) sectors.
* Device: /dev/da7 [SAT], 8 Offline uncorrectable sectors.
* Device: /dev/da7 [SAT], Self-Test Log error count increased from 0 to 1.
* Device: /dev/da12 [SAT], 16 Currently unreadable (pending) sectors.
* Device: /dev/da12 [SAT], 16 Offline uncorrectable sectors.
* Device: /dev/da13 [SAT], 64 Currently unreadable (pending) sectors.
* Device: /dev/da13 [SAT], 64 Offline uncorrectable sectors.
* Device: /dev/da1 [SAT], Temperature 45 Celsius reached critical limit of 45 Celsius (Min/Max 42/45!).
* Device: /dev/da13 [SAT], 112 Currently unreadable (pending) sectors.
* Device: /dev/da13 [SAT], 112 Offline uncorrectable sectors.
* Device: /dev/da12 [SAT], 24 Currently unreadable (pending) sectors.
* Device: /dev/da12 [SAT], 24 Offline uncorrectable sectors.
* Certificate 'freenas-pre-certui' has expired.
* Pool Main_Pool_7x8TB state is ONLINE: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected..

/dev/da7 is the drive that has been "fixed" and

smartctl -x /dev/da7

now shows no errors

/dev/da13 has also been written with zeroes, and an initial smartctl -a test showed no errors, but a smartctl long test still has a few hours to run; it was replaced by /dev/da7. I am intending to use it as a replacement for /dev/da12.
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
I have discovered that the chrome browser on my Linux box does not play nice with the FreeNAS GUI: when I use Brave or Firefox, the bell icon shows all the alerts. (Pool -> STATUS doesn't work with the Chrome browser either: shows only the column headers.)
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, then if you acknowledge all the bell alerts, that should clear out the e-mail report as well.
 

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
OK, then if you acknowledge all the bell alerts, that should clear out the e-mail report as well.
Yes, that does it. Thanks.

Are there any other reports of Chrome not playing nice with FreeNAS?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
There's browser issues all throughout the forums.
 
Top