r/LinusTechTips • • 16h ago

Tech Question Home nas help

Hello everyone
I was watching an episode last night and how hexos for a home nas set up. After seeing how easy the software is I think I’m ready to make my own for personal back up.

But I wanted to get some help from the community so I can do it right the first time. I wanted to know what the best way to go about this will be and the most cost-effective option.

Do I buy a prebuilt or build my own. I did see online that some prebuilt won’t allow you to run different software.

If I were to build my own what would I need to get this up and running. For storage I have about 1-2tb of pictures and videos and want to have backups for them and room to grow. I have lost files in the past so I want to get this done before I lose anything else.

I appreciate any help or guidance for this. If you need any information please let me know I’m not sure what info to put in order to get the best advice this is my first time doing this so I’m going into this whole situation blind. But I do have a lot of experience building pc systems.

5 Upvotes

8 comments sorted by

6

u/Equivalent_Engine518 15h ago

If you have an old PC already, use that. If not, just shop around for a cheap used Optiplex or something.

https://youtu.be/zPmqbtKwtgw

1

u/itinerantmarshmallow 15h ago

Yeah cheap micro or small form factor from Dell or Thinkpad.

Install your OS of choice, connect hard drives and follow a guide for setting them up (HexOS may trivialize this). Your then into a place where instructions will vary depending on the OS.

You'll end up using Immich most likely and you may need to look into setting that up for public access or access behind a VPN (so you can access it but randomers can't).

It sounds scary but loads of guides out there and most LLM-AIs can walk you through all the steps.

3

u/kliao1337 15h ago

First, you need to decide on how your storage will be organized:

  • plain old SATA drives plugged directly in the motherboard OR
  • SATA/SAS drives connected through an HBA (host-bus adapter)

Both option are acceptable and have their own pro’s and con’s.

SATA drives directly are easy, but hard to grow later, as modern motherboards usually have 2-4 ports maximum.

HBA way is more versatile and reliable, but requires a bit of research, ebay snooping and firmware voodoo.

I’ve recently build my NAS with:

Jonsbo N3 Black (has a built-in SAS backplane, you need to provide the adapter and cables) Intel Core i3 12100 (good balance of performance to power efficiency, built in GPU supports everything including AV1) 16GB DDR3 (more than enough for TrueNAS-HexOS + a couple of apps) Supermicro AOC-S3008L-L8i (LSI SAS3008) + 2x SAS to 4x SATA cables

The only really hard thing was to find how to flash the HBA into IT mode, so that drives are presented as JBOD with no RAID functionality at all. 

Rest is building a PC as usual.

1

u/xd366 14h ago edited 14h ago
  1. what are you trying to do with the NAS? host pictures? you can just use windows on any pc you already have and setup immich on it
  2. if you really want a NAS, the main consideration should be cost

youre asking for 2 TB of storage. the hdd itself is going to cost $150. you want redundancy and youre at $300

google one 2TB is $99 a year. so you already have a 3+ year ROI to break even. that's without considering the remaining components or even electricity

the 5TB plan is $199 a year. 4TB drives are $200, so you break even sooner.

so what im trying to say is, unless you're needing many TBs, right now is not the best time to build a NAS, cloud is cheaper

if youre just wanting cold storage backups, you can get 2TB external drives for $130 and call it a day

1

u/eraguthorak 8h ago

Unfortunately this is kinda where I'm at now. I have all my pics in Google photos and am paying for the 2tb plan, and I just haven't been able to justify spending the extra money on the PC and drives to switch to hosting the pics myself through immich. I do have cold storage backups on an external hard drive just in case at least.

One day I'll have my own setup lol.

1

u/xd366 7h ago

imo it's just not worth spending money on the hardware for just photo backups

one thing i do is every year i pay for 1 month of the 2tb plan to upload/sync all my new photos, then cancel it.

the photos still remain there for accessing, and i can just pay for the month whenevr i need to add more.

1

u/train_fucker 11h ago

If you're just going to use it for storing images and documents, then the nas barely needs any performance. So any old pc you can get your hand on with enough SATA ports for your hard drives.

That said, the main cost is going to be hard drives, so no point in being super stingy with the pc.

I bought someone used gaming pc that had a shit gpu but good processor for almost nothing, and then I had to spend like 7 times that on hard drives instantly anyways, so I kinda wish I'd gotten something newer that draws less power when idle.

Also, if it is your only copy of your files, I'd strongly caution against going below raidz2. Knowing that you are able to lose one more drive while rebuilding is worth it for the peace of mind if nothing else, nevermind if the worst happens and you lose all your data.

-1

u/mrtramplefoot 15h ago

Windows + stablebit Drivepool and scanner >>>>> everything

Ain't nobody got time for raid issues and weird os's