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.

The drive rebuild process isn't working

Featured Replies

I'm trying to understand why the drive rebuild process won't work.  I was adding 2 drives to the array and when I started the array back up it was telling me that disk 3 had an issue.  So I followed the 'Rebuilding a drive onto itself' process step-by-step.  After the extended self-test, which took a couple of days, there were no errors found, and the emulated contents were all in order.  So I stopped the array, unassigned the disk, restarted the array to register the missing disk, and then tried to stop the array, but it won't stop because the drives are busy.  The only thing I can think of would be that the containers set to autostart when I start the array would have started up, but can't Unraid handle stopping them with the 'Stop Array' button?  There is nothing I've seen in the documentation about needing to manually stop those before trying to stop the array.  Any idea why this isn't working?  This is pretty fundamental.

 

Rebuilding a drive onto itself.

https://docs.unraid.net/unraid-os/manual/storage-management/

 

Apr 17 08:12:35 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:12:35 SmashySmash emhttpd: shcmd (894358): umount /mnt/disk1
Apr 17 08:12:35 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:12:35 SmashySmash emhttpd: shcmd (894358): exit status: 32
Apr 17 08:12:35 SmashySmash emhttpd: shcmd (894359): /usr/sbin/zpool export containers_cache
Apr 17 08:12:35 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:12:35 SmashySmash emhttpd: shcmd (894359): exit status: 1
Apr 17 08:12:35 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:12:40 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:12:40 SmashySmash emhttpd: shcmd (894360): umount /mnt/disk1
Apr 17 08:12:40 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:12:40 SmashySmash emhttpd: shcmd (894360): exit status: 32
Apr 17 08:12:40 SmashySmash emhttpd: shcmd (894361): /usr/sbin/zpool export containers_cache
Apr 17 08:12:40 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:12:40 SmashySmash emhttpd: shcmd (894361): exit status: 1
Apr 17 08:12:40 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:12:45 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:12:45 SmashySmash emhttpd: shcmd (894362): umount /mnt/disk1
Apr 17 08:12:45 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:12:45 SmashySmash emhttpd: shcmd (894362): exit status: 32
Apr 17 08:12:45 SmashySmash emhttpd: shcmd (894363): /usr/sbin/zpool export containers_cache
Apr 17 08:12:45 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:12:45 SmashySmash emhttpd: shcmd (894363): exit status: 1
Apr 17 08:12:45 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:12:50 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:12:50 SmashySmash emhttpd: shcmd (894364): umount /mnt/disk1
Apr 17 08:12:50 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:12:50 SmashySmash emhttpd: shcmd (894364): exit status: 32
Apr 17 08:12:50 SmashySmash emhttpd: shcmd (894365): /usr/sbin/zpool export containers_cache
Apr 17 08:12:50 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:12:50 SmashySmash emhttpd: shcmd (894365): exit status: 1
Apr 17 08:12:50 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:12:55 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:12:55 SmashySmash emhttpd: shcmd (894367): umount /mnt/disk1
Apr 17 08:12:55 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:12:55 SmashySmash emhttpd: shcmd (894367): exit status: 32
Apr 17 08:12:55 SmashySmash emhttpd: shcmd (894368): /usr/sbin/zpool export containers_cache
Apr 17 08:12:55 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:12:55 SmashySmash emhttpd: shcmd (894368): exit status: 1
Apr 17 08:12:55 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:00 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:00 SmashySmash emhttpd: shcmd (894369): umount /mnt/disk1
Apr 17 08:13:00 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:00 SmashySmash emhttpd: shcmd (894369): exit status: 32
Apr 17 08:13:00 SmashySmash emhttpd: shcmd (894370): /usr/sbin/zpool export containers_cache
Apr 17 08:13:00 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:00 SmashySmash emhttpd: shcmd (894370): exit status: 1
Apr 17 08:13:00 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:00 SmashySmash root: Fix Common Problems Version 2024.03.29
Apr 17 08:13:01 SmashySmash root: Fix Common Problems: Warning: Plugin fix.common.problems.plg is not up to date
Apr 17 08:13:05 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:05 SmashySmash emhttpd: shcmd (894371): umount /mnt/disk1
Apr 17 08:13:05 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:05 SmashySmash emhttpd: shcmd (894371): exit status: 32
Apr 17 08:13:05 SmashySmash emhttpd: shcmd (894372): /usr/sbin/zpool export containers_cache
Apr 17 08:13:05 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:05 SmashySmash emhttpd: shcmd (894372): exit status: 1
Apr 17 08:13:05 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:10 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:10 SmashySmash emhttpd: shcmd (894373): umount /mnt/disk1
Apr 17 08:13:10 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:10 SmashySmash emhttpd: shcmd (894373): exit status: 32
Apr 17 08:13:10 SmashySmash emhttpd: shcmd (894374): /usr/sbin/zpool export containers_cache
Apr 17 08:13:10 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:10 SmashySmash emhttpd: shcmd (894374): exit status: 1
Apr 17 08:13:10 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:15 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:15 SmashySmash emhttpd: shcmd (894375): umount /mnt/disk1
Apr 17 08:13:15 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:15 SmashySmash emhttpd: shcmd (894375): exit status: 32
Apr 17 08:13:15 SmashySmash emhttpd: shcmd (894376): /usr/sbin/zpool export containers_cache
Apr 17 08:13:15 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:15 SmashySmash emhttpd: shcmd (894376): exit status: 1
Apr 17 08:13:15 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:20 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:20 SmashySmash emhttpd: shcmd (894377): umount /mnt/disk1
Apr 17 08:13:20 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:20 SmashySmash emhttpd: shcmd (894377): exit status: 32
Apr 17 08:13:20 SmashySmash emhttpd: shcmd (894378): /usr/sbin/zpool export containers_cache
Apr 17 08:13:20 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:20 SmashySmash emhttpd: shcmd (894378): exit status: 1
Apr 17 08:13:20 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:25 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:25 SmashySmash emhttpd: shcmd (894380): umount /mnt/disk1
Apr 17 08:13:25 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:25 SmashySmash emhttpd: shcmd (894380): exit status: 32
Apr 17 08:13:25 SmashySmash emhttpd: shcmd (894381): /usr/sbin/zpool export containers_cache
Apr 17 08:13:25 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:25 SmashySmash emhttpd: shcmd (894381): exit status: 1
Apr 17 08:13:25 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:30 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:30 SmashySmash emhttpd: shcmd (894382): umount /mnt/disk1
Apr 17 08:13:30 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:30 SmashySmash emhttpd: shcmd (894382): exit status: 32
Apr 17 08:13:30 SmashySmash emhttpd: shcmd (894383): /usr/sbin/zpool export containers_cache
Apr 17 08:13:30 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:30 SmashySmash emhttpd: shcmd (894383): exit status: 1
Apr 17 08:13:30 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:35 SmashySmash emhttpd: Unmounting disks...
Apr 17 08:13:35 SmashySmash emhttpd: shcmd (894384): umount /mnt/disk1
Apr 17 08:13:35 SmashySmash root: umount: /mnt/disk1: target is busy.
Apr 17 08:13:35 SmashySmash emhttpd: shcmd (894384): exit status: 32
Apr 17 08:13:35 SmashySmash emhttpd: shcmd (894385): /usr/sbin/zpool export containers_cache
Apr 17 08:13:35 SmashySmash root: cannot unmount '/mnt/containers_cache/appdata': pool or dataset is busy
Apr 17 08:13:35 SmashySmash emhttpd: shcmd (894385): exit status: 1
Apr 17 08:13:35 SmashySmash emhttpd: Retry unmounting disk share(s)...
Apr 17 08:13:40 SmashySmash emhttpd: Unmounting disks...

  • Community Expert

