• 6.9.2 - Stale file handle on SMB shares


    SuberSeb
    • Closed

    Hello.

    I have 2 Unraid servers with 6.9.2. When I mount SMB share from one server to another I have that really annoying error "Stale file handle". So I simply can't mount my shares. Need support for this or fix.




    User Feedback

    Recommended Comments

    I always use NFS when sharing one server's files with another and I've never had any trouble with stale file handles.

    Link to comment
    2 minutes ago, John_M said:

    That was not my suggestion. Did you read the thread?

    Yeah. I have set this to -1. Also I tried to disable hard links when I'm using SMB, it doesn't help.

    Link to comment

    Thank you all for support.
    I turned off hard links and there are no more stale file handle errors. But this solution works only for NFS. My SMB shares still have that problem. Also turning off hard links affects important functionality (sonarr, radarr, lidarr, etc.).
    I think that turning off hard links is not a good solution for that problem because you fix one functionality and broke another. That errors is really annoying, servers just can't make backups to each other.

    Edited by SuberSeb
    Link to comment
    9 hours ago, TristinP said:

    Are you using a cache drive?

    Yes, RAID1 btrfs cache on all shares (10GbE network). If I turn off cache, there are no more stale file handle errors. But this is not an option for me.

    Edited by SuberSeb
    Link to comment
    On 4/18/2021 at 11:53 PM, SuberSeb said:

    Yes, RAID1 btrfs cache on all shares (10GbE network). If I turn off cache, there are no more stale file handle errors. But this is not an option for me.

    Turn on disk shares. I was pulling my hair out trying to figure this out last week on my servers.

    Edited by TristinP
    Link to comment

    I have applied a fix in the latest update to UD that should solve the SMB stale handles.  NFS continues to be an issue.

     

    This is not a bug in Unraid and should be closed.

    Link to comment
    18 hours ago, dlandon said:

    This is not a bug in Unraid and should be closed.

    So maybe it's not a bug, but this is really annoying. I think this shouldn't work like this. You need to turn off hard links or cache on share to prevent this errors. It's not solution for this problem because you have to broke one functionality to fix another.

    Link to comment
    5 hours ago, SuberSeb said:

    So maybe it's not a bug, but this is really annoying. I think this shouldn't work like this. You need to turn off hard links or cache on share to prevent this errors. It's not solution for this problem because you have to broke one functionality to fix another.

    SMB has been fixed in the latest release of UD. Use SMB for remote shares.

     

    NFS is still a problem and is a design problem in NFS.  It cannot handle the file handle change when a file is moved by the mover.  Post a bug report to the developers of NFS.

    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.