Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

can't stop array: failed to remove '/mnt/user': Device or resource busy

Featured Replies

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

  • Author

 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.

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.