- Hi, Quick question for anyone storing their movies on unraid Do you map to them in mb3 server using user share? For example tower movies comedy Where the comedy folder on the unraid may actually span multiple drives Or, in mb3 I can map direct to drive shares tower disk1 comedy tower disk2.
- You can recursively delete a folder and all its contents (subfolders and files) with the 'rm -rf folder name' command from the CLI. With this command a folder does not have to be empty before it can be deleted. The -f argument force deletes the files.
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. Hey guys, new new unRAID but so far really liking it. I've had my plex server in Windows for a couple years but recently moved it to unRAID to take advantage of the parity/backup features. I have the unRAID box set up in the corner of the living room and have been accessing it's file system via network using Windows Explorer on my laptop. The general idea is to create a honeypot of files and shared folders that, if modified, immediately trigger unRAID to go into read-only mode (and/or disable access to all shares). If someone tries to encrypt and delete your files, unRAID would simply cut off access.
Install
Unraid Remove Disk
- 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.
Unraid 6.8 Delete Share
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
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
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
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
Unraid Clear Disk
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.
Unraid Cannot Delete Share
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/