Hi all!
I’ve spent the last few months diving deep into TrueNAS ZFS pools, Unraid’s solutions, and comparing them to off-the-shelf options like Synology (which is what I currently use). At this point, I’m ready to make some purchasing decisions.
You can read about my current setup here: Homelab Efficiency Improvements and Consolidation. In short, I’ll be retiring my old Xeons and keeping my AMD Epyc systems along with two Xeon-D based systems (perfectly fine for firewall duties). My next challenge is solving my storage needs, which is the focus of this post.
Current Setup: My storage is spread across several Synology systems, along with a few servers running TrueNAS in a wide RAID-Z1 array with iSCSI targets to a Windows host (Emby and Plex) servicing around 30 family and friends. At any given time, anywhere from 2-3 to 8-9 simultaneous streams can be active. Additionally, I’m using Stablebit’s DrivePool software to pool all the NAS devices (RAID5/Z1 on TrueNAS, for Synology SHR) into a single logical drive. The DrivePool software then duplicates my data. While this setup has worked for years, I’m now encountering speed issues under heavy load, and the storage isn’t optimized for my needs. I currently have around 210 TB of total storage, with duplication meaning I only have about half of that usable.
Proposed New Setup: Now that I’ve learned more, here’s what I’m proposing. I’d really appreciate any feedback, as I’m still a beginner with ZFS and TrueNAS.
Hardware:
- HL15 Case
- Supermicro/Asrock Rack SP3 motherboard
- AMD Epyc 7452 CPU
- 256 GB RAM
- 15x 22 TB SAS HDDs WD Ultrastar (3 vdevs, 5 disks each, RAIDz1) (2 vdevs, 7 or 8 disks, RAIDz2)
- 4x Intel Optane Micron Pro 7300 960GB M.2 (mirrored+stripe vdev for special device, to store small metadata files on flash)
- Dual 10Gb NICs (one dedicated for storage VLAN)
Plex/Emby host will run on a separate, new B650-based Epyc 4004 server with two 10Gb NICs (one dedicated to storage).
I’m not entirely sold on Optane yet, though it seems great. Unfortunately, I missed the fire sale, so prices for the P1600X are now around $100-150. Still, if the long-term performance and stability are there, I’m willing to invest. If there’s a better alternative, please let me know! Since Optane is just so expensive, it seems more productive to try something more cost effective. I opted to go with the Micron 7300 Pro m.2 drives as these seemed to have solid performance and endurance vs the cost.
Questions/Concerns:
- Is this setup optimal for my use case? I’d love feedback on the overall design and any potential improvements.
- File allocation size: Is the default file allocation size fine, or should I tweak it? I’ve heard that choosing the wrong size can negatively affect the special device. My goal is to ensure my library loads quickly and isn’t bottlenecked by spinning disks, as it is now.
I’m currently using a version of Wendell’s script (via PowerShell on Windows) to check file allocation sizes, but I can’t do it directly on the storage devices since I’m using iSCSI for everything. Going forward, I plan to switch to NFS or SMB (though Emby/Plex will remain on Windows for specific reasons).
Here’s the output:
File Size Distribution:
1k: 14549
2k: 85435
4k: 59985
8k: 17351
16k: 19505
32k: 48853
64k: 66460
128k: 34688
256k: 16305
512k: 9666
1M: 5519
2M: 1952
4M: 903
8M: 155
16M: 348
32M: 803
64M: 1989
128M: 6144
256M: 12318
512M: 16739
1G: 21666
2G: 14173
4G: 4812
8G: 1230
16G: 563
32G: 98
64G: 35
128G: 2
Thanks in advance for any insights!