me.so.bad Posted December 27, 2019 Share Posted December 27, 2019 (edited) I'm playing around with unraid again an had the same issue mentioned in this threads first post - I want to archive my issue in case someone else has the same… for some reason my /etc/libvirt mount didnt unmount, after getting /mnt/disk1 being busy, i ran `mount` and had libvirt still on it. manually `umount /etc/libvirt` did the trick. I was changing a VMs XML via Webterminal before, might be that something went wrong there… Edited December 27, 2019 by me.so.bad Quote Link to comment
itimpi Posted December 27, 2019 Share Posted December 27, 2019 5 minutes ago, me.so.bad said: I was changing a VMs XML via Webterminal before, might be that something went wrong there If you have a web terminal (or ssh/console) session open where the current directory is on a mounted device this will stop it being unmounted. Quote Link to comment
jiyang1018 Posted February 26, 2020 Share Posted February 26, 2020 I am having similar problems. First, I cannot connect to shares from windows. After unraid reboot, before array mounted, I can see my unraid server in [Network], and I can see there is no share in it. After array mounted, I can no longer connected to unraid server. I can ping its IP, just cannot map a network drive or access through windows. Then I started changing settings for SMB, but every time I stop array, it gets stuck at " Array Stopping•Retry unmounting disk share(s)...". I boot into safe mode, everything seems the same. Attached is diagnostics under safe mode. Thanks in advance. realserver-diagnostics-20200225-2331.zip Quote Link to comment
itimpi Posted February 26, 2020 Share Posted February 26, 2020 You seem to have share with that starts with an invalid character listed under config/shares in the flash drive. Not sure if this is what is causing your problems but it should be fixed (by deleting the .cfg file). Quote Link to comment
trurl Posted February 26, 2020 Share Posted February 26, 2020 Looks like you've got some "friends" in strange places. Take your server off the internet NOW!!! Feb 25 23:28:48 REALSERVER sshd[2316]: Disconnected from authenticating user root 202.168.205.181 port 14059 [preauth] Taiwan Feb 25 23:28:48 REALSERVER sshd[2295]: Disconnected from invalid user ubuntu 62.234.91.237 port 45497 [preauth] China Feb 25 23:29:18 REALSERVER sshd[7159]: Disconnected from invalid user tester 191.31.17.136 port 43417 [preauth] Brazil Feb 25 23:29:20 REALSERVER sshd[7533]: Disconnected from invalid user zcx 183.95.84.150 port 8015 [preauth] China Feb 25 23:29:28 REALSERVER sshd[8297]: Disconnected from invalid user ftpuser 68.183.155.33 port 46266 [preauth] United States Feb 25 23:29:57 REALSERVER sshd[10488]: Disconnected from authenticating user root 49.88.112.67 port 27488 [preauth] China Feb 25 23:30:09 REALSERVER sshd[11890]: Disconnected from invalid user couch 192.241.211.215 port 43425 [preauth] United States Feb 25 23:30:26 REALSERVER sshd[15390]: Disconnected from invalid user chenyifan 200.149.231.50 port 44578 [preauth] Brazil Feb 25 23:31:13 REALSERVER sshd[16148]: Disconnected from invalid user linux 170.210.136.38 port 47500 [preauth] Argentina Feb 25 23:31:25 REALSERVER sshd[16456]: Disconnected from invalid user tomcat 188.35.187.50 port 42300 [preauth] Russian Federation Feb 25 23:31:26 REALSERVER sshd[16458]: Disconnected from authenticating user root 222.186.31.166 port 16176 [preauth] China Feb 25 23:31:46 REALSERVER sshd[16820]: Disconnected from invalid user testftp 1.55.145.15 port 42604 [preauth] Viet Nam Quote Link to comment
jiyang1018 Posted February 26, 2020 Share Posted February 26, 2020 2 hours ago, itimpi said: You seem to have share with that starts with an invalid character listed under config/shares in the flash drive. Not sure if this is what is causing your problems but it should be fixed (by deleting the .cfg file). which one should I delete? appdata.cfg Documents.cfg domains.cfg Entertainment.cfg isos.cfg Resource.cfg system.cfg Thanks. Quote Link to comment
trurl Posted February 26, 2020 Share Posted February 26, 2020 2 minutes ago, jiyang1018 said: which one should I delete? appdata.cfg Documents.cfg domains.cfg Entertainment.cfg isos.cfg Resource.cfg system.cfg Thanks. None of those. Before doing anything you should 2 hours ago, trurl said: Take your server off the internet NOW!!! Quote Link to comment
itimpi Posted February 26, 2020 Share Posted February 26, 2020 3 minutes ago, jiyang1018 said: which one should I delete? appdata.cfg Documents.cfg domains.cfg Entertainment.cfg isos.cfg Resource.cfg system.cfg Thanks. According to your diagnostics you have one simply called .cfg ! Quote Link to comment
trurl Posted February 26, 2020 Share Posted February 26, 2020 Since your diagnostics say the share in question has default settings, there probably isn't a .cfg file for it. You must have a folder at the root of one of your disks with an invalid character in the name. Quote Link to comment
jiyang1018 Posted February 26, 2020 Share Posted February 26, 2020 (edited) 5 hours ago, trurl said: Since your diagnostics say the share in question has default settings, there probably isn't a .cfg file for it. You must have a folder at the root of one of your disks with an invalid character in the name. There was a folder in my shares with no name, and I deleted that one. Now I can stop array with no issues. Then I stopped array, turned off SMB, started array, stopped array, turned on SMB, started array. It works now. Thanks a lot. Edited February 26, 2020 by jiyang1018 Quote Link to comment
sdamaged Posted February 27, 2020 Share Posted February 27, 2020 (edited) 10 hours ago, jiyang1018 said: There was a folder in my shares with no name, and I deleted that one. Now I can stop array with no issues. Then I stopped array, turned off SMB, started array, stopped array, turned on SMB, started array. It works now. Thanks a lot. Did you sort out the rogue access to your server? That would worry me!! Your unRAID server should NOT be public internet facing, only via your internal LAN If you have external ports forwarded to it, i would sort that out ASAP. Connect to it using something like OpenVPN instead. Edited February 27, 2020 by sdamaged 1 Quote Link to comment
jiyang1018 Posted February 28, 2020 Share Posted February 28, 2020 (edited) On 2/27/2020 at 12:49 AM, sdamaged said: Did you sort out the rogue access to your server? That would worry me!! Your unRAID server should NOT be public internet facing, only via your internal LAN If you have external ports forwarded to it, i would sort that out ASAP. Connect to it using something like OpenVPN instead. Those were only attemps. I do not think anyone gained access. My router has DMZ pointing to my server. I have disabled DMZ and set up port forwarding for all my unraid dockers. They seem to be working fine using my DDNS, but unraid web GUI page is not working under port 80. Edited February 28, 2020 by jiyang1018 Quote Link to comment
sdamaged Posted February 28, 2020 Share Posted February 28, 2020 (edited) I would go through every docker container and remove access to mnt/user if i was you though, unless the docker needs access to every single share on your server? It's a bit of a pain, but worth the effort imo Edited February 28, 2020 by sdamaged Quote Link to comment
jiyang1018 Posted February 28, 2020 Share Posted February 28, 2020 6 hours ago, sdamaged said: I would go through every docker container and remove access to mnt/user if i was you though, unless the docker needs access to every single share on your server? It's a bit of a pain, but worth the effort imo Krusader has access to more dir. All other dockers have their own dir assigned. Quote Link to comment
mgutt Posted March 18, 2021 Share Posted March 18, 2021 I had the same problem: Mar 18 10:01:35 Thoth emhttpd: Retry unmounting disk share(s)... Mar 18 10:01:40 Thoth emhttpd: Unmounting disks... Mar 18 10:01:40 Thoth emhttpd: shcmd (32548): umount /mnt/cache Mar 18 10:01:40 Thoth root: umount: /mnt/cache: target is busy. Mar 18 10:01:40 Thoth emhttpd: shcmd (32548): exit status: 32 I tried "lsof /mnt/cache", but it returned nothing. Finally I found out it was my test enabling a swapfile. After "swapoff -a" the cache was unmounted. Strange, that it did not return something through lsof. 1 Quote Link to comment
flyize Posted October 10, 2023 Share Posted October 10, 2023 On 3/18/2021 at 5:05 AM, mgutt said: I had the same problem: Mar 18 10:01:35 Thoth emhttpd: Retry unmounting disk share(s)... Mar 18 10:01:40 Thoth emhttpd: Unmounting disks... Mar 18 10:01:40 Thoth emhttpd: shcmd (32548): umount /mnt/cache Mar 18 10:01:40 Thoth root: umount: /mnt/cache: target is busy. Mar 18 10:01:40 Thoth emhttpd: shcmd (32548): exit status: 32 I tried "lsof /mnt/cache", but it returned nothing. Finally I found out it was my test enabling a swapfile. After "swapoff -a" the cache was unmounted. Strange, that it did not return something through lsof. Thanks @mgutt and Google. This fixed a hang for me. Not sure why it didn't run swapoff on its own. 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.