(Solved) Unraid UserShare disappearing, never come back after multiple tries of rebooting


Wei Wei

Recommended Posts

Hi, experts

 

All was working fine until I clicked share tab, and noticed the all my user shares are gone. While they were unseen, all the data are still properly stored on the disk (I can still see /mnt/user/ folder and all its sub folders). But the network devices couldn't find any user shares either previously exported from nfs or smb. 

 

This is really bugging all day long. Please help!! Thanks!

 

 

mwei-nas-diagnostics-20210127-0246.zip

Edited by Wei Wei
Link to comment

I am seeing some errors like

 

Jan 27 00:32:44 MWEI-NAS emhttpd: import flash device: sda Jan 27 00:32:45 MWEI-NAS emhttpd: Starting services... Jan 27 00:32:45 MWEI-NAS emhttpd: shcmd (10): /etc/rc.d/rc.samba stop Jan 27 00:32:45 MWEI-NAS nmbd[2428]: [2021/01/27 00:32:45.039804, 0] ../../source3/nmbd/nmbd.c:59(terminate) Jan 27 00:32:45 MWEI-NAS nmbd[2428]: Got SIGTERM: going down...

 

Related?

Link to comment

Just a thought - it is it only the Shares tab in the GUI that is mis-behaving?  For instance can you see the shares across the network.  If that is the case make sure that you have the Unraid server white-listed in any ad-blocker (or similar) you might have installed in the browser you are using.  Ad-blockers have been known to interfere with the Unraid GUI with the Shares tab one of the more frequent victims.

Link to comment
1 minute ago, itimpi said:

Just a thought - it is it only the Shares tab in the GUI that is mis-behaving?  For instance can you see the shares across the network.  If that is the case make sure that you have the Unraid server white-listed in any ad-blocker (or similar) you might have installed in the browser you are using.  Ad-blockers have been known to interfere with the Unraid GUI with the Shares tab one of the more frequent victims.

 

No, all user shares are gone from the network too. But they do exist in the /mnt/user/ folder. I felt like it is an exporting related issue. 

Link to comment

I must admit this does seen to be something unusual :(  Since you say that it also occur when booted into Safe Mode that rules out any plugin being the cause of your issue (which would have been the other obvious potential suspects).

 

Hopefully somebody will spot something in the Diagnostics or come up with another suggestion as to what could cause this.

Link to comment

@trurl

 

Do you know what are the expected setting?

 

Perhaps, I accidentally “chown” them. I tried umount the user and user0, and then “rm -rf” to see whether the system would regenerate them back. It looked like they were recreated, that is the default settings came up after starting the array.

 

Also been rebooted many times both in normal and safe mode, but no difference.

Edited by Wei Wei
Link to comment
root@unSERVER:~# ls -lah /mnt
total 16K
drwxr-xr-x 13 root   root  260 Dec 19 08:43 ./
drwxr-xr-x 20 root   root  460 Jan 19 21:27 ../
drwxrwxrwx  5 nobody users 120 Dec 19 08:43 RecycleBin/
drwxrwxrwx  1 nobody users  62 Jan 27 04:40 cache/
drwxrwxrwx  4 nobody users  41 Jan 27 04:40 disk1/
drwxrwxrwx  3 nobody users  27 Jan 27 04:40 disk2/
drwxrwxrwx  6 nobody users  75 Jan 27 04:40 disk3/
drwxrwxrwx  8 nobody users 105 Jan 27 04:40 disk4/
drwxrwxrwt  2 nobody users  40 Jan  2 10:05 disks/
drwxrwxrwx  8 nobody users  91 Jan 27 04:40 fast/
drwxrwxrwt  2 nobody users  40 Dec 19 08:41 remotes/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user0/
root@unSERVER:~#

 

  • Like 1
Link to comment
31 minutes ago, trurl said:

root@unSERVER:~# ls -lah /mnt
total 16K
drwxr-xr-x 13 root   root  260 Dec 19 08:43 ./
drwxr-xr-x 20 root   root  460 Jan 19 21:27 ../
drwxrwxrwx  5 nobody users 120 Dec 19 08:43 RecycleBin/
drwxrwxrwx  1 nobody users  62 Jan 27 04:40 cache/
drwxrwxrwx  4 nobody users  41 Jan 27 04:40 disk1/
drwxrwxrwx  3 nobody users  27 Jan 27 04:40 disk2/
drwxrwxrwx  6 nobody users  75 Jan 27 04:40 disk3/
drwxrwxrwx  8 nobody users 105 Jan 27 04:40 disk4/
drwxrwxrwt  2 nobody users  40 Jan  2 10:05 disks/
drwxrwxrwx  8 nobody users  91 Jan 27 04:40 fast/
drwxrwxrwt  2 nobody users  40 Dec 19 08:41 remotes/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user0/
root@unSERVER:~#

 

 

Appreciate your sharing. It looks like the user and group execute permission are missing from those folders on my server.

 

I don't recall me purposely updating them. I will give it a try to make up the grants like yours anyway. Stay tuned.

 

 

Link to comment

Bingo. Hats off to @trurl

 

I granted the gu exec permission.

 

The shares came back on right away. The permission is well preserved too even after I restarted the array.

 

Another two newbie questions:

 

😀 How do I mark this thread as solved? 

 

How do I give you some credits on helping me? 

Edited by Wei Wei
Link to comment
  • Wei Wei changed the title to (Solved) Unraid UserShare disappearing, never come back after multiple tries of rebooting

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.