• [6.9.2] - User share drive calculations includes pools not participating in user shares


    tjb_altf4
    • Minor

    So I noticed that a user share drive listing (used for computing share size) includes pools that are set to not participate in user shares, when they happen to have the same top level folder name as those other shares.

    This leads to incorrect size calculations.

     

    Note that the folder itself however does not appear in the SMB user share (as expected), and so this is more of a cosmetic issue that also impacts utilization calculations, rather than a functional problem with user share file/folder inclusions.

     

    User share list:

    image.png.8d9621392db81e6535a7431f21e38c5e.png

     

    Disk share list (pool not participating in user shares):

    image.png.3f5ddd5eab917153eb16615832b8dd55.png

     

    Shares size compute detail:

    image.png.785d090d09231c0a4d5c53e090e6dbae.png




    User Feedback

    Recommended Comments

    Any disk with a top level folder for a share IS participating in that share, regardless of the settings configured for that share. How that top level folder is created doesn't matter, if it exists it will add to the share calculation.

     

    Inclusion and exclusion, pool setting, etc only apply to new files written to the share.

     

    The only exception is if the disk is globally excluded from user shares.

     

    User shares are simply the combined view of root folders on all disks and pools.

    Link to comment
    28 minutes ago, jonathanm said:

    The only exception is if the disk is globally excluded from user shares.

    It's a disk share (pool share technically lol) as it has been globally excluded from user shares. 

    image.png.3df48e4dba521d2cdfab8ba19bde426e.png

    The disk share happens to have a folder on it of the same name as a user share.

    The files in the folder "chia" on the Scratch pool do not appear in the user share "chia" (expected behavior), however it is included for "chia" user share size calculations (unexpected behavior).

    Edited by tjb_altf4
    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.