this post was submitted on 26 Nov 2023
5 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi everyone,

I'd like to seek some advice on a proposed change of my home server setup that I'm considering.

Current setup:

  • Raspberry Pi 4 (Raspbian): with openHAB, Node-RED, Mosquitto, Grafana, InfluxDB, UniFi controller
  • Raspberry Pi 2 (Raspbian): with piHole, unbound, WireGuard
  • DS212 (DSM) as a NAS

Issues:

  1. High power consumption due to running three systems.
  2. Limited backups (currently only backing up configuration files).
  3. Occasional SD card corruptions (fortunately, backups have saved the day).
  4. The DS212 Web UI seems to get slower with each DSM update.

Proposed Solution: I've been considering consolidating everything onto one machine using a modern proxmox+Docker setup instead of running everything bare metal. Here's my idea after some research:

  • Get an ASRock N100-based mainboard with 32GB RAM, a 500GB NVME drive, and 2 SATA ports (for the two 2TB SATA drives from my Synology).
  • Use the NVME for Proxmox and create two VMs:
  1. VM for all the smart home/networking applications (migrated from the RPi4+RPi2), isolated into Docker containers.
  2. VM for NAS functionality (any suggestions for a NAS OS?), using the two SATA drives in a RAID 1 configuration.

Questions: I would greatly appreciate your advice on the following:

  • Does my proposed hardware configuration seem suitable for my needs? Anything better than the N100? Do I need 32GB?
  • What NAS OS would you recommend for the second VM (TrueNAS, OMV, anything else)?
  • Are there potential drawbacks or challenges I should be aware of with this new setup? I have the feeling I am over complicating things.
  • Any other thoughts or suggestions?

you are viewing a single comment's thread
view the rest of the comments
[–] subven1@alien.top 1 points 11 months ago (2 children)

Two Pi and a 1,6Ghz single core ARM NAS.....

This is around 20 watts idle and ~30 watts under load....nowhere near "high consumption". The N100 is just around 15 watts idle and more capable systems like a Ryzen 5 7600x idle at 25 watts. So lets say you swap everything to a N100 single system. This will maybe save you around 5 watts while idle which means ~40kw/h savings per year.

You do not have the computing power to run VM's/applications that could utilize 32GB RAM. Everything you mentioned could be run on a machine just at 4GB RAM. The only reason could be the use of ZFS and a lot of disks and TB's of space. You should be fine aiming at 16GB RAM.

In terms of OS. I use Unraid because its very easy to use and does not require you to have HDDs spun up like with traditional RAID. Saves me a lot of energy and wear on my drives. It is also capable of running Docker containers and various VMs.

[–] crnv@alien.top 1 points 11 months ago (1 children)

Thanks for the input. I initially came across lower power consumption estimates for the N100, approximately 5-7W, but I now re-checked and indeed some people report idling at around 13-15W. I guess a lot depends on the peripherals and the quality of the PSU. But such a slight improvement wouldn't be worth the hassle

[–] tenekev@alien.top 1 points 11 months ago

It's worth the hassle. If you are obsessed with power consumption, consider the fact that Pis are very power inefficient. They draw less but also produce way less than other CPUs. Performance per Watt is shit. They were conceived as thinkerware. They are not reliable the way everyone here wants them to be.

Just to put your puny power concerns into perspective. My homelab draws around 130w on average. One big box with lots of HDDs, 2 Lenovo Tinies, networking.

My laptop draws more power in 24h than my homelab. If you have a desktop, the discrepancy is even bigger. Nearly anything in your household blows your setup out of the water. I live in a country with relatively high power costs and I can assure you, your concerns are nothing more than a thought experiment.

I would get the N100, get 2x2TB SSD as well as some smaller SSDs for VM and LXC storage. Create a hypervisor with the appliances you need - NAS, Docker, heck if the board has a free PCIe slot you can put a 4x1GbE NIC and spin up a networking VM too. This way you can streamline the maintenance - updates, backups, etc. And the best part is that this single box will be waaay above anything you have now.