• [6.10.0-rc7] Unable to schedule btrfs scrubs for cache pools


    greenflash24
    • Solved Minor

    The same issue was also present in -rc3, -rc4 and -rc5.

     

     

    As the title says I am unable to schedule btrfs scrubs. I can choose for example "weekly" then hit "apply" but this change is not gettinge saved / applied. I can reproduce this issue with all of my three btrfs cache pools (single device, raid1 and raid10).

     

    I have recorded a short video to show this behavior I am experiencing:

     

     




    User Feedback

    Recommended Comments

    I have powered down my server pluged the flash drive into my windows pc and ran a file system check: --> no errors were found.

     

    After booting my Unraid Server again, i tried if i could change other settings (for example SMART temperature settings within a cache pool), and they were all saved successfully. Just not the scrub scheduling.

     

    I also doubt that my flash drive is faulty, as i have replaced it a few months ago.

    Edited by greenflash24
    Link to comment

    @bonienl I have recently noticed, that the scheduling for the scrubs are indeed beeing saved correctly and they are also executed.

     

    I can see this from the syslog:

    466822794_Screenshot2022-05-09142859.thumb.png.56d6b6a8a4ee0192dbe437d3409ddba8.png

     

     

    So the only problem, which still persists is, that the schedule which is currently set for a pool is not shown.

    Instead it shows always "disables" though there is actually a schedule set. So this should be fixed anyway.

    Link to comment
    1 hour ago, greenflash24 said:

    So the only problem, which still persists is, that the schedule which is currently set for a pool is not shown.

    This is working fine for me (tested on different browsers).

    It must be something to your browser. Try incognito mode of the browser, and see if that makes a difference.

     

    Link to comment

    Sorry, also no luck with different Browsers and incognito mode.

    I have now not only tried Chrome, but also firefox, both also tested with incongnito.

     

    I have even booted a clean ubuntu-live image and tried the included firefox there, still no luck.

     

    image.thumb.png.b7bdc8738de7881ef56022e18c6f6da5.png

     

    Could it be anything else? Maybe the name of my cache pool causes issues (it includes a "-" in the name)?

     

    • Thanks 1
    Link to comment

    I can replicate your issue when changing to a name which has a "-" in it.

    Working on a fix.

    Thx for testing.

     

    Made a fix.

     

    • Like 1
    • Thanks 1
    Link to comment
    29 minutes ago, bonienl said:

    I can replicate your issue when changing to a name which has a "-" in it.

    Thx for testing.

    Your welcome 👍

     

    29 minutes ago, bonienl said:

    Made a fix.

    Thank you a lot!

    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.