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.

Cannot stop array - Need help!

Featured Replies

I have seen a couple of messages around this, but no real answer..

 

My array can't be stopped, when I try I get the following repeated in console:
 

Mar 13 10:25:35 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy
Mar 13 10:25:35 Tower  emhttpd: shcmd (370295): exit status: 1
Mar 13 10:25:35 Tower  emhttpd: shcmd (370297): /usr/local/sbin/update_cron
Mar 13 10:25:35 Tower  emhttpd: Retry unmounting user share(s)...
Mar 13 10:25:40 Tower  emhttpd: shcmd (370298): umount /mnt/user
Mar 13 10:25:40 Tower root: umount: /mnt/user: target is busy.
Mar 13 10:25:40 Tower  emhttpd: shcmd (370298): exit status: 32
Mar 13 10:25:40 Tower  emhttpd: shcmd (370299): rmdir /mnt/user

 

Diagnostics attached.

 

My questions:
 

1. How do I shut down my system safely right now - ideally without needing a parity run?

2. How do I fix this on a permanent basis?

tower-diagnostics-20230313-1026.zip

Solved by [email protected]

  • Community Expert

There's no universal answer,

17 minutes ago, tknx said:
failed to remove '/mnt/user': Device or resource busy

This means something is using that mount point and Unraid cannot unmount it, just having for example an SSH session opened to /mnt/user will cause that.

  • Author

OK

 

So when I run

root@Tower:~# mount | grep "/mnt/user", I get the following:

 

shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other)

 

I have no idea what that means

  • Author
  • Solution

OK, diagnosed it. Posting for posterity:

 

lsof | grep /mnt/user

 

Got a random bash process:

 

bash      21148                       root  cwd       DIR               0,56     4096 648799827764686976 /mnt/user/media/anime-movies

 

kill -9 21148

 

it shut down. No idea what process that was... maybe an open session somewhere.

  • Community Expert
5 hours ago, tknx said:

OK

 

So when I run

root@Tower:~# mount | grep "/mnt/user", I get the following:

 

shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other)

 

I have no idea what that means

That is the part of Unraid that supports the User Share capability.

  • Author
1 hour ago, itimpi said:

That is the part of Unraid that supports the User Share capability.

So that is a bug right? That it didn’t kill shares on shutdown?

  • Community Expert
6 hours ago, tknx said:

So that is a bug right? That it didn’t kill shares on shutdown?

Not necessarily.   I thought you found you had a bash shell running with the current directory being on the array.   That WOULD stop the array from shutting down correctly.

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

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.