Try stopping the docker service, if that doesn't help type reboot in the CLI, if it doesn't reboot after 5 minutes you will need to force it, and make sure you are running the latest release, it may help with that issue in the future.

  • Author
1 hour ago, JorgeB said:

Try stopping the docker service, if that doesn't help type reboot in the CLI, if it doesn't reboot after 5 minutes you will need to force it, and make sure you are running the latest release, it may help with that issue in the future.

No luck yet with stopping Docker.  It just hangs.  

image.thumb.png.b8c761321c16e93f04a5837a073259d7.png

 

Reboot to shutdown -r?  I understood shutdown -r was better (although using that can also cause an unclean shutdown in my experience).

  • Community Expert

Reboot is the same, it will try a clean shutdown first, failing that will try an unclean one, and

1 hour ago, JorgeB said:

if it doesn't reboot after 5 minutes you will need to force it

 

  • Author

So I was able to start the rebuild after rebooting (safely).  It's very concerning the basic functionality doesn't work smoothly.

  • Community Expert

You need to find what's causing the cache unmount to fail, are you on v6.12.10?

  • Author

Not yet.  I'm on 6.12.8.  I was going to give it a month or two.  Are you suggesting the fix below might resolve the unmount issue?

 

I can't see anything that gives me any indication as to why it wouldn't unmount.  It just says the containers_cache is busy.  Are you able to glean anything?  Is there somewhere else I should be looking?

 

ZFS:  Detect if insufficient pools are defined for an imported pool with a missing device.

syslog-previous.txt

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.