Re: smartmon email notifications are not always very 'smart' (need stateful information)
Anshuman Aggarwal <[email protected]> Wed, 8 Feb 2017 12:50:13 +0530
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <CAK-d5dbfJCO1Njx+aecpvnHvKYxgGhTEUk24kbQ+5vBpstAQ3g@mail.gmail.com> |
Doh! You always think you're not going to be the noob who hasn't RTFM but then it happens to you. On 7 February 2017 at 11:54, Christian Franke <[email protected]> wrote: > Anshuman Aggarwal wrote: >> >> ... >> I have a drive that is supposedly failing but will likely last me 6-8 >> months more (as part of a raid 6 cluster so I don't feel compelled to >> replace right away, it also allowed a full reconstruction of the 2 TB >> cluster without any issues) It gives the following error notifications >> everyday for the last 3 months via emails. >> >> >> Device: /dev/sdg [SAT], 11 Currently unreadable (pending) sectors >> >> Device: /dev/sdg [SAT], 11 Offline uncorrectable sectors >> >> >> However the number of reallocated and unreadable sectors is NOT going >> up. It stays the same at 11 and 5 and has been for the last 3-4 >> months. >> >> What I *would like* to see is a notification only when the number >> *changes* from the last time the error failed so that I can react to >> that change that the drive is 'worsening'. > > > Try '-C 197+ -U 198+' directives, see smartd.conf man page. > > > Regards, > Christian > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot