Hi everyone,
This will be my first post and I was hoping I could get some advice about how to configure my TrueNAS Community (25.04.1) server for optimal performance.
I’m new to the world of TrueNAS and only set up my first homelab six months ago, so I can self-host everything I need, control my data, and ditch all those subscriptions. I also moved back into a tech job after a few years out (now in health tech), so wanted to refresh my knowledge and skills, and I enjoy it as a hobby. I’ve tried to learn as much as possible by reading and watching resources like T3 podcast, Lawrence Systems, NASCompares etc… as well as the support/forum pages.
My MAIN server is an old gaming PC repurposed with the following config:
Asus ROG Strix Z370F gaming motherboard
Intel i7-8700K Coffee Lake 6-Core CPU
64GB DDR4 RAM non-ECC
750W PSU
Nvidia RTX 4000 8GB GDDR6 (for transcodes)
10Gb Dual LAN Base-T PCI-e Network Card, Intel X540 Controller, NICGIGA 10Gbps Ethernet Adapter, 2 * 10Gbe RJ45 Port
DISKS:
2 x Motherboard NVMe Slots:
Slot 1: 500GB NVMe - Boot Drive
Slot 2: 1TB NVMe SSD (not yet in use)
6 SATA motherboard ports:
SATA 1-4: 4 x WD Ultrastar DC HC550 recertified 18TB drives
SATA 5&6: 2 x WD Red 2GB SATA SSDs
Additional Storage in ASUS HYPER M.2 Card V2, PCIe 3.0 x16:
2 x 1TB NVMe (not yet in use)
Additional SATA via PCIe 2 port SATA 6Gbps controller card:
1 x WD Ultrastar DC HC550 recertified 18TB drive
POOLS:
Pool 1 (primary storage):
- 5-wide 18TB WD Ultrastar HDDs in RAIDZ1
- I think a striped mirrors would be faster? but have been extending a disk at a time and could switch to that RAID arrangement later if advisable?
Pool 2: - 2 x 2TB SATA WD Red as a mirrored pair
- I use this pool for installed app configs and storing anything that I want to have more rapid access
Free disks:
3 x 1TB NVMe SSDs
So the first thing I’m trying to work out is how best to deploy the free NVMe drives.
MY USE CASE:
- Jellyfin Server - primary use with about 6 friends and family members using
- Immich - as for Jellyfin
- Nextcloud + Collabra - Only myself plus 2 users - for all my documents both work and personal
- Audiobookshelf - as for Jellyfin
- Cloudflared
- I was using MINIO as an S3 store but may switch apps due to recent changes their side
- Probably some companion apps for Jellyfin when I get to it
- Calibre library
- Syncthing
- Probably a Windows VM at some point
Having read/watched as much as I can, I’m thinking that the best use of my 3 x TB NVMe SSDs might be to set up a mirrored pair as a special metadata VDEV, with the third as a hot spare. Then I could set the threshold for metadata to perhaps 256KB so that it will serve all my metadata / small files from my media libraries (Jellyfin/Audiobookshelf et al) and my small office documents, and speed up file listings over SMB. I read the fusion drive documentation and think that’s how it would work? What do you folks think? Would this be a good approach?
I don’t see much benefit to adding L2ARC as I have a good amount of RAM for the demands (I think). Please correct me if you know better? Again for SLOG, I don’t see that writes to the server are likely to be a particular bottleneck, hence thinking that may be unnecessary.
But the main point of this post is to accept I’m a newbie and have a lot to learn, so I would love thoughts from those of you with extensive experience with TrueNAS?
Summary of my queries:
- Does my hardware configuration look sane and good or are there any tips/tweaks that would be recommended or things I’ve missed?
- Might it be a good idea to switch to 3 x striped mirrors, once I have a 6th 18tb drive.
- How would you recommend deploying the 3 x 1TB NVMes for best results as special VDEVs
- If going the metadata VDEV route, do you agree with my config suggestion, and are there any checks I can run to determine the threshold in KB to set for what is handled by the metadata VDEV for optimal results?
Thanks in advance for any pointers and assistance.
Jonathan
P.S. My other TrueNAS is running on a TerraMaster F6-424 Max with TOS removed and TrueNas installed (Fangtooth 25.04.1). It has mirrored 22TB Exos HDDs in bays 1&2 and a 2nd pool of 4x 4TB raidz1. Over time the 4tb drives will be removed in pairs for 2 x 22tb pairs. This device is mainly to backup the main server and to kick in if the main server were to fail.
Finally I have the UNAS Pro with 6 x 14tb recertified WD Ultrastar drives + hot spare. I know based on this post Possible to backup to Unifi UNAS Pro? that I can back up to it via rsync, but I don’t know how to set up the SSH keys to enable this - I really am a novice in this area (SSH), so would really appreciate some simple step-by-step guidance to establish the connection?
Thanks again!