Hi all!
After many months of research, saving up, scouring ebay, and collecting old parts from workstation builds, the time has finally come to build my first ever server for my burgeoning homelab! I’m nervous, excited, and in need of some last-minute guidance. First, the context.
Purpose
In order of priority:
- A network location to store large source video files to point to in Davinci Resolve (my/my work’s video editor of choice) on my personal machine.
-
Multicam video shoots with 1-3 4k feeds and 2-6 1080p feeds (depending on the shoot), to be deleted after ~3 months
-
Lengthy (1-3 hours) 1440p, and 1080p livestream recordings, to be deleted after final edit
-
Hosting game servers (Minecraft, Valheim, etc) for my friends. The networking side of the homelab will probably be a separate post, but I’m going with a Cloudflare tunnel to expose services to the boys.
-
A digital playground for me to get some hands-on learning with contanerization and VMs. Portainer, Linux distros I haven’t tried yet, and Windows server, as a start.
-
Hosting a Jellyfin server for my household.
-
Doing other cool things in the future, whatever they may be!
Hardware
-
CPU: Ryzen 7 3700x
-
Memory: Crucial 2x32GB DDR4 2666 RDIMM
-
Storage: 8x8TB Seagate Exos HDD, 2x256GB Teamgroup SATA SSD, 1x500GB Crucial PCIe 3.0 NVME SSD (there are exactly 8 HDD enclosures in the case, so 8 is my limit without getting a different chassis)
-
Mobo: ASUS Tuf X570 Plus WiFi
-
GPU: EVGA GTX 1080 (my beloved)
-
Network: 10Gbps LAN, 500Mbps down 20Mbps up WAN
Software
-
TrueNAS Scale as NAS device and Hypervisor, with the understanding that I may eventually outgrow its hypervisor capabilities and need a different dedicated VM host in the future
-
Snapshot backups to my existing Synology NAS (which I know is only 2 copies of 3-2-1 but I haven’t found a compelling remote backup option yet)
Thanks to Wendell, Jeff, Tom, Other More Differnet Jeff, Linus, and many other creators in the tech space, I’m up to speed on the basics of ZFS/TrueNAS. Without their videos, I’d be much more apprehensive about the do-it-all setup I’ve undertaken. However, I still have some outstanding questions.
How should I lay out my VDEVs?
I know, every noob asks this. I’ve looked online and haven’t found a consensus. Based on what I’ve read, for my current setup I have 3 options
-
4 mirrored vdevs
-
2x4 RAID Z1 vdevs -everyone disliked that
-
1x8 RAID Z2 vdev
I’m leaning 1x8 RAID Z2 because, despite the read/write performance hit, I still feel hinky about the single disk redundancy of mirrored vdevs. I know you could potentially lose one drive per vdev, but with my luck if I lost 2 drives they’d definitely be from the same vdev. 50% storage efficiency is also expensive imo.
I’m willing to be convinced otherwise, though.
What do I do with the 2 SATA SSDs?
My current plan is to install TrueNAS on the NVME ssd (I know 500GB is overkill for the OS, but I inherited the drive ). I was wondering about either a L2ARC or SLOG configuration for the remaining SSDs (striped for L2ARC, mirrored for SLOG), and which would benefit my use case the most.
PHEW, that was a lot for a first post. I’m so glad to have found a community of people who clearly know way more than I do and from whom I can deepen my understanding of computing beyond the “magic box go brrr” level!