Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

how to mount a NFS file for cache datas ? #18

Open
tamatoa opened this issue May 18, 2018 · 3 comments
Open

how to mount a NFS file for cache datas ? #18

tamatoa opened this issue May 18, 2018 · 3 comments

Comments

@tamatoa
Copy link

tamatoa commented May 18, 2018

Hello, thanks for your great how-to :)
As I run my ubuntu server on Hyper-V and I have a NAS, and wish I could use it for cache the data.
Can you tell me how to do this ?
I have NFS share.
Thank you

@RyanEwen
Copy link
Owner

I haven't tried a setup like this but I imagine you could move the lan-cache-docker/data/cache directory somewhere temporarily, then mount your NFS drive to lan-cache-docker/data/cache, and then move the contents of cache back (so that they end up on the share. You'd need to do that while the containers were down, and then bring them back up afterwards.

@tamatoa
Copy link
Author

tamatoa commented May 23, 2018

my ubuntu server is on hyper-V and I'm using it for cache all my games.
So I type "sudo mount 192.168.2.111:/volume1/gamecache/cache lan-cache-docker/data/cache" and I start all docker containers, but nginx keeps restarting.
Do you have any idea why it restarts ? thank you

@tamatoa
Copy link
Author

tamatoa commented May 24, 2018

by default, caching steamgames are working flawlessly 👍 but when I try to mount my nfs folder to the docker cache, I dont have the same result. I'm trying to dig what I did wrong

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

No branches or pull requests

2 participants