Jarsky Posted January 20, 2020 Share Posted January 20, 2020 (edited) I wonder if anyone else gets this, and if there is any sort of fix for it? Intermittently my "MOVIES" directory isnt visible from any of my Windows 10 or Windows Server 2019 machines. I can however navigate to \\tower\share\MOVIES and the folder opens just fine. My Linux Machines & VM's are unaffected, they can always see the folder mounted. I have just a single SMB configured as 'share' which MOVIES is a directory of. It's only ever that directory that doesnt show up as well, the rest are unaffected. I was wondering if its the size of the iNotify table in UnRAID? Does it need to be increased? Theres about 2500 sub folders within 'MOVIES' Here you can see its not visible on my Gaming machine, but it is on my media box. This is a new build im testing out, and everything is healthy Edited January 21, 2020 by Jarsky Quote Link to comment
trurl Posted January 20, 2020 Share Posted January 20, 2020 Why do you want to have only one share? Most would make a Movies share and other shares along with it. Then you have more control over how each is configured. Quote Link to comment
Jarsky Posted January 20, 2020 Author Share Posted January 20, 2020 2 minutes ago, trurl said: Why do you want to have only one share? Most would make a Movies share and other shares along with it. Then you have more control over how each is configured. So you're saying the issue is the SMB share configuration? It's only 1 share currently because i've just transferred the files over from my current server and am testing UnRAID to see if it fits purpose before purchasing a license. I currently have it as 1 share for full access during the testing, but i copied all the data from a hardware Raid 6 running on Windows which has been a single share using NTFS/ACL permissions for access. Quote Link to comment
itimpi Posted January 20, 2020 Share Posted January 20, 2020 6 minutes ago, Jarsky said: So you're saying the issue is the SMB share configuration? No - merely an observation. I have shares on my system with far more files/folders and never see this problem I would suggest you post your system diagnostics zip file (obtained via Tools >> Diagnostics) after the problem has occurred (giving an approximate time to help when checking logs) to see if anyone can spot anything that might be relevant. Quote Link to comment
Jarsky Posted January 20, 2020 Author Share Posted January 20, 2020 The issue is apparent right now. I've just tried rebooting it 10 minutes ago, and also disabling the cache and restarted Samba but still persists. Dont know that the log will really help but its attached. Rebooted approx 2:32, log taken @ 2:38 jarskynas-new-diagnostics-20200121-0238.zip Quote Link to comment
Frank1940 Posted January 20, 2020 Share Posted January 20, 2020 Let's try this: On the server, open up a terminal window by clicking here: Then type the Following command: ls -al /mnt/user0 Capture a screen shot and post it up. Quote Link to comment
Jarsky Posted January 20, 2020 Author Share Posted January 20, 2020 1 minute ago, Frank1940 said: Then type the Following command: ls -al /mnt/user0 Capture a screen shot and post it up. Can see the sub folder 'MOVIES' just fine on that listing. Cant see it on any of my 3 Windows Machines. Just tried ES File Explorer on my android, and can see the folder just fine there. So something weird with samba im assuming? Quote Link to comment
itimpi Posted January 20, 2020 Share Posted January 20, 2020 If you try and access the server by IP address rather than name does it work? If so that would at least point out the issue may be related to name resolution in some way. Quote Link to comment
Frank1940 Posted January 20, 2020 Share Posted January 20, 2020 You can also have a look at the what the LAN networking configuration looks like. Start by installing a the Local Master plugin on the server. You can find out how in my 'Quote' in this post: https://forums.unraid.net/topic/53172-windows-issues-with-unraid/?tab=comments#comment-515625 This will show what your Unraid server thinks is the Local Master (which basically controls SMB access). (You should also have your Unraid server be setup to be the Local Master. That often solves a lot of SMB problems!) Now, lets look at the Window side of the equation. There is a program which will analyze the network from the Windows side. You can find information on it here: https://forums.unraid.net/topic/53172-windows-issues-with-unraid/?tab=comments#comment-536447 (By the way I just downloaded it again and it works with WIn10 ver 1903.) Quote Link to comment
Jarsky Posted January 20, 2020 Author Share Posted January 20, 2020 (edited) 8 hours ago, itimpi said: If you try and access the server by IP address rather than name does it work? If so that would at least point out the issue may be related to name resolution in some way. Doesnt make any difference, one of the machines I hadnt even accessed it from yet and I tried the IP address and same thing. 8 hours ago, Frank1940 said: Now, lets look at the Window side of the equation. There is a program which will analyze the network from the Windows side. You can find information on it here: https://forums.unraid.net/topic/53172-windows-issues-with-unraid/?tab=comments#comment-536447 (By the way I just downloaded it again and it works with WIn10 ver 1903.) UnRAID is the master browser according to that LANscanner JARSKYNAS-NEW 192.168.1.243 70-85-c2-d6-83-56 WORKGROUP MASTER In a last attempt i've robocopied all the MOVIES folders attributes for folders & files and it reappeared. Hopefully it stays this time. I cant imagine why it would have had an issue with any attributes in the first place since I hadn't touched it since I copied the files over C:\WINDOWS\system32>robocopy E:\MOVIES\ Z:\MOVIES\ /S /E /B /Z /R:2 /W:3 /TBD /NP /V /DCOPY:AT /COPY:AT /MT:24 /TEE /LOG+:D:\copy-movies-attribs.log Think ill leave it here for now, thanks for the suggestions with the troubleshooting Edited January 20, 2020 by Jarsky Quote Link to comment
Suntech Posted December 31, 2020 Share Posted December 31, 2020 I actually had a similar issue with a folder within my main SMB share which did not display in Windows Explorer, I could however browse to it via the exact path. Turned out to be the Windows folder attributes, not the Unraid attributes. The folder was \\dataserver\store\hyperoo. When I accessed cmd prompt, and typed attrib \\dataserver\store\hyperoo, the attributes showed as SH (System and Hidden) so I removed these via attrib -S -H \\dataserver\store\hyperoo and now the folder is visible from all devices. 1 Quote Link to comment
sethdthomas Posted January 11, 2021 Share Posted January 11, 2021 On 12/31/2020 at 4:26 PM, Suntech said: I actually had a similar issue with a folder within my main SMB share which did not display in Windows Explorer, I could however browse to it via the exact path. Turned out to be the Windows folder attributes, not the Unraid attributes. The folder was \\dataserver\store\hyperoo. When I accessed cmd prompt, and typed attrib \\dataserver\store\hyperoo, the attributes showed as SH (System and Hidden) so I removed these via attrib -S -H \\dataserver\store\hyperoo and now the folder is visible from all devices. Suntech, Thanks for posting this - you solved my problem immediately! I appreciate it. I think this post should be higher. Do you know of any reason this is the case? I was using "Robocopy" on a task scheduler to mirror a folder for backup purposes - unsure if this is the reason that it was set to hidden or not. Thanks again! Quote Link to comment
sethdthomas Posted January 13, 2021 Share Posted January 13, 2021 On 12/31/2020 at 4:26 PM, Suntech said: I actually had a similar issue with a folder within my main SMB share which did not display in Windows Explorer, I could however browse to it via the exact path. Turned out to be the Windows folder attributes, not the Unraid attributes. The folder was \\dataserver\store\hyperoo. When I accessed cmd prompt, and typed attrib \\dataserver\store\hyperoo, the attributes showed as SH (System and Hidden) so I removed these via attrib -S -H \\dataserver\store\hyperoo and now the folder is visible from all devices. On 1/11/2021 at 10:43 AM, sxt_ said: Suntech, Thanks for posting this - you solved my problem immediately! I appreciate it. I think this post should be higher. Do you know of any reason this is the case? I was using "Robocopy" on a task scheduler to mirror a folder for backup purposes - unsure if this is the reason that it was set to hidden or not. Thanks again! Just wanted to follow up on these threads as it was incredibly annoying to figure out. This has happened to me when I use Robocopy to mirror disks - looking at this guide here https://blog.coeo.com/how-to-prevent-robocopy-from-hiding-your-files-and-how-to-fix-it-when-it-does you can add "/A-:SH" to the end of your Robocopy script to prevent the directories from being hidden. Thanks again Suntech! 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.