omartian Posted December 22, 2023 Share Posted December 22, 2023 (edited) Hi guys- Trying to shrink my array using spaceinvaderone's option 2 seen here: I was able to succesfully run the clear disk user script but when i try to stop the array, i get the "array stopping - retry unmounting disk share(s)..." error in the bottom left corner. I have stopped VM's and docker. I don't have any terminal windows open. When i check the log, I see this on a loop (disk 2 is the one i performed the clear disk script on): Dec 22 04:17:03 Nasgard emhttpd: Unmounting disks... Dec 22 04:17:03 Nasgard emhttpd: shcmd (1139124): umount /mnt/disk2 Dec 22 04:17:03 Nasgard root: umount: /mnt/disk2: not mounted. Dec 22 04:17:03 Nasgard emhttpd: shcmd (1139124): exit status: 32 Dec 22 04:17:03 Nasgard emhttpd: Retry unmounting disk share(s)... in terminal ive tried this and this is what i see: root@Nasgard:~# losetup NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC /dev/loop1 0 0 1 1 /boot/bzfirmware 0 512 /dev/loop0 0 0 1 1 /boot/bzmodules 0 512 root@Nasgard:~# umount /var/lib/docker umount: /var/lib/docker: not mounted. root@Nasgard:~# umount /dev/loop2 umount: /dev/loop2: not mounted. I've attached my diagnostics. Any way to unmount my disks so i can remove disk 2? I don't want to risk rebooting the array because it looks like it'll lead to an unclean shutdown and prompt a parity check which is what i was trying to avoid. nasgard-diagnostics-20231222-0414.zip Edited December 22, 2023 by omartian more info Quote Link to comment
itimpi Posted December 22, 2023 Share Posted December 22, 2023 That currently seems to be an unavoidable issue when trying to use that script. Quote Link to comment
Solution JorgeB Posted December 22, 2023 Solution Share Posted December 22, 2023 That script should not be used with current releases, you can try this workaround. https://forums.unraid.net/topic/145821-cant-unraid-stop-when-array-already-unmounted/?do=findComment&comment=1323316 Quote Link to comment
omartian Posted December 22, 2023 Author Share Posted December 22, 2023 (edited) 2 hours ago, JorgeB said: That script should not be used with current releases, you can try this workaround. https://forums.unraid.net/topic/145821-cant-unraid-stop-when-array-already-unmounted/?do=findComment&comment=1323316 This looks like it worked. Thank you. Anybody else seeing this i used these command lines in terminal where DiskX = disk that is caught in unmounting loop under the log (in my case disk2) dd if=/dev/zero of=diskX bs=1M count=310 mkfs -t xfs diskX mount diskX /mnt/diskX Like magic, the array stopped and i was able to continue on w/the steps in the video. Edited December 22, 2023 by omartian typo Quote Link to comment
Recommended Posts
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.