konaboy Posted March 26, 2021 Share Posted March 26, 2021 When I stop the array, almost all the time I'll end up in a loop trying to unmount /mnt/user. I've looked through various posts where people have the same problem, and haven't been able to figure this out. Running 'lsof /mnt/user' in the console outputs nothing. I do use rclone and mergerfs - which I thought might be the culprit. However, even when I reboot, and don't run the rclone/mergerfs, I still get the problem. I'm attaching the diagnostic file. Thanks. Quote Mar 26 13:49:01 Tower emhttpd: Stopping File Activity... Mar 26 13:49:03 Tower Recycle Bin: Stopping Recycle Bin Mar 26 13:49:03 Tower emhttpd: Stopping Recycle Bin... Mar 26 13:49:03 Tower unassigned.devices: Unmounting All Devices... Mar 26 13:49:04 Tower emhttpd: /usr/local/emhttp/plugins/user.scripts/backgroundScript.sh "/tmp/user.scripts/tmpScripts/Rclone Unmount Shutdown/script" >/dev/null 2>&1 Mar 26 13:49:04 Tower emhttpd: shcmd (137): /etc/rc.d/rc.samba stop Mar 26 13:49:04 Tower emhttpd: shcmd (138): rm -f /etc/avahi/services/smb.service Mar 26 13:49:04 Tower emhttpd: shcmd (140): /etc/rc.d/rc.nfsd stop Mar 26 13:49:04 Tower rpc.mountd[12805]: Caught signal 15, un-registering and exiting. Mar 26 13:49:05 Tower emhttpd: Stopping mover... Mar 26 13:49:05 Tower emhttpd: shcmd (141): /usr/local/sbin/mover stop Mar 26 13:49:05 Tower kernel: nfsd: last server has exited, flushing export cache Mar 26 13:49:05 Tower root: mover: not running Mar 26 13:49:05 Tower emhttpd: Sync filesystems... Mar 26 13:49:05 Tower emhttpd: shcmd (142): sync Mar 26 13:49:06 Tower emhttpd: shcmd (143): umount /mnt/user0 Mar 26 13:49:06 Tower emhttpd: shcmd (144): rmdir /mnt/user0 Mar 26 13:49:06 Tower emhttpd: shcmd (145): umount /mnt/user Mar 26 13:49:06 Tower root: umount: /mnt/user: target is busy. Mar 26 13:49:06 Tower emhttpd: shcmd (145): exit status: 32 Mar 26 13:49:06 Tower emhttpd: shcmd (146): rmdir /mnt/user Mar 26 13:49:06 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy Mar 26 13:49:06 Tower emhttpd: shcmd (146): exit status: 1 Mar 26 13:49:06 Tower emhttpd: shcmd (148): /usr/local/sbin/update_cron Mar 26 13:49:06 Tower emhttpd: Retry unmounting user share(s)... Mar 26 13:49:07 Tower rsyslogd: [origin software="rsyslogd" swVersion="8.2002.0" x-pid="30025" x-info="https://www.rsyslog.com"] start Mar 26 13:49:11 Tower emhttpd: shcmd (149): umount /mnt/user Mar 26 13:49:11 Tower root: umount: /mnt/user: target is busy. Mar 26 13:49:11 Tower emhttpd: shcmd (149): exit status: 32 Mar 26 13:49:11 Tower emhttpd: shcmd (150): rmdir /mnt/user Mar 26 13:49:11 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy tower-diagnostics-20210326-1352.zip Quote Link to comment
konaboy Posted March 26, 2021 Author Share Posted March 26, 2021 I've found my problem. It WAS a mergerfs mount that I was not explicitly unmounting prior to stopping the array. I found it with the following command: mount | grep /mnt/user .. Once found I was able to 'umount /mnt/user/[name of mountpoint]' and the stop array was able to continue. 2 Quote Link to comment
Recommended Posts
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.