r/homelab•
Osmean

Need help with server related things.

Help

This is going to be my first server so I am pretty much a noob when it comes to building my own server. I am looking forward to build it and I am sure I'l play/tinker with it till I drop dead. I am that kinda guy. I like a good learning opportunity

I need some pointing in the right direction and some assuring.

What I want: -Stream media on local network. To be able to stream two 4k at the same time. -File sharing on local network. Should be possible while streaming 4k movies. -Home automation. In the future. -Backup not considering natural disasters (if that makes sense. I content with losing my data if my house burns down or something) But i dont want to lose it because of hardware failure, power failure, virus attack or just plane corruption from just sitting there. -Low power consumption. Also i dont need it to be ON all the time. I Guess i need a second server when I start with home automation. So maybe this one I want to build right now is a server/archive hybrid? -Around 36TB -Budget around $1250. Cheaper is better.

If you guys can help me with parts to buy that would be fantastic. Also how do I decide how many HDs i need. Are smaller but more HDs better than bigger and less and what about raid and raidz? Would it be best to backup this system with an other system of HDs in raid or is it good enough to just back it up on few HDs? Something tell me the first one is better but more costly because its another system that needs cpu, motherboard eth...

As you can see I am really unsure when it comes to deciding how to keep my files safe.

Posted Mar 28, 2023, 2:35 AM UTC

21
Net-Runner•

As per hardware - for streaming media, it would be enough to have a decent Intel desktop CPU (like 10th gen) with Intel QuickSync for hardware transcoding. You can build a decent PC that will act as your server. However, the default PC will not sustain multiple hardware failures except for the disks. If you need that level of fault tolerance, you will need enterprise-grade hardware with dual power supplies, and in this case, you would also need a dedicated GPU for transcoding.

As per the storage - make sure you are going to build the storage out of CMR drives for ZFS RAID.

As per the RAID - for drives larger than 2 TB, I would recommend RAID-Z2.

As per the software - Install a hypervisor like XCP-NG, and deploy services separately in different VMs or have mixed VMs + Containers. For the storage side of things, install a lightweight NAS OS like OMV or Starwinds SAN and NAS.

3