Unraid - 6.12 ZFS, Stopping array did not properly unmount docker


Recommended Posts

May 15 12:21:21 Tower emhttpd: Unmounting disks...
May 15 12:21:21 Tower emhttpd: shcmd (1996844): /usr/sbin/zpool export cache
May 15 12:21:21 Tower root: cannot unmount '/mnt/cache': pool or dataset is busy
May 15 12:21:21 Tower emhttpd: shcmd (1996844): exit status: 1
May 15 12:21:21 Tower emhttpd: Retry unmounting disk share(s)...
May 15 12:21:26 Tower emhttpd: Unmounting disks...
May 15 12:21:26 Tower emhttpd: shcmd (1996846): /usr/sbin/zpool export cache
May 15 12:21:26 Tower root: cannot unmount '/mnt/cache': pool or dataset is busy
May 15 12:21:26 Tower emhttpd: shcmd (1996846): exit status: 1
May 15 12:21:26 Tower emhttpd: Retry unmounting disk share(s)...
May 15 12:21:31 Tower emhttpd: Unmounting disks...
 

 

root@Tower:/mnt# mount | grep cache
/mnt/cache on /mnt/cache type zfs (rw,noatime,xattr,posixacl)
/mnt/cache/system/docker/docker.img on /var/lib/docker type btrfs (rw,noatime,ssd,space_cache=v2,subvolid=5,subvol=/)
/mnt/cache/system/docker/docker.img on /var/lib/docker/btrfs type btrfs (rw,noatime,ssd,space_cache=v2,subvolid=5,subvol=/)
root@Tower:/mnt# umount /var/lib/docker/btrfs/
root@Tower:/mnt# umount /var/lib/docker


Just- a heads up. Was wondering why the array wouldn't stop, after some researching, appears the docker images were still mounted. 

cache = zfs mirrored pool.

Link to comment

Same issue here in 6.12.0-rc6.

 

May 20 00:50:48 Server emhttpd: shcmd (14375): exit status: 1
May 20 00:50:48 Server emhttpd: Retry unmounting disk share(s)...
May 20 00:50:49 Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update
May 20 00:50:53 Server emhttpd: Unmounting disks...
May 20 00:50:53 Server emhttpd: shcmd (14376): /usr/sbin/zpool export cache
May 20 00:50:53 Server root: cannot unmount '/var/lib/docker/zfs/graph/fbdd434d278a6b358e9f110837ca89f2bba5eff09a3b4cb74f2ed64d8de68e7a-init': unmount failed

Link to comment
17 hours ago, sasbro97 said:

Same issue here in 6.12.0-rc6.

 

May 20 00:50:48 Server emhttpd: shcmd (14375): exit status: 1
May 20 00:50:48 Server emhttpd: Retry unmounting disk share(s)...
May 20 00:50:49 Server flash_backup: adding task: /usr/local/emhttp/plugins/dynamix.my.servers/scripts/UpdateFlashBackup update
May 20 00:50:53 Server emhttpd: Unmounting disks...
May 20 00:50:53 Server emhttpd: shcmd (14376): /usr/sbin/zpool export cache
May 20 00:50:53 Server root: cannot unmount '/var/lib/docker/zfs/graph/fbdd434d278a6b358e9f110837ca89f2bba5eff09a3b4cb74f2ed64d8de68e7a-init': unmount failed

 

Really need to see full diagnostics.  Also please post issues for -rc releases here.

Link to comment
  • 2 weeks later...
  • 1 month later...

I had the same issue. Stopped all containers and turned off Docker to edit network settings and when I attempted to start docker again it could not because the image was already mounted. I could not find support online so I rebooted, it could not unmount the share with my docker image and eventually had an unclean shutdown and reboot. Not very useful without my diagnostics but figured I would also chime in. I am on the latest release 6.12.2.

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
Reply to this topic...

×   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.