Volodesi Posted December 23, 2022 Share Posted December 23, 2022 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. Quote Link to comment
Squid Posted December 23, 2022 Share Posted December 23, 2022 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 Quote Link to comment
Volodesi Posted December 23, 2022 Author Share Posted December 23, 2022 (edited) 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, 2022 by Volodesi Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 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. Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 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? Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 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. Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 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 Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 Looks like they both write to /mnt/user ? Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 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. Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 I don't think I follow? There are folders in there that it uses for transcoding. Wouldn't those also be showing as Shares? Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 Post a screenshot of User Shares page Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 Here it is. Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 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? Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 Yes. I've been deleting them when they show up. They never have any data in them. It's just empty. Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 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. Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 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? Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 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? Quote Link to comment
Volodesi Posted February 20, 2023 Author Share Posted February 20, 2023 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. Quote Link to comment
trurl Posted February 20, 2023 Share Posted February 20, 2023 Next time it happens, go to User Shares, click Compute... on the share, and post a screenshot 1 Quote Link to comment
Volodesi Posted March 2, 2023 Author Share Posted March 2, 2023 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. Quote Link to comment
itimpi Posted March 2, 2023 Share Posted March 2, 2023 @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. Quote Link to comment
Volodesi Posted March 2, 2023 Author Share Posted March 2, 2023 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. 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.