• [6.9.0, 6.9.1, 6.9.2] Extended SMART self-test does not prevent spin-down


    John_M
    • Annoyance

    If an extended SMART self-test takes longer than the configured spin-down delay for the array disk, then the disk spins down and the self test is aborted. This behaviour is different from Unraid 6.8, where spin-down was temporarily suspended until after the self-test had completed. The message "SMART self test in progress" appears but the spin-down prevention doesn't operate.

     

    Previously noticed affecting 6.9.0-rc2 and reported here:

     

     

    • Like 1


    User Feedback

    Recommended Comments

    I've retested with Unraid 6.9.1 and the behaviour seems to be a little different.

     

    Drives are still spun down after the spin-down timer runs down, despite "SMART self-test in progress" being displayed BUT the self-test seems to be suspended instead of aborted. Switching back to the Main page and spinning up the drive then clicking on the drive name shows the self-test to be still in progress. After some more minutes the progress updated to 20%. I'll leave it for another hour and see if it spins down again. I expect it will.

     

    • Thanks 1
    Link to comment
    Share on other sites

    As expected, it did spin down again after another hour. I spun it up again and the self-test continued, advancing to 30% complete after a while. I've now temporarily changed the spin-down delay manually to 8 hours to allow it to complete overnight.

     

    Link to comment
    Share on other sites

    When I checked back it had completed successfully. I'll change the title of the thread.

    Link to comment
    Share on other sites
    12 hours ago, John_M said:

    The behaviour in Unraid 6.9.2 is the same.

     

    Ok we can check if self-test is in progress when we think it's time to spin-down and reset spin-down timer instead of spinning down.  I'll add that to work queue for next release.

    • Thanks 1
    Link to comment
    Share on other sites

    The current implementation in the GUI is a kind of a hack. Before starting the long self-test it will change the spin-down timer setting to "never" and restores it to original setting once the self-test is completed. Though setting restoral doesn't always work.

     

    If you plan changes, we should address the GUI too and make it a proper solution inline with emhttpd.

     

    Link to comment
    Share on other sites
    1 hour ago, bonienl said:

    Before starting the long self-test it will change the spin-down timer setting to "never" and restores it to original setting once the self-test is completed. Though setting restoral doesn't always work.

     

    That's how it used to work for me on Unraid 6.8 and earlier and, yes, I noticed that sometimes it remained stuck on "Never". It all changed during the 6.9-rcs with the self-tests being aborted due to the disk spinning down. That changed again between 6.9.0 and 6.9.1 where the disk still spins down after the configured delay but the self-test is no longer aborted and is able to continue when the disk is spun up again. I like Tom's idea of checking for a self-test in progress when the timer runs down. In the meantime, it's just an annoyance and if I need to do a self-test "for real" I'll either stop the array or set the time-out to "Never" manually.

    Link to comment
    Share on other sites
    3 hours ago, bonienl said:

    The current implementation in the GUI is a kind of a hack. Before starting the long self-test it will change the spin-down timer setting to "never" and restores it to original setting once the self-test is completed. Though setting restoral doesn't always work.

     

    If you plan changes, we should address the GUI too and make it a proper solution inline with emhttpd.

     

     

    I, umm..., ripped that code out, I think for 6.9.1?   maybe 6.9.0.

    Link to comment
    Share on other sites


    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.