28 comments

[ 2.8 ms ] story [ 47.0 ms ] thread
While there are use cases for NAS, generally, if you have a desktop PC it's far better to put the hard drives in it rather than setting up a second computer you have to turn on and run too. Putting the storage in the computer where you'll use it means it'll be much faster, much cheaper, incomparably more reliable, with a more natural UI, and it'll use less eletricity than having to run 2 computers.

Now if your NAS use case is streaming media files to multiple devices (TV set top boxes, etc), sure, NAS makes sense if the NAS you build is very low idle power. But if you just need the storage for actual computing it is a waste of time and money.

Unfortunately PCs have mechanical devices that give out after a few years. I am referring of course to fans. I use a Raspberry Pi 4 running Ubuntu and Samba as my NAS. It is cheap and reliable.
I appreciate the message of this article. I've played with half a dozen types of home NAS / RAID / storage solutions over the decades.

The best way I can describe it is:

There are people who just want to use a car to get from A to B; there are those who enjoy the act of driving, maybe take it to the track on a lapping day; and there are those who enjoy having a shell of a car in the garage and working on it. There's of course a definite overlap and Venn diagram :-).

My approach / suggestion - Understand what type are you in relation to any given technology vs what is the author's perspective.

I will never resent the time (oh God so much time!) I've spent in the past mucking with homelabs and storage systems. Good memories and tons of learning! today I have family and kids and just need my storage to work. I'm in a different Venn circle than the author - sure I have knowledge and experience and could conceivably save a few bucks (eh not as given as articles make it seem;), as long as I value my time appropriately low and don't mind the necessary upkeep and potential scheduled and unscheduled "maintenance windows" to my non-techie users.

But I must admit I'm in the turn-key solution phase of my life and have cheerfully enjoyed a big-name NAS over last 5 years or so :).

The trick with old computers harnessed as NAS is the often increased space, power, and setup/patching/maintenance work requirements, compared to hopefully some learning experience and a sense of control.

I've self-hosted web apps (typically IIS and SQL Server) for over 20 years.

While using desktops for this has sometimes been nice, the big things I want out of a server are

- low power usage when running 24/7

- reliable operation

- quiet operation

- performance but they don't need much

So I've had dual Xeon servers and 8-core Ryzen servers but my favorites are a miniForums with a mobile Ryzen quad core, and my UGREEN NAS. They check all the boxes for server / NAS. Plus both were under $300 before upgrades / storage drives.

Often my previous gaming desktop sells for a lot more than that ... I just sold my 4 year old video card for $220. Not sure what the rest of the machine will be used for, but it's not a good server because the 12-core CPU simply isn't power efficient enough.

Agree and and I wonder what the cost tradeoff is using your old hardware or buying new power efficient equipment. I even recently thought about buying a mac mini to use as a home server.
“I repurposed an old gaming PC with a Ryzen 1600x, 24GB of RAM, and an old GTX 1060 for my NAS since I had most of the parts already.”

Wouldn’t running something like this 24/7 cause a substantial energy consumption? Costs of electricity being one thing, carbon footprint an another. Do we really want such a setup running in each household in addition to X other devices?

The first thing you should consider doing with you old device is selling or giving them away. This helps lowering the need for manufacturing more hardware, it prevents the hardware becoming e-waste in a drawer, and it put pressure on the market to lower it's prices. Sure, you can reuse as a NAS, but someone probably needs it more.
Better? No absolutely not. Capable? Without a doubt. I have a multi bay nas and it's like 1/6the the size of my pc case. My nas also makes removing and replacing drives trivial. There's a million guides online for my particular nas already and software written with it in mind. It also draws a lot less power than my gaming pc and has a lot quieter operation.

It's difficult for me to accept it's better given all the above.

Reusing existing hardware is a great gameplan. Really happy with my build and glad I didn't go for out of the box.

>In general, you want to get the fastest boot drive you can.

Pretty much all NAS like operation systems run in memory, so in general you're better off running the OS from some shitty 128gb sata ssd and using the nvme for data/cache/similar where it actually matters. Some OS are even happy to use a usb stick but that only works for OS designed to accommodate this (unraid I think does). Something like proxmox would destroy the stick.

Also, on HDDs - worth reading up on SMR drives before buying. And these days considering an all flash build if you don't have TBs of content

After I had a reckoning with bitrot, would muchly recommend to use something with ECC memory for NAS. And a checksumming filesystem with periodic scrubing that won't get corrupt on you silently.
> old gaming PC with a Ryzen 1600x, 24GB of RAM

"Old", right. That old PC I'm about to throw away has 2 GB of RAM.

(comment deleted)
Yes it is a NAS and it is cheap and convenient to repurpose hardware.

But for anything where your data is important isn't ECC memory still critical for a NAS in this day and age?

I've been building and running various home servers for years. Currently I have a n eBay special FreeBSD quad xeon (based on the desktop socket) with 64GB ECC and a cheap SAS/SATA card running two ZFS arrays.

On a side note: I hate web GUI's. I used to think they were the best thing since sliced bread but the constant churn combined with endless menus and config options with zero hints or direct help links led me to hate them. The best part is the documentation is always a version or two behind and doesn't match the latest and greatest furniture arrangement. Maybe that has improved but I'd rather understand the tools themselves.

Sure, if you're going to reuse something which would be thrown away or left to dust otherwise (foolish but I'd imagine someone does that).

But don't do this just so you can upgrade your current pc.

