#119 scheduled S.M.A.R.T. self-tests don't run on sunday

9.1.0.1
closed
zoon01
None
9
2013-07-26
2013-07-18
No

smartd.conf is created with wrong day numbers. NAS4Free seems to use 0-6 for sunday-monday. Smartd expects 1-7 for monday-sunday.
This way tests scheduled for sunday don't run.

Versions affected:
At least r306 and r775.

Discussion

  • Martijn Boerwinkel

    This patch fixes the problem by changing the webinterface to use the same weekday numbering as smartd. This does mean that after installing the fix one has to reschedule the tests for them to actually run.

     
  • zoon01

    zoon01 - 2013-07-24

    Hello Martijn,

    May I ask why you changed the weekdays?

    In almost all English spoken country's the weekday starts the first day at Sunday.

    Regards,
    zoon01

     
  • Martijn Boerwinkel

    I changed the weekdays because that is what smartd.conf uses. I wanted to keep as close the to actual configuration file as possible.

     
  • zoon01

    zoon01 - 2013-07-26

    Aah yes, your right!

    I have fixed this today.

    Thanks for the reports.

    Regards,
    zoon01

     
  • zoon01

    zoon01 - 2013-07-26
    • status: open --> closed
    • assigned_to: zoon01
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks