The Cheapest NAS
Alexander Gromnitsky shared his experience setting up a budget NAS using an SBC+HDD combo. Despite challenges with hardware compatibility and performance, he managed to install Debian OS but expressed disappointment due to power consumption and reliability issues. He advised against this setup unless prioritizing power efficiency, recommending avoiding similar Chinese devices.
Read original articleAlexander Gromnitsky shared his experience in finding the cheapest NAS setup, aiming to replace his old router with an SBC+HDD combo. He detailed the components he used, including the AML-S805X-AC board from libre.computer, an HDD enclosure, power supply, and cables. Despite encountering some challenges with hardware compatibility and performance issues, he managed to set up the system with Debian OS. Gromnitsky highlighted the need to disable UAS for better functionality and shared his disappointment with the overall setup due to power consumption and device reliability concerns. He concluded by advising against this specific setup unless power efficiency is a top priority, suggesting avoiding such finicky Chinese devices for a smoother experience.
Related
The FreeBSD-native-ish home lab and network
The author details a complex home lab setup with a FreeBSD server on a laptop, utilizing Jails for services like WordPress and emphasizing security measures and network configurations for efficiency and functionality.
Netboot (PXE) Armbian on an Orange Pi Zero 3 from SPI with NFS Root Filesystem
Guide on netbooting Orange Pi Zero 3 with Armbian for Kubernetes experimentation on SBC cluster. Setup involves SPI, u-boot, TFTP, NFS servers, static IP, PoE switch, u-boot updates, TFTP config, and console access.
Booting Linux Off of Google Drive
A programmer's competitiveness leads to booting Linux from Google Drive, facing challenges like networking setup and mounting an Arch Linux root from an S3 bucket. Despite setbacks, Linux boots successfully, integrating Google Drive but facing performance issues and complexities.
Booting Linux Off of Google Drive
The author successfully booted Linux from a Google Drive root independently, using FUSE programs and custom initramfs on Arch Linux. Challenges with networking, permissions, and dependencies were addressed through manual solutions.
Ryzen 7 Mini-PC makes a power-efficient VM host
A power-efficient ASRock DeskMini X600, featuring an AMD Ryzen 7 8700G CPU and consuming under 10W, is praised by Michael Stapelberg for virtualization tasks. Its low noise levels and performance make it versatile.
If you care about power consumption like I do, you can Google "$model energy consumption white paper" which contains very accurate data about idle usage, for example https://sp.ts.fujitsu.com/dmsp/Publications/public/wp-energy...
In one case I had a nuc where on Linux after enabling power saving features for the sata controller, idle usage even fell to 5W when the pdf claimed 9.
Having an actual pc instead of a random sbc ensures best connectivity, expandability, and software support forever. With almost all sbcs you're stuck with a random-ass kernel from when the damn thing was released, and you basically have to frankenstein together your own up-to-date distro with the old kernel because the vendor certainly doesn't care about updating the random armbian fork they created for that thing.
The real benefit is the small form factor and the "low" power consumption. Paying 43 bucks for the whole thing - now asking myself if it is worth saving a few bucks and living with 100Mbit network speed, instead of spending 150 bucks and having 2.5Gig.
There are so many (also "used") alternatives out there:
- Fujitsu Futro S920 (used < 75, ~10W)
- FriendlyElec NanoPI R6C (< 150, ~2W, https://www.friendlyelec.com/index.php?route=product/product...)
- FriendlyElec Nas Kit (< 150, ~5W, https://www.friendlyelec.com/index.php?route=product/product...)
- Dell T20 / T30 (used < 100, ~25W)
- Fujitsu Celsius W570 (used < 100, ~15W)
My personal NAS / Homeserver:
Fujitsu D3417-B
Intel Xeon 1225v5
64GB ECC RAM
WD SN850x 2TB NVMe
Pico PSU 120
More expensive, but reliable, powerful and drawing <10W Idle.I don't do cheap any more. But I can see the appeal.
And how are you accessing it when away from home? A VPN that you're permanently connected to? Is there a good way to do NAT hole-punching?
Syncthing kind of does what I want, in that it lets all my computers sync the same files no matter what network they're on, but it insists on always copying all the files ("syncing") whereas I just want them stored on the NAS but accessible everywhere.
Nextcloud kind of does what I want but when I tried it before it struck me as flaky and unreliable, and seemed to do a load of stuff I don't want or need.
This is the point where I'd have thrown it in the trash and given up. I simply don't know how people have the patience to debug past stuff like this: I get that the point of the project is to be cheap and simple, but this is expensive in time and decidedly not simple.
"The distribution builder is a proprietary commercial offering as it involves a lot of customer IP and integrations so it cannot be public."
Seems like a supply side injector to me!
I picked up an HP ultradesk something or other for dirt cheap a while back. When I got it it turned out to be surplus stock, so not even second hand - was brand new, for maybe 20% the retail price. Dead quiet, and super power efficient. It's not the most powerful CPU, but it's 10th or 11th generation which is perfect for hardware encoding for my media server use case.
It does not have all the hardware for RAID and multiple hard drives and all that, but one NVME boot disk, and one 16TB spinning rust disk is more than enough for my needs. It's media, so I'm not worried about losing any of it.
These boxes are cheap enough that you can get multiple ones responsible for multiple different things in a single "deployment". At one point I had a box for NAS, a box for media server, a box for my CCTV IP cameras and a box running homeassistant. All humming along nicely. Thankfully I was never masochistic enough to try some kubernetes thing orchestrating all the machines together.
This is all obviously for the homelab/personal use case. Would not recommend this for anything more serious. But these machines just work, and they are bog standard X86 PCs, which removes a lot of the hardware config and incompatibility bullshit associated with more niche platforms.
- https://vermaden.wordpress.com/2023/04/10/silent-fanless-del...
I use that and the costs are about $20-25 for a used Dell Wyse 3030 and $60 for used 5TB 2.5 HDD from Seagate in USB 3.0 case.
Then the power bills will also be tiny as it draw about 3.8W when idle and 10.3 W with CPU and disks stressed to maximum.
The only limitation is 'only' 2GB RAM - but with ZFS ARC set to 32MB minimum and 64MB maximum RAM is not an issue.
% grep arc /etc/sysctl.conf
vfs.zfs.arc.min=33554432
vfs.zfs.arc.max=67108864
Regards.So the price of used Sandy Bridge or newer laptop (optionally cracked screen) with 1Gbit ethernet, USB3, couple SATA, couple PCIE lanes (ExpressCard and mpcie slots) and build-in UPS.
OP has a perverse sense of humor :)
----
But, not to waste space on this mindless joke, here's my (or, more precisely, my wife's) success story.
So, I've had it with a laptop and built myself a PC. Money wasn't really a problem, I just wanted to make sure I will have enough of everything, and spares, if necessary. So, I've got a be quiet case with eight caddies and a place for a SATA SSD. It's expensive... but it doubles as my main workstation, so I don't have any regrets about spending more on it! It has a ton of room for installing fans. It has like ten of them at this point, plus liquid cooling. The wifi modem that was built into the mobo that I bought doesn't have a good Linux driver... but the case has a ton of space, and so I could stick an external PCIe wifi modem. And I still have plenty of room left.
Anyways. My wife was given some space for her research in the institute she works for. And they get this space through some unknown company with vanishing IT support, where, in the end, all the company does is putting a fancy HTML front-end on Azure cloud services, sometimes mismanaging the underlying infrastructure. While the usage was uncomfortable but palatable, she continued using it. Then the bill came, and oh dear! And then she needed to use a piece of software that really, absolutely, unquestionably needs to be able to create symlinks. And the unknown company with vanishing IT has put together their research environment in such a way that NAS is connected via SMB, and... no symlinks.
So... I bought a bunch of 4T hard-drives, and now she has all the space she needs for her research. She doesn't even pay for electricity :(
The fitting SBC was about the same price, the most expensive part was the high-efficiencý (GAN) wall-wart, and 2.5" Disk.
I know this, because I ordered this eons ago :-)
Still running somewhere, that thing. 24/7 since then, with some reboots, because updates...
Runs Armbian, if you like to, or anything else if you are willing to mess more.
Seems to be still on sale, according to https://www.friendlyelec.com/index.php?route=product/product...
Although, I can tell you what not to do: a 45 drive SAS/2 or /3 4U JBOD case takes way too much power to use all the time and uses screaming 1U fans and PSUs by default.
I do have 45 drives in various XFS on md raid10 arrays. Don't even mention ZoL ZFS because that was a fucking disaster of undocumented, under-tested, and SoL "support" for something that should only be used on a proper Sun box like a Thumper. XFS and md are fairly bulletproof.
Perhaps one can Ceph their way into significant storage with a crap ton of tiny DIY boxes, but it's going to be a pain to deploy and manage, take lots of space, and probably damn expensive to physically install, network, and provide UPS for.
He's wrong here. The most important thing with small files is latency, and a 1000M network will have significantly less latency than a 100M network.
Anyone running TimeMachine over network knows what I mean - local attached storage is blazing fast (particularly SSDs), wired network storage is noticeably worse performing, and wifi is dog f...ing slow.
I'm currently at 46TB or storage, and I recently threw in a 2.5Gbps NIC when I upgraded the rest of my home network.
(Mine certainly uses more electricity than the one in the article, but I pay $0.07/kwh, and run a few docker images that take advantage of the added performance, so I'm happy with it.)
Regarding that LaFrite board, I mailed a while ago LoverPi, which appears to be the only one selling it, to ask them if they accept PayPal, but got no reply. Does anyone know of a distributor in the EU or a different worldwide seller?
For storage I've been using Synology for a long time, first ds411+slim and now a ds620slim. I love the slim form factor, only 2.5" drives. It just works™
That said, I do see a lot of value in low power systems like that of the author and run a couple. The way I do the energy calculation though is that I boot them off internal storage (MMC/SD) and then mount a root filesystem from the NAS. That way they don't have any storage power cost directly, they are easy to replace, and the power consumed by my NAS is amortized over a number of systems. giving it some less obvious economics.
[1] It is an iXSystems FreeNAS based system.
You can turn it into a NAS at any time by adding a mini pc or similar.
One of the nice things is that it has a full sync of my cloud storage, so I don't have think about backing up individual devices much any more: I create a file on my laptop, it syncs to cloud storage, then to the minipc. From that point on it's part of the regular nightly/monthly backup routine.
If I hit the 4TB limit it might be a pain, as I'm not sure it'll support an 8TB SSD.
Related
The FreeBSD-native-ish home lab and network
The author details a complex home lab setup with a FreeBSD server on a laptop, utilizing Jails for services like WordPress and emphasizing security measures and network configurations for efficiency and functionality.
Netboot (PXE) Armbian on an Orange Pi Zero 3 from SPI with NFS Root Filesystem
Guide on netbooting Orange Pi Zero 3 with Armbian for Kubernetes experimentation on SBC cluster. Setup involves SPI, u-boot, TFTP, NFS servers, static IP, PoE switch, u-boot updates, TFTP config, and console access.
Booting Linux Off of Google Drive
A programmer's competitiveness leads to booting Linux from Google Drive, facing challenges like networking setup and mounting an Arch Linux root from an S3 bucket. Despite setbacks, Linux boots successfully, integrating Google Drive but facing performance issues and complexities.
Booting Linux Off of Google Drive
The author successfully booted Linux from a Google Drive root independently, using FUSE programs and custom initramfs on Arch Linux. Challenges with networking, permissions, and dependencies were addressed through manual solutions.
Ryzen 7 Mini-PC makes a power-efficient VM host
A power-efficient ASRock DeskMini X600, featuring an AMD Ryzen 7 8700G CPU and consuming under 10W, is praised by Michael Stapelberg for virtualization tasks. Its low noise levels and performance make it versatile.