New to TrueNAS Scale Want to Host Game Servers. Please Help

I built a system that I want to run truenas scale on and intend to use it for storage, media library, and a few game servers (Ark Survival, V Rising, and Raft the Final Chapter). I’ve done some research but still don’t have a real grasp on how to setup the servers.

System:
Mobo: MW34-SP0
CPU: I-9 12900
Mem: 128 GB ECC
1x 1 TB NVMe
6x 4 TB HDD
2x 2 TB SATA SSD
2x 2 TB NVMe

I intend the 1 TB to be the boot drive, the HDD’s in 2x Raidz1 - 3 wide, the SSD’s mirrored I’m thinking for meta data, and the 2 TB NVMe’s mirrored for apps. Setting up the bulk storage and media library seems pretty cut and dry. I have no idea how to begin with the game servers, if I have not provided enough information let me know what I should provide and please give as much detail as possible as my knowledge is almost nonexistent. Thank you in advance and I look forward to being a part of the community.

Very little point in the metatdata vdev I suspect.

Game servers would be run as VM’s or containers (as applicable)

The 1TB for bootdrive is wasted. Your better option would be a small 64-120gb sata ssd for boot drive and use the 1TB nvme something else.

As mentioned by @NugentS the game servers can be deployed as docker apps directly on truenas, or inside a vm. If those game servers provide a compose file for docker compose you can use that to deploy them via custom app yaml function.

Edit:
Ark Server
V Rising Server
couldn’t find anything for raft…

I agree with you on this point, as I have a 128GB drive drive that served me well since 2016. However, the smallest NVMe drives are 500GB now.

This is my opinion, but here is what I would do if I was building a home/gaming server…

  • Boot Drive - TrueNAS doesn’t require a ton of space to run, unlike Windows. I have a 128GB drive in my system that has been running since 2016 that works fine. However, it appears that a 500GB may be the smallest you can get.
  • 2×2TB NVMe - I would set this up as a Data VDEV (Virtual Device) mirror. This means that if one NVMe drive fails, you can replace it without data loss. I would use this as “fast storage” and where you would store the Apps including the Apps data. The databases inside of the apps will benefit from being on NVMes. I would name this pool nvme.
  • 6× 4 TB HDD, 2× 2 TB SATA SSD - I would change this to 8×4TB drives set up as a Data VDEV in a RAIDZ2 or RAIDZ3 configuration. This way, up to two (RAIDZ2 which I use) or three (RAIDZ3) HDDs can fail without data loss. I would use this as “slow” storage of the media files, while the actual media apps (Plex, Audiobookshelf, Emby, Jellyfin) would be on the NVMe. I would name this pool hdd.
  • 128 GB ECC - Remember that any memory not used for services will be used as Cache memory. For a home server, the other VDEV types are unneeded. You may have to reduce the memory because of the recent spile in prices. I’m running 64GB quite nicely.

If you want to run game servers, the apps will be run in Docker containers on TrueNAS, and those would benefit from the NVMe drives. As far as I know, the gaming services available through the TrueNAS app store are:

  • Factorio
  • Minecraft
  • Palworld
  • Satisfactory
  • Terraria

There are other images out there, so I would check Docker hub. One thing you want to do is set up an authentication service such as Authentik or Authelia to make managing logins easier.

In checking the Gigabyte MW34-SP0 motherboard, excellent choice. It has a 2.5 gigabit ethernet port and a management port so that you can connect to the server console remotely. Provided you have the appropriate other equipment (2.5 gigabit switch, computers that have 2.5 gigabit ports), you will have some nice transfer speeds.

One item that is missing, and can be added later, is a nVidia video card. This will help with video transcoding in the Plex/Jellyfin/Emby applications. If possible, you can repurpose an old nVidia video card newer than the 10xx series. Otherwise, I would purchase either a 4060 or 5060 card for transcoding, as they perform more than an adequate job (I have a $300 5060 in my server). A 4060Ti/5060Ti , 4070/5070, or higher would simply be wasted money. No need to even plug in a video monitor.

Note that, once this server is running, you’ll put it into a closet and “forget” about it. No keyboard, no mouse, no monitor. You’ll be performing all of the tasks via SSH, web browser, or an application.

1 Like

If you are going to buy a card for transcoding - use an Intel ARC A310

Nonsense.

Not the fastest, but for a boot device, who cares?

1 Like

128 GB drives from laptop upgradeds are plentiful in small ads.

Oh, good, 128gb SSDs still exist. I apparently may have my search parameters wrong when I was doing a quick check of NewEgg.

How easy is it for a new person to install and configure?

Well, the drivers are in the kernel already

Thank you, very insightful.

1 Like