If you have the time and the technical skills, an alternative to buying a commercially pre-built NAS appliance is to build your own NAS appliance from off-the-shelf components.
This can allow you to tailor the hardware to your own specific needs and can be a fun and interesting project, but it does increase the amount of time you need to spend planning and building your system and is not necessarily going to be cheaper than a commercial pre-built appliance (especially a 2nd user one).
If you decide to go down this route then you will need to choose the following components, ensuring that they are all technically compatible with one another:
There are (obviously??) a huge number of options for each of these components, and they are constantly being updated, so we cannot hope to cover all the options. Instead we will point you to the most well-used brands (because you will find it easier to buy compatible hardware if you stick to the major players) and try to give you the key pointers about how to select the best components for your own needs.
If you need help with this, there are plenty of videos about it on Youtube.
If you have built your own DIY NAS Appliance, then please leave some comments in the discussion box below, or feel free to update this wiki yourself with your own experiences.
In our (opinionated) view, the motherboard is the starting point for your NAS - though perhaps it could equally be argued that the case should be the starting point as everything needs to fit within it.
These days there are specialised motherboards specifically for NAS systems, designed with the following characteristics:
When selecting a motherboard, the most important factors to consider here are:
As a single example, here is a single motherboard available on both Amazon.com - $129 and AliExpress.com - $134:
Some other boards you might want to consider include:
MB | Form | Processor | Memory (up to) |
SSD Slots |
SATA ports |
PCIe | Ethernet | Inc. CPU? |
$ | |
ASRock E3C256D4I-2T | Mini- ITX |
Xeon E-2300 Intel Pentium |
DDR4 ECC | 1x M.2 | 8 on-board + 8 via 2x Oculink |
1 | 2x 10Gb | No | c. $550 | |
SuperMicro X13SAQ | Micro- ATX |
Intel Core 12/13Gen |
128GB DDR5 Non-ECC |
1x M.2 | 8 | Various | 2x 2.5Gb | No | c. $425 |
If your mother board doesn't have enough SATA ports for your needs, but it does have a suitable PCIe slot (x4, x8) then you can use a good quality HBA card to expand the number of SATA ports.
The general consensus is that:
Most HBA cards come with multi-port connectors which need fan-out cables to convert them to SATA ports.
As a single example, here are two similar LSI-based 16x port HBAs available on Amazon.com - $26 and AliExpress.com - $19:
There are many many LSI-based HBA cards on the market - you will need to research and select one suitable for your needs.
LSI cards can run in several different modes depending upon the firmware that is flashed. For TrueNAS'' ZFS based mirroring or RaidZx you want to buy (or flash yourself) an HBA that is in IT mode (AHCI) mode (rather than some sort of hardware RAID mode).
For motherboard you will need standard SATA cables.
For HBA you will need the fan-out cables as shown above.
Sata cables with clips (as shown in the fan-out example) give a positive latch for the cable and prevent them coming loose due to vibrations over time.
Sata cables can have straight or right-angle connectors. Strait are usually best unless you have space constraints on the MB or storage enclosure. If you are buying right-angle connectors, make sure you buy the correct orientation for the change in direction.
There are some excellent NAS cases on the market from market-leading brands like Jonsbo, Audheid and z. There are probably other brands out there or you can even 3D print your own.
Jonsbo primarily make computer cases, specialising in gaming tower PCs and NAS cases (and gaming accessories such as liquid-cooling, LED fans etc.) The N-series of cases are specifically designed as NAS enclosures.
Model | Overall Size (WxDxHmm) |
Bays | M'board Form |
CPU Cooler Max Height |
PCI | PSU | Cooling | Weight | Colours | Cost | |
Jonsbo N1 | 170x354x217 | 3.5": 5 2.5": 1 |
ITX | ≤70mm | 1 | SFX ≤150mm | 1x 140mm (supplied) |
3.8kg | Grey | $127 | |
Jonsbo N2 | 222.5x222.5x224 | 3.5": 5 2.5": 1 |
ITX | ≤65mm | 1 | SFX ≤150mm | 1x120mm (supplied) |
2.9kg | Black White |
$100 | |
Jonsbo N3 | 233x262x298 | 3.5": 8 2.5": 1 |
ITX | ≤130mm | 2 | SFX ≤105mm | 2x100mm 2x80mm |
3.9kg | Black | $170 | |
Jonsbo N4 | 286x300x228 | 3.5": 6 2.5": 2 |
ITX M-ATX |
≤70mm | 4 | SFX ≤125mm | 1x120mm (supplied) |
3.75kg | Black White |
$101 |
Model | Overall Size (WxDxHmm) |
Bays | M'board Form |
CPU Cooler Max Height |
PCI | PSU | Cooling | Weight | Colours | Cost | |
Adu-NAS4 | 265x190x180 | 4 | Mini-ITX | ? | ? | Flex | 1x120mm (supplied) |
3.5kg | Black | $80 | |
Adu-NAS8 | 310x305x221 | 8 | Mini-ITX Micro-ATX |
? | ? | Flex 1U | 2x90mm 1x60mm (supplied) |
6.5kg | Black | $190 |
Here are some other examples of NAS cases:
Product | Drive bays | Cost | |
NAS6 | 6 | $92 |
An alternative choice of case is to 3d print it.
This comes in two designs: a free version for up to 10x3.5" drives or a Pro version for up to 12x3.5" drives which costs $28.
If you want to 3d-print this design for yourselves you will need a 3D printer and experience of printing using PETG filament, approximately $30 worth of filament, and the time and effort of printing all the parts. (PETG is recommended rather than PLA because it is better able to handle the maximum drive / MB temperatures.)
Because this is modular and stackable, you can easily start with either 5x or 6x 3.5" drive bays and then double this at a later date. (The free and Pro designs are slightly different sizes, so you can not upgrade from free to Pro at a later date.)
The design for this case costs $12 and also needs to be printed in PETG.
Finally you can always use a standard Tower case as a base - and suitable full sized tower, with an integrated rack for 3.5" disks and some sort of converter of the 5.25" optical drive area into a second 3.25" rack can certainly act as a NAS base. You won't get caddy-style drive bays, but you will have a great choice of new and 2nd user units and a lot of flexibility.
Your motherboard and your disks will need to be powered by a PSU, and you are likely to need a PC PSU with relatively modest motherboard power supply (because you will not need to power a heavy GPU card) but it will need to power and provide power connectors for multiple disks.
If you want your NAS to be relatively quiet, you should also keep an eye on the noise levels and for noise and power consumption reasons, find a PSU which has temperature-variable fan speeds.
Since you are building a brand new system for your disks to sit in, our recommendation will be to buy new, NAS-specific disks (like Seagate Ironwold or Ironwolf Pro) to populate it with rather than consumer disks which are not designed to run 24x7 or in close proximity to one another.
Check carefully the type of technology in the disk - and avoid SMC technology disks because their write performance characteristics will be very poor and they will be prone to earlier failure.
A cheap way of getting disks is to buy standalone external disks in a USB case, and “shuck” them (which means take out the disk and throwing the case away - beware doing this as these can be whatever disks happen to be cheap and available and are likely to be SMC technology.
Here is a sample cost using the above example components:
Item | Cost $ | 2-Sep-2024 | Item | Cost $ | ||
Case | Jonsbo N4 | $101 | Case | Jonsbo N4 | $101 | |
Motherboard | Szbox N5095 | $129 | Motherboard | Szbox N5095 | $129 | |
Processor | Included | - | Processor | Intel Core i5 12G | €142 | |
Memory | DDR4 16GB SODIMM Crucial 3200MHz |
$35 | Memory | DDR4 16GB SODIMM Crucial 3200MHz |
$35 | |
Sata cables | 8x | $20 | Sata cables | 8x | $20 | |
Power Supply | 500W | $39 | Power Supply | 500W | $39 | |
SSDs | M.2 NVME 128GB mSATA 128GB 2x2.5" SATA 256GB |
$16 $20 $40 |
SSDs | M.2 NVME 128GB mSATA 128GB 2x2.5" SATA 256GB |
$16 $20 $40 |
|
HDDs | 6xHDD Excluded | HDDs | 8xHDD Excluded | |||
Total | $400 | Total | $400 |
There are many many Youtube videos about building your own NAS appliance - and indeed a few channels dedicated to covering the selection or build of small NAS systems. Here are a few examples: