r/homelab•
stun

Help Needed Building My NAS/Homelab

Help

Current Setup

  • I have LSI 9300 MegaRAID SAS 9361-8i card inside my Desktop PC with 4 HGST 4TB SATA 6.0Gbps NAS HDDs.
  • The drives are currently in RAID 10 config on Microsoft ReFS.
  • I have Cat 7 cables with Netgear GS716Tv3 Gigabit Switch.
  • I have a 1500W UPS in my 25U Networking Rack which is only used for my Netgear Switch and the ISP router.

Future Plans

  • I will migrate to ZFS in my NAS in the near future.
  • I will most likely upgrade to a 10Gig switch in the future.
  • I might add 4 more hard-drives in the future as needs arise.

Use Cases

^^NOTE: ^^sorted ^^by ^^decreasing ^^priority

  • NEED  #1: dedicated NAS server.
  • WANT #1: build an environment for playing/learning with Database Server, Docker, Kubernetes, etc...
  • WANT #2: build a pfSense server for Firewall
  • WANT #3: build my own DNS server

What I Know I Need

  • Memory: I need ECC RAM because I will use ZFS in the future.

My Budget

My budget is around $1500 if I am building everything from scratch. I want to know what is feasible and practical with this budget.

What I Don't Know For Sure

  • What CPU should I buy?

    • if I want to put both my NAS AND (pfSense OR Kubernetes playground environment) in the same box?
      (or)
      Should I build a dedicated server for my playground environment separate from my NAS server?
      Basically, I need help deciding between a virtualized v.s. dedicated box based on the use cases I listed above.
  • Should I use ZFS (or) is there a more suitable file system for my use case for the NAS server?
    I mostly store lots of Video on my NAS, and backups for my important documents.

  • How much ECC RAM should I buy?
    For Dedicated NAS server with ZFS, how much RAM should I buy? 32GB or 64GB or more?
    For mixed virtualized server for playground, how much RAM should I buy? 64GB or 128GB or more?

  • Should I build a 2U or 4U server from scratch?
    I know that Dell R710 is super popular among the folks in this subreddit.

    • What is the advantage of buying a used Dell R710 from eBay over building your own?
      Is being cheaper the only advantage?
    • Is the motherboard on Dell R710 upgradable to newer/different motherboard?
      Say I want to upgrade to an AMD Server CPU in the future for Dell R710, is it possible?
  • What is a good affordable server chassis?
    I find some 2U chassis for around $200 on Newegg.
    Obviously, they are empty barebone ones without a power supply.
    Please suggest me a good chassis that you know because there are so many options, and I am overwhelmed.

  • What Server Power Supply should I buy?
    Should I buy a redundant power supply or a single power supply?
    I can afford to have downtime if the power supply craps out and wait for a replacement unit to arrive.

  • What 10Gig NIC should I buy?
    I know I need a 10Gig NIC to be future proof.
    Intel X540 or X550 cards are considered very good, but they are very expensive.
    Although they are cheaper to buy from Amazon, I have read Amazon Customer Reviews saying they are counterfeit cards.
    What options do I have for purchasing a 10Gig NIC?

  • Do I need a bigger UPS?
    The 1500W UPS I have is only used for the Netgear GS716Tv3 switch and the ISP router.
    Do I need a bigger UPS if I build a new server with the above requirements?

  • Did I forget anything else? A critical component etc?

Thank you for your time and help in this.

Posted Mar 8, 2018, 7:19 PM UTC

36
kedearian•

You have a ton of questions, with a lot of variable answers.

Personally I prefer a dedicated nas box (you can use a fairly low power cpu, and you don't have to take storage outages when your vm playground explodes). honestly an i3 is probably over kill. For a nic, if you're going to do 10gig, look at SFP+ cards, they are way cheaper and throw off a lot less heat.

For the VM/Docker/* host, memory is almost always the limiting factor. How much you need depends on what you want to do. A full micrososft domain? look at 32+. A few nginx linux servers? 16 would be more than enough. You can use iscsi or nfs to your nas to supply storage, so a 10gig card here is a godsend.

3
[deleted]•

[deleted]

1
[deleted]•

[deleted]

2
stunOP•

LSI 9300 MegaRAID SAS 9361-8i is unsuitable for ZFS.

Yeah I bought the RAID card about 4 years ago. Back then, it was great for setting up a RAID. Now that card is useless.
After reading your post, I read up on ZFS, and learned it is better to give direct control of the hard drives so it can detect as much information as possible of the drives.
 
Regarding the SFP+ option, I think it is definitely more affordable and performant setup. I will just buy those and hook it straight into one of the SFP ports on my Netgear GS716T switch, and it will be future-proof for my 10Gig switch as well.
However, my Desktop computer is not in the same room as my network rack. Looks like I will need to invest in an Intel NIC that supports 10Gig in the future.

For the server chassis, I will most likely build from scratch as I prefers the upgradable and not being stuck with a particular generation.
 
Thank you for your helpful advice. It gave me a better idea on what I need.

1
[deleted]•

[deleted]

1
Homelamb•
1
stunOP•

I like the components you purchased. It is very close to what I had in mind also.
What about the Network Interface Card (NIC)? What did you buy?

1
Homelamb•

Hey, just saw this. Sorry for the delay. I didn't buy any extra NIC. I am just using whatever is on the motherboard. I'm pretty n00b at this stuff. I'd be interested in understanding the pros/cons of new NIC vs using onboard? :)

1
stunOP•

10Gig NIC can get 10Gig speed instead of Gigabit speed from integrated ports from the motherboard.
 
If you have a NAS, the transfer speed can be limited on a Gigabit LAN, and not fast enough if you are playing large video files.

1