this post was submitted on 23 Jun 2023
2 points (100.0% liked)

homelab

6602 readers
2 users here now

founded 4 years ago
MODERATORS
 

Hello!

Recently i've been planning a home server with proper storage ability, but I got stuck at the details. I hope the experience in this community can help creating a proper plan on how to create my own (first) home server.

Motivation I've been using Cloud Services, especially Google Photos, for years now in order to store and share what i needed. However recently i'm trying to remove my dependency on cloud services and companies significantly, also with data privacy in mind. Therefor i'm planning to self host what i need.

Requirements

Energy Consumption I'm from a country where the energy prices exploded compared to the average salary. So the enegery consumption of the whole system, including storage and others, should be very low. i'm thinking 10 Watt or less in idle. I know it is challenging, therefor i'm asking for support.

Storage I actually do not need much. I estimated that 2TB are sufficient at a minumum. It should be redundant at least 1x, maybe with an additional cold storage added to the mix.

Compute Once i have a home server, it will not end with just storage. i'll probably have to run services like NextCloud or maybe some in direction of Home automation. I also might want to add security cameras to the mix (not long stored, just in case of incidents)

Initial Thoughts and Ideas

My initial idea was to use the Intel N300 with 8 cores and 6W TDP, however that chip does not seem to be released anytime soon. Therefor I was looking at the N100 with 4 cores and the same TDP. The N305 from Intel is interesting, but has higher energy consumption.

Next i looked at the mainboard options. There are some interesting MIni PCs with the N100, including some passive options, but they would only enable me to have max one M.2 and one SATA 2,5" drive, so I would need to see how i can add redundancy to it (or simply use both of these as SSDs with sufficient storage and call it a day, while adding a slow usb drive for additonal storage) There are also new mainboards from Asrock with N100s coming out, which look interesting as well, but would add costs for all the hardware required to run it.

Price wise HDDs would be the better option, however they since they use more energy, they might not be the ideal way for this build. I thought about it and if i add an SSD as the main storage which acts as a cache, i can use the hdds as simple backups. As i do not need them most of the time (once a day backup update would be suffficient) I could in theory power them off most of the time and only power them on for backup updates when needed. Do you know of any ways to handle this automatically for example via shell script? Most of what i found would require me to manually plug them back in via USB.

As for operating system etc. I've been thinking about Proxmox, TrueNas, NixOS and others. as i do not need VM's, most of my services will be available a container, the TrueNas with Docker / Podman Containers might be ideal. Adding full VMs to the system with only an N100 seems insufficient.

RAM: Most systems with the N100 go up to 16 GB. However I think 32GB would be better with many containers just to be future proof. It might be overkill.

Wake up on LAN support might be interesting too. I'm not sure if that would be supported by my choices so far.

Usage

Initially, the system would not be used most of the time. The most often action would most likely be syncing photos from iOS or Android automatically to storage (any recommendations for that?) as a picture or 2 migh be added daily. Everything else is infrequent, which the highest traffic on the system due to looking at the pictures.

Once it's running, this might change of course.

Summary

In summary, i'm just starting to plan this server and I would appreciate it, if you could give me some guidance on how to implement it the best way or point out mistakes i did in my thought process so far.

I also have a Raspberry Pi 4 that i can add to the mix, however it only has 4GB RAM, so it won't be able to do much alone.

top 6 comments
sorted by: hot top controversial new old
[–] cloudwanderer@lemmy.ml 1 points 1 year ago

Quick Update:

I've been evaluating the best options and decided to wait a few months, until more devices are out and the ones i am looking at become cheaper.

I have decided for a proof of concept or intermediate solution by using the raspberry pi with openmediavault and 2x 2TB SSDs connected via USB, as well as SnapRaid to sync them. This should suffice for storage and test in shortterm. However i ran into an issue with the connection to OMV here:
OMV not reachable

