CaseySJ - What filesystem are you using for your TrueNAS? If ZFS, you think ECC Memory is not critical?
TrueNAS only supports ZFS as file system.
As for ECC memory, pages have been written about it… Fact is ZFS is designed with the assumption of ECC memory; ZFS checksums everything on disk to prevent bit rot but trusts what's in memory, relying on ECC to catch bit flips (there's a debug flag to force ZFS to cheksums RAM as well). So without ECC there's a possibility that ZFS could serve incorrect data from RAM, and there's the remote possibility that a bit flip in a stored checksum causes ZFS to actually corrupts data to match the checksum—a catastrophic scenario known as "the scrub of death".
This remains relatively unlikely, and ZFS without ECC is arguably still more secure than just about any other file system (HFS, AFS, NTFS, ext2/3/4, ufs, xfs…) even with ECC.
But ZFS is a nice fit for paranoids, and if you're paranoid about your data it makes no sense not to use ECC RAM when deploying ZFS.
My personal opinion and advice is that, if you're
recycling an old desktop build into a NAS (possibly 10 GbE or faster…) it is acceptable, as a first intention, to use what you have—which is likely not ECC. But if you're actually
buying a motherboard and/or CPU to build your NAS, you should do it by the textbook and go for
ECC RAM.
ECC benefits any server—actually
any computer—so the advice applies to any kind of NAS, not only ZFS solutions TrueNAS or XigmaNAS. Incidentally, older motherboards are likely to have more SATA ports than newer ones, and serving files does not require extreme computing power so old gear does well—as long as one does not go all the way back to pre-Haswell "space heaters". So reuse your old builds or go for
refurbished/second-hand server-grade hardware (MB, CPU, ECC RAM, NIC…) and save your money for
new hard drives and a
new well-sized Gold PSU or better (a NAS is mostly idle, so the high efficiency of Platinum/Titanium PSU under low load is of value—though possibly not to the point of paying back the extra cost of the highest grade).
10 GbE is old tech in server world, so second-hand server-grade NICs are cheap: Solarflare 5122F/6122F/7122F go for $50 on eBay; Chelsio T520, from $100-$150 with some patience or some effort shopping around (even the
non-SO variants, which are better). These have excellent native support in Linux (OpenMediaVault, Unraid, TrueNAS SCALE) and FreeBSD (TrueNAS CORE, XigmaNAS). Bonus: These oldies have
drivers for macOS and can work on the Hackintosh side as well—without kernel patches and/or requiring working AppleVTD like Aquantia or Intel X500 NICs.
(Edit: Of course, I've been ninja'd…)