Live data from Hacker News

Building a Budget Homelab NAS Server

mtlynch.io

301–310 of 316 posts

Re: Building a Budget Homelab NAS Server

#301
The bottleneck on most home labs is the lan. A new spindled hard drive running ext3/4 or ntfs can easily saturate a 1 gig nic. That makes the complications of running an NAS on raid or zfs not worth the time and effort-- unless you like playing with file systems or flooding your lan.

I built my own nas a few years back with a multi disk zfs pool and ubuntu running mellanox 10g nics. Fast as it was, the complexity of it all, especially zfs having its own way of doing everything, made it a time hog. Just wasn't worth it.

Now I run my nas in a Debian Mint VM with consumer grade 2.5G nic adapters. Simplicity and ease of recovery are my priorities.

Re: Building a Budget Homelab NAS Server

#302

Earlier quoted context omitted.

Same here - 32 cores/64G ram/4 3.5" bays, dual power 460w for $300. Results: - idle - 55W - full usage - 200W Not bad for 10 years old server.

(Cross-posting from another comment of mine.) I am a newbie with server builds. Can you share an Ebay or Amazon link that can be a good/cheap starting point? Also, will these servers contain everything I need to get up and running (with the exception of hard drives, of course)?

Some datacenter world lingo also helps:

With drive bays you'll see: SFF (small form factors, ie 2.5" drives) and LFF (3.5")

Usually written like "12 LFF" for say a server that can hold 12 3.5" drives.

Look out for if it comes with drive trays for the bays or not. They're usually surprisingly cheap because there's a bazillion of them out there but it could be $5-$20 each.

Then there's SAS / Raid controller stuff you need to look out for in regards to compatibility with your configuration.

For example if you're going to run TrueNAS (or whatever it's called nowadays) you'll want to search "XXXXX controller TrueNas compatibility" to stumble upon a thread or some hardware list to hear what people have to say. There actually aren't too many models, or they're clones of each other with a Dell or HP branding label on it, so you're bound to find some stuff, for mainstream stuff sold on ebay anyway.

The hardware will typically be at least power-on tested, which for this kind of equipment is usually good enough, but beyond that your experience will vary.

There will be typical gremlin stuff like an unseated cable which will throw errors and have you wondering if it's a bad drive, or bad install, or whatever... but I think if you're building your own and bringing older gear back to life, you won't be able to avoid that unless you're buying a pre-packaged NAS box.

Re: Building a Budget Homelab NAS Server

#303
post #282

This article seems right up my alley, so here are some thoughts: - ZFS is pretty amazing in it's abilities, with it ushering in the age of software RAID over hardware RAID - ZFS shouldn't be limited to FreeBSD. The Linux port has come quite a long way. I'd advise you to use PPA over repo though, as many key features are missing from the version on repos. - TrueNAS is more targeted towards enterprise applications. If…

> If you want good utility as a home user then give Proxmox or the like a look. Isn't proxmox just virtualization? didn't know it can be used as a NAS too.

As thefunnyman pointed out, TrueNAS will make for a more user friendly sharing experience, but you could also just load a container up with Samba on Proxmox, to give you the NAS feature you seek. The heavy lifting of software RAID/ZFS would then be handled by Proxmox.

Re: Building a Budget Homelab NAS Server

#304
post #282

Earlier quoted context omitted.

> If you want good utility as a home user then give Proxmox or the like a look. Isn't proxmox just virtualization? didn't know it can be used as a NAS too.

IMO NAS setup is much more straightforward on truenas. It’s doable in Proxmox inside a VM or LXC, but true as exposes this all directly via a nice UI. I personally use Proxmox with a simple Debian NFS VM, but for less technical users that just want stuff to work I tend to recommend they stick with truenas.

how well does it handle running the NFS VM and using the NAS to serve files to jellyfin / plex running in a VM?

Re: Building a Budget Homelab NAS Server

#305

Earlier quoted context omitted.

(Cross-posting from another comment of mine.) I am a newbie with server builds. Can you share an Ebay or Amazon link that can be a good/cheap starting point? Also, will these servers contain everything I need to get up and running (with the exception of hard drives, of course)?

Some datacenter world lingo also helps: With drive bays you'll see: SFF (small form factors, ie 2.5" drives) and LFF (3.5") Usually written like "12 LFF" for say a server that can hold 12 3.5" drives. Look out for if it comes with drive trays for the bays or not. They're usually surprisingly cheap because there's a bazillion of them out there but it could be $5-$20 each. Then there's SAS / Raid controller stuff you n…

