Since I have been adding POE Security cameras, and more home automation… I felt it necessary to build a small server for handling these workloads, instead of utilizing my gaming-pc with Hyper-V.
The reason behind this build- Originally- was looking at a Synology NAS..
A huge downside- if any piece of hardware on the unit fails, you are at the mercy of the vendor to replace it. Since it does not use standardized raid, you cannot simply plug your drives into another PC.
I felt, I could build a competing piece of hardware for a close, or lower price while allowing MUCH more flexibility and expansion room.
Granted, for user’s who just want to plug something in, and it work, a synology/drobo/qnap is just fine. But, for my uses, I find it is more effective to build a new one.
Specifications / Parts / Prices
Prices were captured as of when this article was published, and may have changed over the course of time.
|$99.99||Samsung 970 EVO 500GB M.2 NVMe||Amazon|
|$72.99||Gigabyte B450M DS3H||Amazon|
|$91.97||AMD Ryzen 3 3200G 4 Core 3.6ghz base||Amazon|
|$109.99||Fractal Design Node 804 Case||Amazon|
|$62.99||G.SKILL Aegis 2x8GB DDR4 3000||Amazon|
|$69.99||Corsair CX450M 450W BRONZE PSU||Amazon|
Excluding the UPS, This brings the grand total to $507.92, which is still less then the aforementioned Synology Units while being significantly more powerful, and expandable. As a bonus- this server already has 500GB of NVMe storage, while the base-price on the synology includes NO storage.
Disclaimer- Amazon affiliate links are used above. For this site, I choose to not pesture my audience with annoying advertisements, and instead, only rely on affiliate links to support this hobby. By using the affiliate link, you will pay the same price on Amazon, as you would otherwise pay, however, you will support me in the process.
I also had these parts laying around:
- 4x 2TB mixed-vendor SATA HDDs
- LSI 9240-8i.
To note- the LSI HBA is completely unrequired in this build, as the motherboard has 4x onboard SATA ports. If more ports are required, you can buy a cheap SATA JBOD HBA for around 35$ which will do the job just as well.
Here are all of the parts, ready to be put togather.
How does it run?
This post is being completed many months after I had put the server into place…
So far, running 7 containers, it is working flawlessly. Under load, the power draw is pretty minimal, and it makes no noticeable noise. If you didn’t know where to find it, you would never know it was there.
While some may have questioned my choice of a 3200G for 90$, under its current load running ZoneMinder for 4 5MP cameras, running all of my home automation, it is only at around 20% load, and has much more room to grow.
As far as the 16GB of ram, 80% of it is only used for ZFS caching. In the below image- you will notice only around half of a single GB of the memory is used for my Home Automation group.
For my other group of servers, you will still notice slightly over 1GB combined ram between all of the containers.
This goes back to my earlier claim, 80% of the RAM is used for ZFS and/or File caching.
Even for hard disk usage, you will notice…. most of my containers are very small…. My MQTT server, only uses 67MB on disk.
If you would like to learn how to make incredibly small LXC containers, which next to no overhead, I would recommend checking out Alpine Linux. My Alpine containers have been absolutely amazing to manage, and deploy, while using next to no resources at all.
The ONLY issue I have had with this build so far- My LSI 9240-8i died a few weeks ago. Granted- the unit was old when I purchased it off of eBay many years ago (And then used it in my old FreeNAS/Plex server for years).
I replaced it with a LSI 9207-8i off of Amazon for 79$. After replacing it- my ZPools came back online with no issues at all, requiring no configuration whatsoever.
Currently? None. The server does everything I need it to do, with plenty of additional capacity.
When the CPU is upgraded in my Gaming Rig / Workstation, I will be dropping the Ryzen 5 3600 6c/12t into the server.