Hi everyone!
My (third replacement) Synology DS1815+ has died and I’ve been wanting an excuse to make my own NAS so this is as good a time as any.
This will be a single purpose machine running TrueNAS Scale on bare metal.
My compute needs are low and it will run a handful of services (Tailscale, Jellyfin, a few more).
My workloads trend read heavy; family streaming our media library to various devices in the house (and eventually to mobile devices on the go) with bursty writes every now and then.
My storage loads are mixed; large files (video), medium files (photos), and small files (music/documents). These are logically separated; one pool with just video, one with just music, etc.
It is a place to store bits with a little compute and I otherwise don’t want to touch it.
Gear
This system is probably overkill, but I am looking for something that is rock-solid set and forget with low power usage that will serve me for many years. I don’t want to fool around with old power-hungry server gear and this setup seems simple, well supported, and less of a hassle to find parts for down the line. That said, I’m open to pricing efficiency and if there are any compatibility issues you notice, or alternatives you recommend to help me spec out something equivalent for less money, I would appreciate it.
Chassis: HL15 45HomeLab Store
CPU: EPYC 4464P https://www.newegg.com/amd-epyc-4464p-socket-am5/p/N82E16819113831 or EPYC 4344P https://www.newegg.com/AMD-EPYC-4344P-Socket-AM5/p/N82E16819113835
Mobo: ASRock Rack B650D4U-2T/BCM https://www.asrockrack.com/general/productdetail.asp?model=B650D4U-2T/BCM
RAM: 4x Kingston KSM48E40BD8KM-32HM 32GB Kingston Server Premier 32GB 4800MT/s DDR5 ECC CL40 DIMM 2Rx8 Hynix M Server Memory - KSM48E40BD8KM-32HM at Amazon.com
HBA: LSI 9305-16i https://www.serversupply.com/CONTROLLERS/SAS-SATA/HOST%20BUS%20ADAPTER/BROADCOM/9305-16I_274680.htm
PSU: Seasonic Prime TX-650 https://seasonic.com/prime-tx
Case Cooling: 6x Noctua 120mm NF-A12x25 PWM chromax.black.swap
CPU Cooling: TBD
HDD: 4x 22TB (will buy) + 8x 10TB (already owned) spinning rust NAS drives
Boot HDD: TBD; some cheap NVMe thing maybe
SLOG/L2ARC: TBD; see questions below
The TL;DR of the main components is:
-
I haven’t found a better short-depth chassis that matches the specs and ease of use of the HL15. It’s expensive, and that sucks, but it will last forever and become a home for future rack expansion down the line. Initially it’s not going in a rack at all because I don’t have one yet, so this chassis seems ideal. Closest competitor I’ve found is https://genesysgroup.com.tw/s316b.htm but I’m new to this and I don’t know how reliable they are as a vendor versus the household names in this space
-
The CPU is only because Epyc has qualified ECC support. Again, I don’t want to think about this machine so I don’t wanna worry about ECC not working. I might step this down to a 4344/4244 instead since I don’t really need 12 cores here and it will probably draw more idle power even though it’s still 65W TDP. Thoughts appreciated.
-
The Mobo is mostly because of 10GbE, IPMI, and qualified ECC support
-
I (think) I understand about the RAM speed limits with 4 DIMMs on the AM5 platform, though I hear it’s better now with more recent motherboard firmware. As I understand it I need capacity not speed for TrueNAS (see my questions below and please let me know if that’s wrong).
-
The HBA is probably over-specced since I won’t take advantage of the speed any time soon, but this particular model has a good reputation as far as I can tell (it’s what 45 Drives ships in their HL15 pre-built systems and Storinators) and replacements should be easy to find.
From scratch, at current prices, this system will be roughly $5K all-in which puts it basically on par with the entry model of the TrueNAS R20 (excluding drives) and more flexible. Does that seem reasonable?
Questions
-
I used simple 2-disk mirror pools in my Synology with BTRFS and planned to continue that with mirror VDEVs in TrueNAS. I’m not super paranoid about drive failures and I have cloud backups. This article comes up a lot and seems to concur that this is the way ZFS: You should use mirror vdevs, not RAIDZ. – JRS Systems: the blog but it’s still worth asking: does this make sense for my use case or should I look at another option?
-
Old TrueNAS hardware recommendation guides say to plan for 1GB of RAM for every 1TB of storage; is that still a valid rule of thumb these days and is 128GB enough for my use case? Is the rule per TB of total storage or usable storage?
-
Putting aside the question of what services I may run on this box, does the speed of RAM matter for TrueNAS itself or is the primary focus only capacity?
-
Talk to me about SLOG. There seems to be some debate from my reading about whether a SLOG is needed or not. My understanding is that the SLOG is to give me some safety in a power outage and to make sure (in combination with ECC RAM) that I never have any corrupt writes committed to the pool, but the SLOG will make write performance slow, especially on drives which are near capacity. Generally speaking, I expect:
- I will, at some point in time, have one or more storage pools which are greater than 90% full
- My write workloads are infrequently bursty but otherwise fairly light
- My read workloads are heavy random access
Does a SLOG make sense for my use case at all?
Do I understand correctly that the recommended SLOG capacity is (RAM / 8) * 2 (so 32GB in my case)? Is this total or per pool/vdev?
- Talk to me about L2ARC. I’m even less certain about whether I need it for my particular workloads. My reading leads me to believe that for my use case L2ARC might actually be kind of important to handle the read load. Maybe I’m misunderstanding what it does, or maybe I’m overestimating my read loads in relation to what my drives can actually handle.
As I understand it, L2ARC is per pool. What is the recommended size allocation? The docs only say, vaguely, that if you use it “more is better” but doesn’t really clarify.
-
If I do need SLOG and/or L2ARC, is trying to source Intel Optane still the right call these days or is there something cheaper/better that works just as well for these purposes?
-
Is a 650W PSU good enough? Real world usage shouldn’t pull anywhere near that but a sanity check would be nice.
-
Please review my PCI-E lanes layout. Here is the block diagram for my board: https://www.servethehome.com/wp-content/uploads/2023/03/ASRock-Rack-B650D4U-2L2T-BCM-Block-Diagram.jpg
I will (potentially) be using:
1x HBA in the x16 slot (Gen5 x16)
1x M.2 as a boot drive (Gen4 x4)
1x M.2 as a SLOG drive (Gen5 x4)
1x 10G Lan (Gen3 x4)
I think that basically caps me out on lanes for this board? Will sharing the Gen4 M.2 with the 10G LAN be an issue (assuming I am reading the diagram correctly)?
- What’s the best way to get my data off the BTRFS drives from the Synology to transfer them over to TrueNAS? As I mentioned, my Synology is “dead”. It can power on, but at some point it will shut itself off. All three of these units have failed the same way. This time it may just be a faulty power supply, or maybe it’s the CPU bug that plagues this SKU (even though support confirmed the resistor fixes were applied); either way I don’t care to troubleshoot it but I need a way to get the data off. I could just restore from the cloud but I have to pay for egress and the drives are right here so I would prefer to just do it offline.
I’d greatly appreciate any thoughts from those of you more experienced with this.
Thank you so much!