• [6.9.1] R/W counters don't increment despite disk activity


    CS01-HS
    • Closed Minor

    My guess is this is related to the spindown fix in 6.9.1.

     

    I'm rsync-ing from the 3rd partition (Data) of a disk mounted through UD. You can see reads at 14.7MB/s:

    357704955_ScreenShot2021-03-18at12_35_01PM.thumb.png.1cea0d6029dd443dc91149d2faadfd1c.png

     

    If I switch the view to counters though it shows 0 reads:

    161878193_ScreenShot2021-03-18at12_34_45PM.thumb.png.0dec32f0eab835ea770dbe390713690c.png

     

    I suspected the R/W rate looks at disk-level stats but the counters look at partition-level stats and only the 1st partition (so my sync from partition 3 doesn't register.)

     

    I confirmed this by running an rsync from the 1st partition:

    rsync --dry-run -avc --progress /mnt/disks/APconfig /tmp/

     

    And as expected the counters increment and the disk is reported active:

    1217217382_ScreenShot2021-03-18at12_51_15PM.thumb.png.9f87a18b93bb0f5bc07a8b56ac691673.png

     

    I think the fix is to track the sum of disk stats over all partitions but I can imagine why you didn't.

    nas-diagnostics-20210318-1256.zip




    User Feedback

    Recommended Comments

    Is there a risk of data corruption if unraid spins down the disk while another partition is being written to? That'd be my only concern.

    Link to comment
    1 hour ago, CS01-HS said:

    Is there a risk of data corruption if unraid spins down the disk while another partition is being written to? That'd be my only concern.

    Shouldn't be.  What will happen is disk will spin right back up.  Use of multiple partitions is not supported at this time.

    • Thanks 1
    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.