12 ms·
I built a DIY NAS in a small cube case (Fractal Node 304), which can house a mini-ITX motherboard and six 3.5" drives, and has pretty good (and quiet!) cooling
by KozmoNau7 6y ago
I built a DIY NAS in a small cube case (Fractal Node 304), which can house a mini-ITX motherboard and six 3.5" drives, and has pretty good (and quiet!) cooling for a case that size (two 92mm fans in front and a 140mm in back). The drive bays are not hot swappable, but are very easy to replace when the top is taken off the case.
For the OS, I put openSUSE on it, set up a btrfs pool and configured SMB, NFS, FTP and SSH/SCP manually. It also functions as my HTPC, with Kodi as the frontend.
The Celeron J4105 is passively cooled and rarely sees 50C even under full load, plus it has hardware video decoding, so it can play back 4K video all day with no strain.
It's not a turnkey solution like a Synology or QNAP box, but it's a lot more flexible.
- muxator 6y agoI whish I could do the same with a CPU that supports ECC ram. Unfortunately, a fanless CPU with ECC support (the Atom x6000 for example) is almost a chimera, or really really expensive.
- parshimers 6y agoI built a custom home server using Mini-ITX form factor parts and I would have to agree with this conclusion. ECC ram in that form factor is very expensive. The biggest issue I had was that fanless ATX power supplies are not reliable. There was also a hardware bug that was bricking Atom C2xxx processors. I think that if form factor is not an issue, one of the i3's that support ECC ram are low enough TDP to be cooled passively. Especially if it is not expected to run at full load for long periods. However I simply switched to using a big case with low RPM, good quality FDB fans. It hasn't been a problem since, and is much less cramped when I do want to tinker with it.
- KozmoNau7 6y agoI would absolutely go for a micro-ATX or even full ATX board if that allows you better choices in hardware to get ECC or other features. My goal was to build something not too much larger than a 4-6 disk NAS, that would also function as a HTPC, sitting under my TV. That meant small size and quiet operation were the main priorities. As none of the popular consumer NAS devices use ECC RAM, I reasoned that I would do without it in my build, too. The fans are running on the lowest variable setting controlled by the BIOS, it's whisper-quiet even with your ear next to it, but I've got some even quieter fans from be quiet, that I'm planning to swap in. The PSU is also from be quiet!, and with the placement deep in the case, with the 120mm fan oriented downwards, it's completely inaudible. Had I not been constrained by space and noise concerns in my small apartment, I would have build a larger, more powerful and ECC-equipped machine to be hidden away in an equipment rack in the basement.
- jnxx 6y ago> It's not a turnkey solution like a Synology or QNAP box, but it's a lot more flexible. That is not even the biggest advantage. The biggest advantage, in my opinion, is that you will always get updates and can run that for an unlimited time, without breaking your setup.
- justapassenger 6y agoBuilding your own is a cool thing, and gives you many benefits. But updates and Linux are very prone to breakages - there’s too much hw and sw combinations to expect solid experience.
- KozmoNau7 6y agoThat is why I chose very commodity hardware and run openSUSE Leap 15.2 on it. I wanted a solid distro with a reasonable update policy, not something that pushes 100+ new updates every week. Debian Stable or perhaps Testing would also have been good choices, but I like YaST. In the interest of full disclosure, I have had one issue with my build. The motherboard has four SATA connectors; Two from the Intel chipset, which work flawlessly, and two from an additional ASM1061 chipset, which don't. They seem to work initially, but when you start pushing larger amounts of data through them, errors start to pop up. As far as I can tell, it's a either a driver issue or a BIOS issue, I can't remember whether I got those same errors on an ASM1061-based 2-port SATA PCIe expansion card or not. Either way, I replaced it with Marvell-based 4-port card instead, and just avoid using the ASM1061 ports for now. Next time I add a disk to the system, I'll connect it to the potentially troublesome ports and run some tests, to see whether it was a driver issue that has been cleared up. So yeah, not perfect, but good enough for me :-)
- pnutjam 6y agoMy home "NAS" running opensuse has been continually upgraded since something like OpenSuse 12. I have data drives and I have an OS ssd that's only 50GB. It's rock solid.
- jnxx 6y ago
- pnutjam 6y agoBingo, this is what I recommend. It's much more flexible.
- jnxx 6y agoInteresting. What is roughly the total price, the average power consumption, and what is the main advantage compared to ARM systems? Am I correct to assume the Intel chips still draw a lot more power than the single-digit Watt numbers of ARM systems, which would become a substantial accumulated cost over the years?
- KozmoNau7 6y agoThe price for the hardware was DKK 2,500 or $400. Synology doesn't have a 3.5" 6-bay NAS, but their cheapest 4-bay is the DS420j at DKK 2300, or around $370. So while that is slightly less expensive and probably uses less power, it also has less room for disks and is significantly less flexible. If you have modest demands and just need something to store your files, it'll work. Or you could go for the DS1612+ to have room for 6 disks like in my build, which will set you back DKK 6,900 or $1,100. And that uses an AMD Ryzen CPU, not ARM. On the upside, it also has transcoding and media playback functionality like my build, and some features my build doesn't have, like an upgrade to 10gbit ethernet. I'm not counting disks in these prices, since I used disks I already had, which I would also have done if I had bought a prebuilt NAS. The TDP for the Celeron J4105 in my build is 10W, representing "the average power, in watts, the processor dissipates when operating at Base Frequency with all cores active under an Intel-defined, high-complexity workload". It very rarely runs at anything approaching a high-complexity load, even when transferring files over gigabit ethernet. It idles at around 30-35C passively cooled aside from the case fans, which run inaudibly at 500rpm. Obviously the chipset and RAM also draw some power, as do the disks and fans and so on, but it compares very favorably to the quoted 51W under load/25W idle for the DS1612+. That is why I specifically chose a motherboard with that class of CPU. Let's say the 51W figure is the same for my build and assume a worst-case load, running at full power 24/7. With the current electricity prices here, that's DKK 773 or $125/year. Compare to the DS420j, which is quoted at 22W, DKK 335 or $54/year, for a device that is significantly less capable. And my build is not just a NAS. It also serves as my HTPC and couch gaming machine for retro and emulated games, among other things. Plus it's 100% under my control, I get to decide what's installed and which features are enabled/disabled. For me, the choice is obvious.