• Scheduled Parity Check did not run


    hawihoney
    • Closed

    These are the settings (see image). I tried to start the parity check for yesterday (thurday) evening. It did not start.

     

    Clipboard01.jpg




    User Feedback

    Recommended Comments

    Yes, I'm on 6.6.6.

     

    My first thought was "calendar week" vs. "week of year" but both is at #1.

     

    Will try again with Friday in first week 23:00 tonight. Will see what happens.

     

    Link to comment

    "First week" means a date between 1 and 7. Combined with the day "Thursday" this translates to Thursday, 3rd of January.

     

    If you change the day to Friday, it should run on Friday, 4th of January.

    Link to comment
    On 1/8/2019 at 2:05 PM, bonienl said:

    For me it works as designed.

    TLDR:

     

    @bonienl,   issue here is that cron on slackware/unRaid doesn't seem to support ranges (and seems to not be  consistent in that not every field allows comma separated values either).  Revert the simplification commit on Sept 8 (https://github.com/limetech/webgui/commit/d07fec0c6ff594783ef0eff1544d3299e57ff7d6#diff-c74d37c40da2052f6f1e7778412b87db) and everything will work fine.

     

    @limetech, this is a bug even though the cron entry appears to be correct.

     

     

    Just happened to have noticed that mine never ran either (on both my servers)

    Untitled.thumb.png.0f8ffc639e79dadcb0c18e5ab346e232.png

     

    While I can't 100% guarantee that both servers wasn't being reset or something when the last parity check was scheduled to happen, it never ran.  Just to test, I've changed it to 2nd week

    Untitled.png.f29e9c6180a0f8b7a8b827d782771409.png

    # Generated parity check schedule:
    0 22 8-14 * 5 /usr/local/sbin/mdcmd check  &> /dev/null || :
    
    
    an 11 21:55:01 ServerA emhttpd: req (11): csrf_token=****************&title=System+Log&cmd=%2FwebGui%2Fscripts%2Ftail_log&arg1=syslog
    Jan 11 21:55:01 ServerA emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
    Jan 11 21:55:01 ServerA crond[1659]: exit status 127 from user root /usr/local/emhttp/plugins/dynamix.system.stats/scripts/sa1 1 1 &>/dev/null
    Jan 11 21:55:20 ServerA root: plugin: running: anonymous
    Jan 11 21:59:51 ServerA emhttpd: req (12): csrf_token=****************&title=System+Log&cmd=%2FwebGui%2Fscripts%2Ftail_log&arg1=syslog
    Jan 11 21:59:51 ServerA emhttpd: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
    Jan 11 22:00:02 ServerA root: Cache used space threshhold (70) not exceeded.  Used Space: 38.  Not moving files
    Jan 11 22:00:42 ServerA kernel: CIFS VFS: Close unmatched open
    Jan 11 22:01:06 ServerA kernel: mdcmd (62): spindown 0
    Jan 11 22:01:07 ServerA kernel: mdcmd (63): spindown 1
    

    So you can see that it never actually ran.

     

    if I however change the cron tab back to the original method you were using to run in the first / second / third / fourth week, it does work fine.

     

    # Generated parity check schedule:
    15 22 * * 5 [[ $(date +%e -d -7days) -le 7 ]] && /usr/local/sbin/mdcmd check  &> /dev/null || :
    
    
    Jan 11 22:15:01 ServerA kernel: mdcmd (64): check 
    Jan 11 22:15:01 ServerA kernel: md: recovery thread: check P ...
    Jan 11 22:15:02 ServerA kernel: md: using 8192k window, over a total of 3907018532 blocks.
    

     

    Edited by Squid
    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.