• Cannot stop array: "cannot unmount '/mnt/cache/appdata': pool or dataset is busy"


    jademonkee
    • Solved Minor

    Hi there,

    I recently changed my cache drive from btrfs to zfs, and now when I try and stop the array, it gets stuck trying to unmount the disk shares.

    If I try and shutdown the array, it has to force a shutdown.

    I have this in the syslog:

    Jul 12 20:10:33 Percy emhttpd: Unmounting disks...
    Jul 12 20:10:33 Percy emhttpd: shcmd (267285): /usr/sbin/zpool export cache
    Jul 12 20:10:33 Percy root: cannot unmount '/mnt/cache/appdata': pool or dataset is busy
    Jul 12 20:10:33 Percy emhttpd: shcmd (267285): exit status: 1
    Jul 12 20:10:33 Percy emhttpd: Retry unmounting disk share(s)...

    Diagnostics from a previous force shutdown are attached (I have two others - one earlier, and one just now - that I can add too, if need be).

     

    I have my Dockers mapped to disk shares (including /mnt/cache/appdata/) for performance purposes, so am unsure if it's related to using disk shares rather than the user share.

     

    Your help is appreciated.

    percy-diagnostics-20230712-2010.zip




    User Feedback

    Recommended Comments

    Thanks, that command allowed me to stop the array.

    I've just updated to v6.12.3-rc3 and tried stopping the array and it worked without having to issue the command.

    I'll report back if it happens again.

    • Like 1
    Link to comment

    @JorgeB I followed your instructions, diagnosed it with the exact same fault, update but now I'm facing 

     

    ```
    mount: /var/lib/docker: mount(2) system call failed: No such file or directory.
    ```

     

    after the un-mount do I need to re-mount?

    • Upvote 1
    Link to comment
    On 7/26/2023 at 9:30 PM, OliverButler said:

     I followed your instructions, diagnosed it with the exact same fault, update but now I'm facing 

    Please reboot and post new diags after the issue.

    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.