Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam Lancache Max Storage Size (Seems to be 1.10TB?) - Running on UNRAID With Prefill #196

Open
LostkingZ opened this issue Aug 16, 2024 · 1 comment

Comments

@LostkingZ
Copy link

LostkingZ commented Aug 16, 2024

Describe the issue you are having

Hi, I am using Lancache with Lancache Prefill from ich777/lancache-prefill. I have already made a request to him about this issue but apparently, this is a larger issue with Lancache itself rather than his pre-fill container.

The issue is that I don't seem to be able to go past 1.10TB of storage on my 4TB SSD, it seems as though anything over that just overwrites the oldest files. Is there a max limit that Lancache has on how big Lancache storage can be and if so is there a way I could increase this as the games I want to have filled take up more than 1.10TB of storage.

How are you running the container(s)

I am running the container(s) in an OS called Unraid using the repo lancachenet/monolithic:latest & lancachenet/lancache-dns:latest .

<!-- Paste your docker run commands or your docker-compose file here -->
`Command execution
docker run
  -d
  --name='Lancache'
  --net='br0'
  --ip='192.168.0.10'
  -e TZ="Europe/London"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Hermes"
  -e HOST_CONTAINERNAME="Lancache"
  -e 'TCP_PORT_80'='80'
  -e 'TCP_PORT_443'='443'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/redvex2460/docker-templates/master/redvex2460/images/lancache.png'
  -v '/mnt/user/appdata/lancache/logs':'/data/logs':'rw'
  -v '/mnt/user/lancache/cache':'/data/cache/':'rw' 'lancachenet/monolithic:latest'

44caea6e0368d9073919c9f59dff0d98d6ae4d1964d273befae3401c97781925

The command finished successfully!`

DNS Configuration

<!-- Paste your docker run command for the DNS container OR explain how you have setup DNS on your network to point to the container -->

`docker run
  -d
  --name='Lancache-DNS'
  --net='br0'
  --ip='192.168.0.11'
  -e TZ="Europe/London"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Hermes"
  -e HOST_CONTAINERNAME="Lancache-DNS"
  -e 'UDP_PORT_53'='53'
  -e 'USE_GENERIC_CACHE'='true'
  -e 'LANCACHE_IP'='192.168.0.10'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/redvex2460/docker-templates/master/redvex2460/images/lancache.png' 'lancachenet/lancache-dns:latest'

4ba903a6a76f910e6440d821d1012e3e5620732e9995579a31abe4bf26229241

The command finished successfully!`

Output of container(s)

<!-- Paste any output from the containers here - This will help us identify any issues faster -->

`Command execution
docker run
  -d
  --name='LANCache-Prefill'
  --net='br0'
  --ip='192.168.0.12'
  -e TZ="Europe/London"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Hermes"
  -e HOST_CONTAINERNAME="LANCache-Prefill"
  -e 'ENABLE_BN'='false'
  -e 'CRON_SCHED_BN'='0 5 * * *'
  -e 'ENABLE_EPIC'='false'
  -e 'PREFILL_PARAMS_EPIC'=''
  -e 'CRON_SCHED_EPIC'='0 4 * * *'
  -e 'ENABLE_STEAM'='true'
  -e 'PREFILL_PARAMS_STEAM'='--recent'
  -e 'CRON_SCHED_STEAM'='0 2 * * *'
  -e 'UPDATES'='true'
  -e 'PREFILL_ONSTARTUP'='true'
  -e 'LOGCLEANUP'='true'
  -e 'CRON_SCHED_GLOBAL'=''
  -e 'UID'='99'
  -e 'GID'='100'
  -e 'DATA_PERM'='770'
  -e 'UMASK'='000'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/ich777/docker-templates/master/ich777/images/prefill.png'
  -v '/mnt/user/lancache-prefill/':'/lancacheprefill':'rw'
  --restart=unless-stopped 'ich777/lancache-prefill'

bf8ab3a3072048577c5d0d187e1a560d0239efc2390c5e701a68bd8939e08306

The command finished successfully!`

Current Storage for Lancache & Lancache Prefill:
image

Unraid Container Setup:
image

Unraid Shares for the containers:
image

@LostkingZ
Copy link
Author

LostkingZ commented Aug 16, 2024

I think I have solved this, I needed to set an environment variable that sets the max size for lancache to store data.

It would be nice if we could get that added to the Unraid template by default so users can change it when needed if they (like me) want to store more game files than the default set by lancache.

image

It was here (https://forums.unraid.net/topic/83786-support-ich777-application-dockers/?do=findComment&comment=1253683) that I found the potential fix (Not sure yet as I am waiting for some games to download and see if the size of the share increases to prove it working)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant