Open fbef0102 opened 1 year ago
Hey there, I'm glad you brought this up. Others have asked a similar question before but it's never been officially addressed.
It makes complete sense that you'd want to share the same directory for multiple servers, because that simplifies administration, especially since most admin use the same plug-ins, similar maps, similar sounds, etc. It also, of course, can save disk space.
The maps and sounds and resources are probably okay to share the same folder, but the big problems arise with things like:
If you have two servers using the same directory, the first game server may accidentally overwrite data written by the second game server, and vice versa. They would essentially compete for the last write, and the game servers could crash. This is because many programs write data by opening a file handle on the file, and after it's done writing, closing that file hanfle. If two separate programs both have file handles on the file, it can create issues. Think of two people writing to the same Microsoft Word document. Usually Word will make it read-only to one of those people.
To ensure the stability of the game server, it's recommended to use separate directories for each game server.
There are two options we've been exploring as workarounds:
C:\Steam\TF2#2\maps
isn't a real folder, but looks & acts like a real folder, even though its contents are actually located in C:\Steam\TF2#1\maps
mklink
command in cmd, Google for command line arguments and useSymbolic links seem like a better choice at first because you'd save disk space, but I'm hesitant to proceed with that because multiple writes on a file/folder could easily occur, whereas file sync would wait until the file is done writing before it synced it.
If you are using Windows Server, you can install the File and Storage Services role and enable Disk Deduplication. If Windows sees the same file in two spots, it'll only take up the space of one of the files.
Hope this helps! Let us know if you have any questions. I will probably add this as a feature request on the roadmap.
Thanks for your replay and sharing other options.
I will probably add this as a feature request on the roadmap.
Nice, I will keep using seDirector
Reopening this to track status changes. Added to the roadmap as officially planned.
Would also like to see the ability to save space on HTTP Fast Download sync destinations as well.
Hello, I like this app. But recently I would like to use same Left 4 Dead 2 Dedicated folder and launch about 10 left 4 dead 2 servers
I know I can create 10 different folders to do that, but it is very inefficiency, and occupy much disk space. Is there any option?