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.

Array Stopping - Retry unmounting user share(s)...

Featured Replies

This is my first post in this forum, so please bare over with me.

 

I try to stop the Array, but It will not shut down, only leaving me the message "Array StoppingRetry unmounting user share(s)..." 

 

I installed this, to see what files are active: https://lime-technology.com/forums/topic/41196-open-files-plugin-can-help-with-troubleshooting-why-server-wont-shut-down/

 

The files that shows up is from udev:

/lib/modules/4.14.49-unRAID/modules.builtin.bin
/lib/modules/4.14.49-unRAID/modules.symbols.bin
/lib/modules/4.14.49-unRAID/modules.alias.bin
/lib/modules/4.14.49-unRAID/modules.dep.bin 

 

There is no help in killing the actual PID either.

 

And the Syslog says:

Jun 28 09:09:54 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy
Jun 28 09:09:54 Tower emhttpd: shcmd (31097): exit status: 1
Jun 28 09:09:54 Tower emhttpd: shcmd (31099): /usr/local/sbin/update_cron
Jun 28 09:09:54 Tower emhttpd: Retry unmounting user share(s)...
Jun 28 09:09:59 Tower emhttpd: shcmd (31100): umount /mnt/user
Jun 28 09:09:59 Tower root: umount: /mnt/user: target is busy.
Jun 28 09:09:59 Tower emhttpd: shcmd (31100): exit status: 32
Jun 28 09:09:59 Tower emhttpd: shcmd (31101): rmdir /mnt/user
Jun 28 09:09:59 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy
Jun 28 09:09:59 Tower emhttpd: shcmd (31101): exit status: 1
Jun 28 09:09:59 Tower emhttpd: shcmd (31103): /usr/local/sbin/update_cron
Jun 28 09:09:59 Tower emhttpd: Retry unmounting user share(s)...
Jun 28 09:10:04 Tower emhttpd: shcmd (31104): umount /mnt/user
Jun 28 09:10:04 Tower root: umount: /mnt/user: target is busy.
Jun 28 09:10:04 Tower emhttpd: shcmd (31104): exit status: 32
Jun 28 09:10:04 Tower emhttpd: shcmd (31105): rmdir /mnt/user
Jun 28 09:10:04 Tower root: rmdir: failed to remove '/mnt/user': Device or resource busy
Jun 28 09:10:04 Tower emhttpd: shcmd (31105): exit status: 1
Jun 28 09:10:04 Tower emhttpd: shcmd (31107): /usr/local/sbin/update_cron
Jun 28 09:10:05 Tower emhttpd: Retry unmounting user share(s)...

 

 

Can someone help me out?

  • Community Expert

I have it happen more often than I'd like.

I tend to be able to reduce it by doing a few tasks ahead of time:

  •  running mover (and finishing)
  • shutdown all dockers
  • shutdown all vms

then I usually run fuser -km /mnt/user as the hail mary if it still happens.

  • Author

Hi, and thx for quick reply.

 

I don't run any dockers or vms, and always make sure that mover finished, but still no luck :(

 

I also tried your command in hope of any progress, but I can still see the same files are active.

Does anyone know what these files do, and why they are noe killed in the process?

 

Even after killing the process, nothing happens.....still the same error message.

First thing I'd check is you don't have a client machine with a file or folder open.  This tends to happen when something is accessing the share.

  • Community Expert

Or an active SSH session to /mnt/something

  • Author

Hi, and thx for all suggestions.

Problem is now solved.

 

I ssh'ed in, to see if there where any shares/mounts that did not shut down poperly. And yep, there it was. A share that I manually mount in the GO-file, to use for ProFTPd :D

 

Once that share was unmounted, the array shut down. :)

  • 4 years later...
On 6/28/2018 at 2:20 PM, tjb_altf4 said:

then I usually run fuser -km /mnt/user as the hail mary if it still happens.

This is the only thing that worked for me. What does it do?

  • Community Expert
9 hours ago, cinereus said:

This is the only thing that worked for me. What does it do?

Simple answer is you are killing any running process still accessing files in your user shares.

15 hours ago, tjb_altf4 said:

Simple answer is you are killing any running process still accessing files in your user shares.

Why does the stop array script not include this after a certain delay?

  • 3 months later...
On 1/10/2023 at 6:35 PM, cinereus said:

Why does the stop array script not include this after a certain delay?

 

This is what i also dont understand why it cant do this by default. I mean you initiated the Shutdown, so it is not like you have any active processes running. 

 

For me I get this error and it can be a tad frustrating. I have no VMs setup and No one accessing shares. 

  • Community Expert

I get this on occasion still, and for some reason if I open the web cli and run top, it will finish stopping immediately.

  • 4 months later...

This issue occurs for me as well.  I don't really have a way of shutting down cleanly as it is.

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.