My options for later:

  1. The Beelink S12 Pro with 16 GB of RAM and 512GB storage. Unfortunately this will be a limited option, as most sources state that 16Gb is the max for this model. (some say 32GB). However it is cheap, a good start and in the long run i could buy more powered by solar to create a highly available mini cluster via k3s.

  2. Morefine M9, slightly more expensive, but with a 1TB SSD and can be upgraded to 32GB for sure. Unfortunately it's not directly available in my country, but i've found a reseller, who seems to have it under a new brand name.

  3. Passively Cooled Firewall appliance with no ssd or ram, also N100 or N305. Has good reviews on the common yputube channels, in the end more expensive, but better ports and 4x 2,5GbE. It sounds interesting, but its only sold via a chinese trading company on amazon.

  4. An older i3 1120g4 or something similar, which would allow me to use 64GB of RAM. Unfortunately i found literally no devices with it being sold at all.

Generally i'd prefer 64GB and 6 to 8 Cores, but in the low power area that is tough to find. The N305 has 8 cores, but max 32GB RAM, the i3 allows 64GB but nothing is being sold, as for the N100 is cheap, but only 4 cores (might be sufficient, if i later extend to a mini cluster powered powered by solar), but also limited to 32GB.

In general, nothing really ideal, so i hope that later this year either more devices drop in price or become available (like anything with the N300 would be interesting too).

What do you guys think of these choices for a mini beginner budget low power homelab ? (the description becomes longer over time....)

[–] Shimitar@feddit.it 0 points 1 year ago (1 children)

Use a cheapo laptop, a small factor one, that runs on low power. Thats what i do. I added a usb3 huba and a nice jbod usb3 box with 4 4tb SSDs inside.

My laptop has a broken keyboard and smaller niusances, but runs on very low power and has just the right cpu power.

Also, dont need much bandwith from the nas so usb3 jbod is more than enough for streaming 4k movies at home over hardwired 1gb ethernet. I

[–] TCB13@lemmy.world 0 points 1 year ago* (last edited 1 year ago) (1 children)

Might not be a good deal, usally HP Mini or Dell units have better prices and better specs. You can get those for 100$ with decently modern CPUs, USB 3.0 , USB-C etc. You can find mode models with dual NVME slots, other with 1 NVME + 1 SATA that might be enough for the OP's use case.

[–] cloudwanderer@lemmy.ml 0 points 1 year ago (1 children)

Can you recommend some devices? Most of the ones i saw had good prices, but not performance relative to power usage. The N100 with its 4 efficiency cores is actually quite good for the price and power usage. Unfortunately most mini pcs with it have limited ports.

I also think, that 2 ssds might be sufficient for the beginning. I'm even thinking of just adding 2 external ssd's and call it a day for the beginning (one as backup), but that does not scale well.

[–] Ajen@sh.itjust.works 2 points 1 year ago

Im using a couple HP T730 thin clients. It has a 4 core ryzen cpu, up to 32gb RAM, and a PCIE x4 port (physical x8). One of them is my firewall, with pfsense and a 4 port i310 gigabit ethernet card. The other is a work-in-progress NAS. I've got a 8 port SATA/SAS card and I'm planning on printing a HDD enclosure with my 3d printer.

I haven't measured the actual power consumption, but I've seen claims of 10-20W.

[–] cloudwanderer@lemmy.ml 0 points 1 year ago* (last edited 1 year ago)

The jbod idea sounds good to explore further, as it tha home server and storage would be separated. However it would add an additional device to the power bill.

However i don't need the full amount of all disks at all times. If i'd want to unplug via shell script, i'd need to plug it manually in person back in for storing things. I actually do not need it running all the time, as the home server ssd can cache most of what i need recently in access. The jbod is then more an archive.

i'm mainly looking for a way to power down the inexpensive hdd's. I could use the raspberry pi as the jbod controller, but it does not properly support wake on lan, so thats also not an option