View Single Post
Author Message
Zeus3005
New Member
Join Date: Jun 2020
Location: Chicago
Old 06-19-2020 , 23:08   Mounting custom content with NFS
Reply With Quote #1

Hi!

I run a bunch of competitive focused servers for Team Fortress 2 on AWS.

I am trying to make use of an EFS volume to store some cfg's and map files so I can centrally manage them instead of having to put out copies to each server.

I'm able to mount an EFS (which is an NFS filesystem) to tf/download and have the server recognize the maps.

However when I try mounting the volume to tf/custom it cannot find any of the cfg files. I also tried mounting to tf/cfg where it does recognize the cfg file but fails to execute because srcds believes the file is over 1 MB (it's not).

I know that NFS filesystems don't support inotify so maybe that's where srcds is getting tripped up trying to index the custom folder?

Edit: I was able to make a simple plugin to try and just see if i could load the cfg from inside the srcds process and it worked; so im guessing exec itself is doing something weird?
Edit 2: I tried mounting a plain EBS volume with an XFS file system and srcds had no issues reading that. So im guessing something specific about srcds reading from NFS file systems and getting an incorrect size value back


Any help would be appreciated!
Thanks!

Last edited by Zeus3005; 06-20-2020 at 00:56.
Zeus3005 is offline