April 17, 20242 yr 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...
April 17, 20242 yr 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.
April 17, 20242 yr 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. Reboot to shutdown -r? I understood shutdown -r was better (although using that can also cause an unclean shutdown in my experience).
April 17, 20242 yr 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
April 17, 20242 yr Author So I was able to start the rebuild after rebooting (safely). It's very concerning the basic functionality doesn't work smoothly.
April 17, 20242 yr Community Expert You need to find what's causing the cache unmount to fail, are you on v6.12.10?
April 17, 20242 yr 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
April 18, 20242 yr Community Expert 13 hours ago, Bmalone said: Are you suggesting the fix below might resolve the unmount issue? It can. 13 hours ago, Bmalone said: It just says the containers_cache is busy. Are you able to glean anything? See if this helps: https://forums.unraid.net/topic/144429-unraid-os-version-6124-available/?do=findComment&comment=1300996
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.