Thanks for the detailed writeup, much appreciated!

Another thing I'd like your opinion on is this: my use cases involve running a few services at home (NAS, Nextcloud, Jellyfin, Photoprism etc.) and store "family" data (documents, pictures etc.) but nothing "data hoarder" level. So, 4 TB would easily last us a decade or more.

Do you think such enterprises servers make sense for me? (Noise, complexity etc.) Or should I just get a used desktop/laptop?

Re: Building a Budget Homelab NAS Server

#306
post #253

> While I obviously don’t want my server to corrupt my data in RAM, I’ve also been using computers for the past 30 years without ECC RAM, and I’ve never noticed data corruption. You never noticed also exactly because you can’t know about data corruption if you don’t run with ECC memory.

Precisely. My trust in a non-ECC machine is much lower. I've had slow on-disk data corruption that I've tracked down to failing memory in retail-grade hardware, and it's been in a collection of large media files being sync'ed between machines. Those corruptions tend to be un-noticed at the time, and are effectively impossible (without original sources) to resolve later on, but happily also tend to have minimal impact…

I should write yet another blog article why ECC memory matters…

Re: Building a Budget Homelab NAS Server

#307

Earlier quoted context omitted.

Some datacenter world lingo also helps: With drive bays you'll see: SFF (small form factors, ie 2.5" drives) and LFF (3.5") Usually written like "12 LFF" for say a server that can hold 12 3.5" drives. Look out for if it comes with drive trays for the bays or not. They're usually surprisingly cheap because there's a bazillion of them out there but it could be $5-$20 each. Then there's SAS / Raid controller stuff you n…

Thanks for the detailed writeup, much appreciated! Another thing I'd like your opinion on is this: my use cases involve running a few services at home (NAS, Nextcloud, Jellyfin, Photoprism etc.) and store "family" data (documents, pictures etc.) but nothing "data hoarder" level. So, 4 TB would easily last us a decade or more. Do you think such enterprises servers make sense for me? (Noise, complexity etc.) Or should…

Probably not.

You could get away with whatever machine you have lying around with enough space that does differential back ups to an external (or with something hosted somewhere else over the internet).

Re: Building a Budget Homelab NAS Server

#308

Earlier quoted context omitted.

Thanks for the detailed writeup, much appreciated! Another thing I'd like your opinion on is this: my use cases involve running a few services at home (NAS, Nextcloud, Jellyfin, Photoprism etc.) and store "family" data (documents, pictures etc.) but nothing "data hoarder" level. So, 4 TB would easily last us a decade or more. Do you think such enterprises servers make sense for me? (Noise, complexity etc.) Or should…

Probably not. You could get away with whatever machine you have lying around with enough space that does differential back ups to an external (or with something hosted somewhere else over the internet).

Well, I don’t have any machine lying around. (I do have an RPi which is acting as my home server today. But it’s only 2GB and that’s why I am trying to replace it.)

So, my options are to buy old desktop, old enterprise server or build a new desktop. The first two are similar price points on eBay, but I am not sure about the noise and power tradeoffs between the two.

Like, if a 1U server is to noisy and power-consuming compared to the desktop, probably not a good choice for my case.

Re: Building a Budget Homelab NAS Server

#309

Earlier quoted context omitted.

Probably not. You could get away with whatever machine you have lying around with enough space that does differential back ups to an external (or with something hosted somewhere else over the internet).

Well, I don’t have any machine lying around. (I do have an RPi which is acting as my home server today. But it’s only 2GB and that’s why I am trying to replace it.) So, my options are to buy old desktop, old enterprise server or build a new desktop. The first two are similar price points on eBay, but I am not sure about the noise and power tradeoffs between the two. Like, if a 1U server is to noisy and power-consumin…

My thoughts are that a laptop is your best bet for noise/power/performance.

Re: Building a Budget Homelab NAS Server

#310

Earlier quoted context omitted.

Well, I don’t have any machine lying around. (I do have an RPi which is acting as my home server today. But it’s only 2GB and that’s why I am trying to replace it.) So, my options are to buy old desktop, old enterprise server or build a new desktop. The first two are similar price points on eBay, but I am not sure about the noise and power tradeoffs between the two. Like, if a 1U server is to noisy and power-consumin…

My thoughts are that a laptop is your best bet for noise/power/performance.

Awesome, thanks for taking the time answering my questions! Appreciate it.
Post reply on HN