I can never stop the array "Unmounting disks...Retry unmounting disk share(s)..."


Recommended Posts

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 by me.so.bad
Link to comment
  • 1 month later...

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

Link to comment

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

 

Link to comment
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.

Link to comment
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 by jiyang1018
Link to comment
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 by sdamaged
  • Like 1
Link to comment
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 by jiyang1018
Link to comment
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.

Link to comment
  • 1 year later...

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.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.