This video is the first part of a series taking an in-depth look at Unraid shares. This first one gives a brief introduction then looks at SMB shares and how. Cant delete share unraid Cant delete share unraid. UnRAID needs to have User Shares created to hold the virtual machine images; by default, these are created for you by a new installation at /mnt/user/domains/ Check to make sure that your User Share (above) has enough room for the full size of your Windows Operating System hard drive. I read about a very interesting alternative backup approach with UnRAID. Instead of creating an unassigned drive to use for the backup, you actually add it to your array. Configure your shares to never use this drive. The idea here is that the backup drive will be a member of the array, but completely excluded from any and all shares.
Install
- Head to Community Applications. Search for and install SteamCacheBundle.
- Next set a fixed IP address. Enter this in the box marked, Fixed IP address. Make sure it’s not an IP already in use on your network.
- Now enter the same IP address for the
LANCACHE_IP
variable - Make sure the Data and Logs directories are set to your liking. The Data directory is where all the cache data will be stored.
- Now change the
CACHE_MEM_SIZE
,CACHE_DISK_SIZE
andCACHE_MAX_AGE
if you wish. The are fairly self explanatory and can be left at default if you want. If your running low on free RAM, consider loweringCACHE_MEM_SIZE
. The container wont start if you don’t have enough free RAM at start. - The ports must be left as they are. Don’t change these!
UPSTREAM_DNS
is the IP of the DNS server that will be user for queries that are not handled but Steamcache. Currently it is set to Cloudfare’s DNS server.USE_GENERIC_CACHE
must be left set to “true” No touchy!- The rest of the values can be set to “true” to disable the caching of that specific service if you so wish. If you want to cache everything, then leave them all blank.
- Once the settings are all in order, hit Apply
Testing
Now to test the DNS server within Steamcache. Run the following command on your gaming machine, replacing X.X.X.X with the IP you gave SteamCacheBundle to check the DNS server is working. It should return the same IP.
![Delete Delete](/uploads/1/1/8/9/118943547/887568650.png)
Terminal (Mac/Linux):
dig @X.X.X.X +short steamcache.cs.steampowered.com
Power Shell (Windows):
Resolve-DnsName steamcache.cs.steampowered.com -server X.X.X.X
Since the latest unRAID update introduced the /mnt/users/docker share, my Docker files seem to be all over the place. I have some there and some in an /appdata share which seems to have scattered them on across the cache and the array. I wanted to update all my Dockers to use the new /docker share and this is what I needed to do. Here is what my default unRAID web GUI looks like I've got seven drives. Data drives 1-5, a parity drive, and a cache drive. I'm going to pretend that disk3 (located from the shell at /mnt/disk3) is the drive I want to remove. For my setup, I've got all my files located in user shares (from the shell /mnt/user.
Provided this returns the correct IP, update the DNS settings on your gaming machine, to point to the IP you gave SteamCacheBundle. I recommend only setting one DNS server as depending on the OS settings it may choose a DNS server at random.
Windows Instructions
Mac Instructions
Mac Instructions
You will no longer be able to access the internet on your gaming machine if your unRAID server is off as your machine will be unable to resolve hostnames.
Start a small game downloading in any of the supported game clients you use. (Steam, Origin, UPlay)
Run the following command in an SSH session to your unRAID server
![Unraid Unraid](/uploads/1/1/8/9/118943547/285920978.png)
docker exec -it SteamCacheBundle tail -f /data/logs/access.log
This should return lots of text with the word “Miss” towards the end of the line. This means it is getting the download from Steam servers, not the cache. Leave the SSH session open.
Wait for the download to finish
Uninstall the game then reinstall it
The SSH session should now display the same text but with “Hit” at the end instead of “Miss”. This means it’s downloading the game from the cache. Your download speed should also be much faster.
At this point your all done! Files in the cache will last for as long as you set
CACHE_MAX_AGE
to and the cache overall wont exceed this size specified in CACHE_DISK_SIZE
.Source https://squishedmooo.com/the-new-and-easier-all-in-one-steamcache/
unRAID has long had the capability to integrate itself into Active Directory for centralized permission and user management but this process has never been fully documented. After lots of searching around on the forums and PMing a few users I’ve consolidated my findings into this post. I am also assuming you already have a Window Server setup with: DNS and Active Directory (AD) roles, and a functioning domain.
Overview
- Setup unRAID network settings
- Join unRAID to an active domain
- Create groups in domain for centralized management
- Set permissions on files
Network Settings
unRAID needs to be pointed at your Windows Server that runs DNS and AD. This is done through the unRAID WebGUI under Settings -> Network Settings . Update the DNS Server 1 box with the IP Address of your DNS server.
Join to Domain
Now that we have DNS setup we can join unRAID to the domain. Stop the array so that we can change the SMB settings to AD from the Main page. Next, in the unRAID WebGUI navigate to Settings -> SMB and change the dropdown to (Yes – Active Directory) and press “Apply”.
Next we will go to the Active Directory Settings tab in that same page. I am using the Microsoft domain info, change to your domain info.
- AD domain name (FQDN): CONTOSO.COM
- AD short domain name: CONTOSO
- AD account login:
- AD account password:
Press Join and you should see the text change from “Not Joined” to “Joined”.
- AD initial user:
- AD initial group:
I used my everyday AD login account as the initial owner and Domain Admin as the initial group (I know thats lazy) and press Apply.
Go ahead and start the array. The default permissions are now that all Domain Users have RW access to every file, we will update that in the next step.
Create Groups in AD
From the recommendation of Korpo53 on the unRAID forums we are going to make an AD Group for RO (Read Only) and RW (Read/Write) for every share on unRAID so that you can manage everything in AD without changing file permissions every time. You can see my naming scheme of to the right. I chose to do UNRAID--
File Permissions
Now comes the part that had me confused for the longest time. I assumed you would be able to set permissions for users and groups directly in the unRAID WebGUI. You cannot. You need to set the permissions through a Windows machine that is logged in with your “initial owner” AD account that we set when unRAID joined the domain.
- Use file explorer to view all of your unRAID shares (IE TOWER or 192.168.1.2)
- Right click on the first share and go to properties
- Press “Edit”, then Add. Add the RW and RO for the share you are editing and give “Full Control” to the RW account. By default the RO user should only have the rights for read only.
- Now we need to remove the default unRAID permissions and apply to all child items. Click “Advanced”
- Remove the “Everyone” and “Domain Users” that have “Full Control” and click the “Replace all child object permission entries” and press “Apply”.
- Repeat this process for every one of your shares, adding the correct groups.
- NOTE: If any of the permissions break and you lose access to your files you can run New Permissions from the Tools menu in the unRAID WebGUI to reset all permissions.
- Now you can remove/add users to each AD group for the permissions that you want.
Unraid Delete Share List
As with any AD permission changes you may need to log-out/log-in as that user to get the updated permissions.
Unraid Delete Share App
As ever, don’t forget our support forums if you need assistance with the contents of this post.