Jump to content

[SOLVED] SMB Shares disappeared


lorem

Recommended Posts

Hi folks!

Odd problem that I was hoping someone might have some experience with or be able to point me in the right direction. I've suddenly lost all the Shares from my server except 'flash'. I had multiple smb shares set up for movies, tv shows, Time Machine, etc. and suddenly they are all missing. I did wake up one morning to my server being shut down, despite my UPS, but I don't see any obvious problems with hard drive SMART status.  Anyone have any ideas?


Things I've tried based on Googling around and reading past forum posts from here. 
- Tried accessing smb shares from other devices to no avail
- Rebooting into safe mode to disable all plugins and docker containers (no shares shown even in safe mode)
- Check Filesystem Status for each disk via GUI (nothing shown)
- Reviewing syslog.txt (Nothing popped out, but I'm not 100% sure what I'm looking for so I could have easily missed something stupid obvious)

- Update to Unraid 6.9.0-beta30 

 

Under none of the above circumstances was I ever able to see my Shares via the GUI or via Finder on my Mac. Any help anyone might be able to provide is hugely appreciated. Diagnostics zip attached. Thanks!


------------[SOLVED]---------------

Fixing the SMB Permissions solved this issue for me. Tested rebooting and shares continue to show up. Unsure exactly how they got so borked, but just glad to have everything working again.
 

gm-server-diagnostics-20201025-1558.zip

Edited by lorem
Solved issue.
Link to comment

According to your diagnostics, you do have user shares. All disks mounted as well as user shares.

 

Not seeing shares in the webUI is commonly a symptom of a browser problem, such as an adblocker or something interfering. Whitelist your server.

 

Not sure about not seeing them on the network, could be a separate issue with the client computer or network.

 

Post screenshots showing the problems.

Link to comment

Thanks for taking a look.

Logged in via web GUI on Chrome (default), firefox, and Safari. Neither Firefox or Safari have any extensions installed at all. Confirmed on multiple different computers on the network that I can't see the smb shares. Also, weirdly enough, attempted to add a test share via web GUI with no luck. Attempting to add a new Test share just ends up at the "share deleted" confirmation page. Screenshots attached. 

 

Screen Shot 2020-10-25 at 5.24.14 PM.png

Screen Shot 2020-10-25 at 5.24.55 PM.png

Edited by lorem
Wrong screenshot attached
Link to comment

Output from unraid terminal

 

Quote

ls -lah /mnt
drwxr-xr-x 10 root   root  200 Oct 25 15:12 ./
drwxr-xr-x 20 root   root  440 Oct 25 17:28 ../
drw-r--r--  1 nobody users  70 Oct 25 15:22 cache/
drw-r--r-- 14 nobody users 274 Oct 25 15:22 disk1/
drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk2/
drw-r--r-- 12 nobody users 240 Oct 25 15:22 disk3/
drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk4/
drwxrwxrwt  2 nobody users  40 Oct 25 15:12 disks/
drw-r--r--  1 nobody users 274 Oct 25 15:22 user/
drw-r--r--  1 nobody users 274 Oct 25 15:22 user0/

 

Link to comment

That is all wrong. Any idea how it got that way?

 

Should be

drwxr-xr-x 12 root   root  240 Oct  6 14:11 ./
drwxr-xr-x 20 root   root  420 Oct 23 06:14 ../
drwxrwxrwx  1 nobody users  62 Oct 25 04:40 cache/
drwxrwxrwx  3 nobody users  16 Oct 25 04:40 disk1/
drwxrwxrwx  3 nobody users  27 Oct 25 04:40 disk2/
drwxrwxrwx  6 nobody users  75 Oct 25 04:40 disk3/
drwxrwxrwx  9 nobody users 119 Oct 25 04:40 disk4/
drwxrwxrwt  3 nobody users  60 Oct  6 14:11 disks/
drwxrwxrwx  1 nobody users  16 Oct 25 04:40 user/
drwxrwxrwx  1 nobody users  16 Oct 25 04:40 user0/

 

Link to comment

Output after starting the array again

 

Quote

ls -lah /mnt
total 16K
drwxr-xr-x  9 root   root  180 Oct 25 20:02 ./
drwxr-xr-x 20 root   root  420 Oct 25 20:02 ../
drw-r--r--  1 nobody users  70 Oct 25 15:22 cache/
drw-r--r-- 14 nobody users 274 Oct 25 15:22 disk1/
drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk2/
drw-r--r-- 12 nobody users 240 Oct 25 15:22 disk3/
drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk4/
drw-r--r--  1 nobody users 274 Oct 25 15:22 user/
drw-r--r--  1 nobody users 274 Oct 25 15:22 user0/

 

Link to comment

We could try fixing those permissions, but I don't understand how they are getting that way to begin with. None of those folders even exist when the array isn't started, and they get automatically created when you start the array. That is all as it should be, except yours have the wrong permissions.

 

Was any of this working before? Can you tell us what you have done since it was working?

Link to comment

This was working for months perfectly stable. I think maybe this may be related to me trying to mount the share to my Mac via Mountain Duck? Since it broke I've tried rebooting, safe mode, turning off docker, uninstalling plugins, updating the OS, and more. 

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.

×
×
  • Create New...