TrueNAS is at heart a file server, and using general purpose server hardware can be a good choice because they are usually designed with both reliability and significant numbers of disks in mind.
Note: What we are talking about here are systems specifically designed by the manufacturer from the ground upwards to be servers. We are NOT considering generic desktop or tower PCs that can be used to run a server operating system like TrueNAS.
Such servers usually support ECC memory, significant amounts of memory and numbers of hard drives, and often also support hot-swappable disks where you can remove a failed disk and replace it with a new one whilst your server remains running.
If your NAS is for use in a business where loss of data would be a disaster, and where server downtime equates to business downtime, then it is highly recommended that you use server-grade hardware.
Such servers also offer remote hardware management - where you can connect over the network even if the main server is powered off and e.g. power up the server and configure the BIOS. If you are considering running your TrueNAS server remotely for e.g. remote backups to another location, then this is a highly recommended capability.
Note: Some consumer grade specialised NAS boxes (from the likes of Synology, QNAP, TerraMaster and ilk) do not qualify under the above definitions because their memory may not be ECC or may not be large enough, or because they have insufficient drive slots or because they don't provide remote management.
If you only need (say) between 4x and 8x drive bays then e.g. the HPE Microserver product line can meet your need.
But if you need more drive bays than these micro-servers can provide i.e. 8x to 12x drive bays, then you are starting to look at rack mounted servers and whilst buying these new with all the necessary components will get you a system that is an exact match for your needs, this can easily get quite expensive. An alternative that many users find attractive is to buy a used server, particularly since the processor power needed by TrueNAS use as a file server can easily be met by older, lower CPU-power systems.
Everything in life has its pros and cons, and the choice of hardware for your NAS is no exception.
Hardware RAID controllers typically consolidate disks into RAID arrays and present to the operating several real disks combined into one larger logical and redundant disk.
TrueNAS / ZFS is a software RAID technology which does not need hardware RAID and expects disks to be presented natively (including their firmware capabilities like SMART and model/serial-number details).
Used servers will often come with a hardware RAID controller, and if you want to use this you will need to be able to disable the RAID functionality and switch it so that it presents the drives in their native form. Not all hardware RAID controllers can do this.
So if you are thinking of buying a server with a hardware RAID controller, check that it can be configured to present drives natively before buying. Most LSI/Broadcom/Avago Host Bus Adapters (HBAs) can do this e.g. most LSA HBAs can have firmware flashed that puts them into "IT Mode".
Alternatively motherboard native SAS/SATA ports or NVMe slots are also fine.
Note: The initial author of this page (Dan Addams) own experience with server hardware has mainly been with Dell and Supermicro equipment, and a little bit with HPE's MicroServers. There are many other big-name manufacturers that make Intel/AMD enterprise servers (for example Hewlett Packard (HP) or Lenovo) but the author doesn't have any experience with these.
The Dell 13th-generation (model number R/Tx30 - R for rack-mounted, T for tower) servers represent the earliest systems you'd really want, and there are a few good choices here:
All of these systems have Dell's iDRAC remote management. The web interface is slow, but it gives a HTML5 remote console (no need for Java or other browser plugins). The built-in lifecycle controller also allows for a bulk update of all the system firmware--BIOS, iDRAC, PSU, HBA, NIC, etc. It will download it all from Dell and install it, automagically.
With Dell systems, you're going to want the HBA330 controller, not one of their PERC RAID controllers.
If you want something newer, similar choices are available with Dell's 14th-generation models (model numbers of R/Tx40), though naturally the prices will be higher.
Supermicro is probably the best choice for larger systems; their CSE847 chassis models give you 36 3.5" drive bays in 4U of rack space. They sell a variety of pre-built servers, as well as individual components from which you can assemble (or upgrade) your own. Some specific pointers for Supermicro systems include:
HPE has made several generations of MicroServers--physically small servers with four 3.5" drive bays (which are not hotswap-capable according to their documentation), single CPU sockets, fairly low power consumption, and fairly low noise levels, but that nonetheless support ECC RAM and remote management, features that are usually limited to much higher-end hardware.
The biggest limitation of the MicroServers today is an interface for a boot device. They have an internal USB port that can be used for a small USB SSD[1], but none of them - not even the newest - have m.2 sockets available on the motherboard. Note: This page is primarily aimed at - however for home use this may be acceptable.
The Gen 8 models have a fifth SATA port for the built-in optical drive, but the system can't boot using that port, so it isn't available as a boot device without playing around with Grub a bit. (That said, you could probably put a non-boot SATA drive on this port and use one of the other ports for your boot drive.
In short, they're nice, compact (in the case of the Gen 10+, rivaling the size of a commercial four-bay NAS), quiet servers, but unless you are prepared to use a USB SSD as a boot drive, there are probably better alternatives.
For those who don’t have the time, here is a specific list of hardware for a quiet FreeNAS server I made in early January 2016.
The intention was to build an expandable, 8 bay, quiet TrueNAS system that would be situated in the living room. (The “quiet” part was very important as I did not want to upset the psychopath I share a house with, although she preferred to be introduced to people as my girlfriend.)
Item | Description | Qty |
---|---|---|
Processor | Intel Xeon E5-2620v3 | 1 |
CPU Heatsink/Fan | Noctua NH-U12DX i4 High Performance Intel Xeon CPU Cooler & 120mm Fan | 1 |
Motherboard | Supermicro X10SRH-CLN4 Single socket R3 (LGA 2011) 8 SAS3 12Gb and 10 SATA 3 6GB | 1 |
Memory | Samsung 8GB DDR4 2133MHz ECC Registered Server Memory - M393A1G40DB0 | 2 |
Graphics Card | Not needed | |
OS HDD | 256GB Samsung 850 PRO | 1 |
Data HDDs | WD Red 4 TB | 8 |
HBA Card | Not needed | |
Optical Drive | Not needed | |
Operating System | Not needed | |
PSU | Seasonic AU-650x | 1 |
Case | Fractal Design Define XL R2 Titanium Gray | 1 |
Rails | Not Needed | |
Case Fans (Front) | Noctura NF-A14 | 2 |
Case Fans (Back) | Noctura NF-A14 | 1 |
Gigabit Network Switch | Not needed | |
UPS | Eaton 5SC 1000i | 1 |
SAS Cable | LSI 0.6m Cable SFF8643 to X4 SATA CBL-SFF8643-SATASB-06M (SFF8643 to X4 SATA) | 2 |
Server Rack | Not needed | |
KVM Switch | Not needed | |
SATA Cable | 1 | |
Bay Adaptor | 1 | |
Molex-to-SATA Adaptor | 1 |
The whole thing came to just over £2,600 (2016 GBP) including a UPS (when the bill came in I slightly soiled myself).
If you decide to go with this very expensive build then it should look something like this when completed.
However, if you let ferrets build your server you will get this:
In brief, a used rack-mount server can be a good choice if you don't mind the power consumption and noise, i.e. if you can locate it away from your living/office areas.
If you don't need the drive density, a used tower server (e.g., Dell PowerEdge T430) or mini-server (e.g., HPE MicroServer) avoids most of the cons, but also limits the benefit from the pros. It will still give you useful server features, and solid bang-for-buck, but won't give you the storage density of a rack-mount system.
Previous - 2.3.4 Building a DIY NAS appliance | Index | Next - 2.3.6 Final hardware selection |
[1] For high-reliability business use, using a USB SSD (different from USB Flash Drives - don't make this mistake) as a boot drive is absolutely NOT recommended because a) it will significantly reduce system reliability, and b) using USB drives (for boot or any other purpose) are officially not supported by ixSystems. For home use, if you only need 2 or 3 slots for your hard drives, you will probably be better off using one of the SATA ports for a SATA SSD boot device instead, but a USB SSD (but not a Flash drive) will work if you accept the lower reliability and loss of some level of support.