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, "pool or dataset is busy", share_size script

Featured Replies

unraid 7.2.3

diagnostics attached

I am almost always unable to get a clean shutdown in unraid because of the "pool or dataset is busy" issue.

to get around this issue and let the server shutdown correctly i have to connect via SSH and through htop sigkill a bunch of processes stuck on "/mnt/disk7/Photos"

image.png

it appears the share_size script is getting stuck on this disk for some reason.

Any ideas to fix this? could it be a broken file or is the script running into issues

Edited by MammothJerk

Solved by MammothJerk

  • Community Expert

Does it still happen in safe mode with Docker and VM services disabled?

  • Author
  • Solution

after just 2 hours of uptime i first stopped all dockers and then tried to stop the array

The problem occurs with share_size script preventing the array from stopping successfully.

i SIGTERM'ed the PIDs in htop to be able to successfully stop the array.

i then disabled docker in settings (VMs was already off), i ticked the box for 'reboot in safe mode' and rebooted.

2 hours later i was able to stop the array with no issue.

i then rebooted again (without enabling docker or VMs)

waited 2 hours again stopped the array without issue.

i re-enabled the docker service and then started the array.

i instantly got those du -sb... commands in htop.

on a hunch i stopped my hass-unraid docker and about 5-10 minutes later the du commands disappeared from htop.

it would appear the hass-unraid docker is polling the shares for their sizes and with a share with multiple small files like my photos share it is taking a long time for the scan to finish thus not letting the array stop without finishing those commands. ill bring it up to the author.
https://github.com/IDmedia/hass-unraid/issues/48

Edited by MammothJerk

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.