December 23, 20223 yr Hello, I am not too familiar with the ins and outs of Unraid and was wondering if someone could help me figure out what is causing these random shares to be made. It's been doing it for quite a while now. I opened up the syslog and noticed something about samba, which might be the issue? Attached a screenshot of the syslog. Hopefully I didn't leave in something I shouldn't have. Thank you for any help provided.
December 23, 20223 yr 10:1 The shares are being created via a docker container. Look on the docker tab for any apps with have a path mapping including /mnt/user/1... Failing that, its a user script you're running somewhere
December 23, 20223 yr Author 5 hours ago, Squid said: 10:1 The shares are being created via a docker container. Look on the docker tab for any apps with have a path mapping including /mnt/user/1... Failing that, its a user script you're running somewhere I checked all my mappings and none of my dockers are using /mt/user/1, etc. I haven't really added any new dockers or apps or anything to my server. It all started during one of the recent Unraid OS updates I believe. It randomly happens. I can go a few days and never see them. I delete them each time I see it. Where should I look next? Thank you for the help. Edit: I did some searching and downloaded one of your plugins that I assume shows what user scripts I have running. It doesn't show anything is running? Edited December 23, 20223 yr by Volodesi
February 20, 20233 yr Author Well. Managed to go almost a month without it creating the shares, then the past two days it's created the "2" share a few times. I honestly have no clue how to stop it from doing this. As I stated in the post awhile back, I don't have any scripts or weird things on my server. This started happening after one of the Unraid updates.
February 20, 20233 yr Community Expert The user shares are simply the combined top level folders on array and pools. If you create a user share in the Unraid webUI, Unraid will create a top level folder named for the share on array or pool as needed in accordance with settings for the share. Conversely, if you create a top level folder on array or pool, it is automatically a user share named for the folder. Any share you haven't made settings for has default settings. Something somewhere must be specifying a path to a top level folder on array or pools named 2. Or possibly a path to /mnt/user/2 or /mnt/user0/2 How many dockers do you have?
February 20, 20233 yr Author 5 minutes ago, trurl said: The user shares are simply the combined top level folders on array and pools. If you create a user share in the Unraid webUI, Unraid will create a top level folder named for the share on array or pool as needed in accordance with settings for the share. Conversely, if you create a top level folder on array or pool, it is automatically a user share named for the folder. Any share you haven't made settings for has default settings. Something somewhere must be specifying a path to a top level folder on array or pools named 2. Or possibly a path to /mnt/user/2 or /mnt/user0/2 How many dockers do you have? I have four dockers. Two of them are game servers, which are almost never ran. Haven't ran them for months. Other two are an Emby server and YouTubeDL.
February 20, 20233 yr Community Expert Or even a path to /mnt/user or /mnt/user0 could result in something writing a folder named 2 2 minutes ago, Volodesi said: Other two are an Emby server and YouTubeDL Post docker run for those
February 20, 20233 yr Community Expert Emby is mapping host path /mnt/cache_other (the top level of your 'cache_other' pool) to /emby_transcode. So any time emby writes a folder named 2 in /emby_transcode, that is a folder named 2 at the top level of your cache_other pool, and so a user share named 2.
February 20, 20233 yr Author I don't think I follow? There are folders in there that it uses for transcoding. Wouldn't those also be showing as Shares?
February 20, 20233 yr Community Expert 6 minutes ago, Volodesi said: I don't think I follow? Sorry, I didn't notice that you were showing the transcoding-temp folder on cache-other. Those folders are not top level folders on cache-other. They are folders in transcoding-temp user share. I don't see any user share named 2 currently. Did you already delete it?
February 20, 20233 yr Author Yes. I've been deleting them when they show up. They never have any data in them. It's just empty.
February 20, 20233 yr Community Expert 30 minutes ago, trurl said: Emby is mapping host path /mnt/cache_other (the top level of your 'cache_other' pool) to /emby_transcode You are allowing Emby access to the top level of cache-other. If it creates a folder at that top level, it will be a user share.
February 20, 20233 yr Author 7 minutes ago, trurl said: You are allowing Emby access to the top level of cache-other. If it creates a folder at that top level, it will be a user share. So, creating another folder inside there for it to use instead should fix this issue?
February 20, 20233 yr Community Expert 7 minutes ago, Volodesi said: creating another folder inside there for it to use instead Not clear it is the cause, but it would be a good idea in any case. Does anyone else have access to your server? Can it be reached from the internet?
February 20, 20233 yr Author Just now, trurl said: Does anyone else have access to your server? Can it be reached from the internet? No. It's just me and it's local only.
February 20, 20233 yr Community Expert Next time it happens, go to User Shares, click Compute... on the share, and post a screenshot
March 2, 20233 yr Author On 2/20/2023 at 5:01 PM, trurl said: Next time it happens, go to User Shares, click Compute... on the share, and post a screenshot Well, it finally happened again. Here is the compute.
March 2, 20233 yr Community Expert @VolodesiHave you fixed the mapping of the plex transcode folder that was mentioned earlier? If so then we probably need to look for another container with a similar mapping issue.
March 2, 20233 yr Author 2 minutes ago, itimpi said: @VolodesiHave you fixed the mapping of the plex transcode folder that was mentioned earlier? If so then we probably need to look for another container with a similar mapping issue. I have not. Didn't want to change it yet. That way we could try and get the "2" share to show up again. Will change it now though.
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.