I'd vouch more for old laptops, which are generally not upgradeable, come with built-in UPS, if you remove the screen is as thin as a notebook and can handle low usage. Then you can connect either directly or via other interfaces a bunch of disks and you're golden.

I'm looking for the quietest 6 bay NAS possible.

I have a beQuiet case and six 30TB HDDs, and I plan to put the Ubuntu with a Plex server on a NVME SSD and do a ZFS 4+2.

Can anyone point me to a better/quieter set-up? Thank you in advance.

My home server / NAS is essentially just my old gaming desktop + some extra hard drives. It runs Unraid with Nextcloud, Plex, and a few other services. It's great, and generally pretty low maintenance.

I'll also point out that there are a lot of folks out there who don't have very large demands when it comes to computing, and would be served perfectly well by a 5-10 year old system. Even low-end gaming (Fortnight, GTA V, Minecraft, Roblox, etc.) can run perfectly fine on a computer built with $300-400 of used parts.

At San Francisco electricity prices of ~$0.50/kWh, using an old gaming PC/workstation instead of a lower power platform will cost you hundreds of dollars per year in electricity. The cost of an N100-based NAS gets dwarfed by the electricity cost of reusing old hardware.
I've been running homebuilt NAS for a decade. My advice is going to irritate the purists:

* Don't use raid5. Use btrfs-raid1 or use mdraid10 with >=2 far-copies.

* Don't use raid6. Use btrfs-raid1c3 or use mdraid10 with >=3 far-copies.

* Don't use ZFS on Linux. If you really want ZFS, run FreeBSD.

The multiple copy formats outperform the parity formats on reads by a healthy margin, both in btrfs and in mdraid. They're also remarkably quieter in operation and when scrubbing, night and day, which matters to me since mine sits in a corner of my living room. When I switched from raid6 to 3-far-copy-mdraid10, the performance boost was nice, but I was completely flabbergasted by the difference in the noise level during scrubs.

Yes, they're a bit less space efficient, but modern storage is so cheap it doesn't matter, I only store about 10TB of data on it.

I use btrfs: it's the most actively tested and developed filesystem in Linux today, by a very wide margin. The "best" filesystem is the one which is the most widely tested and developed, IMHO. If btrfs pissed in your cheerios ten years ago and you can't figure out how to get over it, use ext4 with metadata_csum enabled, I guess.

I use external USB enclosures, which is something a lot of people will say not to do. I've managed to get away with it for a long time, but btrfs is catching some extremely rare corruption on my current NAS, I suspect it's a firmware bug somehow corrupting USB3 transfer data but I haven't gotten to the bottom of it yet: https://lore.kernel.org/linux-btrfs/20251111170142.635908-1-...

I use mergerfs + snapraid on my HDDs for “cold” storage for the same reason: noise. Snapraid sync and scrub runs at 4am when I am not in the same room as the NAS.

The drives stay spun down 99% of the time, because I also use a ZFS mirrored pool on SSDs for “hot” files, although Btrfs could also work if you're opposed to ZFS because it's out of tree.

Basically using this idea, but with straight Debian instead of ProxMox: https://perfectmediaserver.com/05-advanced/combine-zfs-and-o...

I also use mergerfs 'ff' (first found) create order, and put the SSDs first in the ordered fstab list of the mergerfs mount point. This gives me tiered storage: newly created files and reads hit the SSDs first. I use a mover script that runs nightly with the SnapRAID sync/scrub to keep space on the SSDs open.

https://github.com/trapexit/mergerfs/blob/master/tools/merge...

A Synology NAS is very low wattage. In a year, it saves enough electricity to pay for itself, compared to leaving my old PC on 24/7.
I always found NAS interesting but never had a personal use for a large amount of storage these days.

All the music and videos I watch are through streaming. I don’t have a personal business or anything that requires more than 1 tb.

A modern fanless NUC clone with a low power consumption processor will eclipse any recycled PC for utility computing.
I've used a HP EliteDesk 800 G4 SFF (with an i5-8500) as a NAS/home server for several years now. It's quiet, power efficient, has space for 2 HDDs plus additional nvme slots and regular PCI-e slots. These type of machines are cheap to get on eBay, I highly recommend getting one.
Old Mac Book Pros are very silent and could be used as good NAS. Unfortunately Apple doesn't support modern versions of Mac OS for them, and also doesn't offer any security patches. So the hardware is still quite capable, but the software is too unsecure and unstable to really recommend old Macs as NAS.
Adding to the chorus of responses here: I did what this article suggested for a time, but found a purpose-built NAS was way nicer than repurposing an old gaming PC.

Using an old gaming PC for a NAS is kind of like trying to use an old track car that you've taken out the interior, added in a roll cage, and welded the doors shut as your kid's first car. Like yeah it will totally work, and they can impress all of their friends as they cosplay as the Dukes of Hazzard, but it's really not optimal for the task at hand.

I just upgraded my NAS setup to a Terramaster F4-425 Plus (running Debian) and it's great. The N150 CPU in it sips power, and the whole thing is tiny and easy to hide away in a media cabinet. One ultra-quiet Nocuta fan is all that's needed to keep it cool. It's so nice to use the right tool for the job.

EDIT: I'd recommend all of these guides / articles, I basically cherry-picked what I liked from all of them and ended up with something I'm really happy with:

* https://perfectmediaserver.com

* https://github.com/trapexit/mergerfs/blob/master/mkdocs/docs...

* https://blog.muffn.io/posts/muffins-awesome-nas-stack/

* https://drfrankenstein.co.uk

* https://trash-guides.info