I recently upgraded to 7.0.0-beta2 and when I try to stop the array I always get this error repeating:
Sep 28 22:33:48 unraid root: rmdir: failed to remove '/mnt/user': Device or resource busy
Sep 28 22:33:48 unraid emhttpd: shcmd (502): exit status: 1
Sep 28 22:33:48 unraid emhttpd: shcmd (504): rm -f /boot/config/plugins/dynamix/mover.cron
Sep 28 22:33:48 unraid emhttpd: shcmd (505): /usr/local/sbin/update_cron
Sep 28 22:33:48 unraid emhttpd: Retry unmounting user share(s)...
Sep 28 22:33:53 unraid emhttpd: shcmd (506): /usr/sbin/zfs unmount -a
Sep 28 22:33:53 unraid emhttpd: shcmd (507): umount /mnt/user
Sep 28 22:33:53 unraid root: umount: /mnt/user: target is busy.
Sep 28 22:33:53 unraid emhttpd: shcmd (507): exit status: 32
Sep 28 22:33:53 unraid emhttpd: shcmd (508): rmdir /mnt/user
When I try to run lsof /mnt/user or fuser /mnt/user it just hangs indefinitely.
So I checked if /mnt/user actually exists
root@odroidxu4:~# ls -la /mnt
total 8
drwxr-xr-x 2 root root 4096 Feb 10 2024 .
drwxr-xr-x 19 root root 4096 Mar 15 2024 ..
And it does not. So if /mnt/user is already unmounted, how in the world could the device be busy and block the array from stopping?