Wei Wei Posted January 27, 2021 Share Posted January 27, 2021 (edited) 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 January 28, 2021 by Wei Wei Quote Link to comment
JorgeB Posted January 27, 2021 Share Posted January 27, 2021 Try booting in safe mode. Quote Link to comment
Wei Wei Posted January 27, 2021 Author Share Posted January 27, 2021 Thanks for the timely response. I tried. The problem remains. I attached the report collected from the safe-mode. mwei-nas-diagnostics-20210127-0309.zip Quote Link to comment
Wei Wei Posted January 27, 2021 Author Share Posted January 27, 2021 Do you think this is related to folder permission? Quote Link to comment
itimpi Posted January 27, 2021 Share Posted January 27, 2021 Not spotted anything obvious yet. It might be worth running File System Checks on the cache pool and each individual array drive? Quote Link to comment
Wei Wei Posted January 27, 2021 Author Share Posted January 27, 2021 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? Quote Link to comment
Wei Wei Posted January 27, 2021 Author Share Posted January 27, 2021 23 minutes ago, itimpi said: Not spotted anything obvious yet. It might be worth running File System Checks on the cache pool and each individual array drive? Ran the file system check, they all look good. Honestly, they are all new drives. Quote Link to comment
itimpi Posted January 27, 2021 Share Posted January 27, 2021 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. Quote Link to comment
Wei Wei Posted January 27, 2021 Author Share Posted January 27, 2021 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. Quote Link to comment
itimpi Posted January 27, 2021 Share Posted January 27, 2021 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. Quote Link to comment
trurl Posted January 27, 2021 Share Posted January 27, 2021 4 hours ago, Wei Wei said: folder permission Those look OK but what about a level up from there, /mnt ? Quote Link to comment
Wei Wei Posted January 27, 2021 Author Share Posted January 27, 2021 4 hours ago, trurl said: Those look OK but what about a level up from there, /mnt ? Quote Link to comment
trurl Posted January 27, 2021 Share Posted January 27, 2021 No that's wrong. Don't know how it got that way. Have you tried rebooting? Quote Link to comment
Wei Wei Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) @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 January 28, 2021 by Wei Wei Quote Link to comment
trurl Posted January 28, 2021 Share Posted January 28, 2021 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:~# 1 Quote Link to comment
Wei Wei Posted January 28, 2021 Author Share Posted January 28, 2021 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. Quote Link to comment
Wei Wei Posted January 28, 2021 Author Share Posted January 28, 2021 (edited) 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 January 28, 2021 by Wei Wei Quote Link to comment
ChatNoir Posted January 28, 2021 Share Posted January 28, 2021 3 hours ago, Wei Wei said: 😀 How do I mark this thread as solved? You can just edit your initial post and add (Solved) at the beginning of the title. Quote Link to comment
Wei Wei Posted January 28, 2021 Author Share Posted January 28, 2021 Excellent! Done marking the topic. Thanks everyone of the community! @ChatNoir @trurl 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.