this post was submitted on 12 May 2024
14 points (100.0% liked)

Selfhosted

38707 readers
677 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I am currently using an old laptop (circa 2015) with a 250GB SSD in it, and 4GB of RAM. It runs Fedora 39 Server, and only hosts a Jellyfin instance through Docker right now (though I want to use Nextcloud later too). There is only 15GB of storage left on it, and the CPU is constantly overloaded (due to forced transcoding). I happen to have a lot of 500GB 3.5" HDDs laying around, and I want to use them in RAID 5. What hardware would be good for having 4 HDDs, and running Jellyfin and Nextcloud in Docker? I'm okay with either having just a 4-bay NAS (as long as it can handle transcoding (MKV 480p -> MP4)), or having a 4-bay NAS and a server/computer/NUC. I only have a budget of CAD$900 (USD$658 as of writing), but I am willing to go to CAD$1000 if absolutely necessary.

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 4 months ago (1 children)

If price is the deciding factor then just build one.

Get an old i7 for dirt cheap, cram the thing with ram and storage to suit your budget.

Run something lightweight like Ubuntu Server.

[–] [email protected] 1 points 4 months ago (1 children)

Keep in mind this could drive up your energy bill.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (2 children)

It totally doesn't

I'm running a 14th gen i9 with a 4080. It's a power hungry boy. 1500w power supply. Generally using about 600-800w.

Running this 24/7 costs me <$10/month in electricity.

The old compaq presario with a Pentium II that probably pulled down 100w running Ubuntu server as described here made no statistically significant change in my electric bill. That is to say, it's about as much change as being good or bad at turning off your lights when you're not using them. It's negligible.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

At 600 watts running continuously wouldn't that be 432 kWh a month?

Assuming you didn't mean you were running your gaming computer as the server.

At 100 watts that comes out to 72 kWh, in CT where I live rates are waaaay higher then what I calculate your rate to be (around 2.5 cents per kWh)

For me a 100 watt server is about ~$22 a month to run.

Are you sure your paying 2.5 cents per kWh?

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Idk what I'm paying per kwh, I am just going off my monthly bills.

There are other power fluctuates, I'm sure. I pay it no mind I just look at the bill. 🤷‍♂️

So far no bill has arrived that made me change behavior.

Edit: I've also never measured what my machine actually pulls down continuously/when idle. I just know that it's components demand that range, and that I need the headroom in my power supply for spikes.

[–] [email protected] 0 points 4 months ago (1 children)

That's great if it works for you. However, a lot of us don't want the bigger power bill. It also has the problem of heating everything up.

I like CPUs with lower TDPs

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

No "old i7" as I suggested, is going to meaningfully increase the temp of your room if it has any cooling solution in place.

Your stubbornness around a perfectly practical solution is absurd. I won't bother convincing you further -- it's the obvious cost effective solution.

[–] [email protected] 1 points 4 months ago

The problem is it isn't cost effective with electricity. You can pick up a CPU that is more efficient.

I'm not saying your wrong but what your describing is not great for some people including myself.

Your not wrong but there are also trade offs

[–] [email protected] 4 points 4 months ago

Get a mainboard and CPU supporting ECC ram. Combine it with ZFS as the file system. With this setup you are safe from bitrot.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

You could get one of those cheap N100 boards and a couple refurbished enterprise HDD's. Board costs about 150, case & PSU another 150, which leaves you with enough to buy 2 10ish TB drives, a boot drive and some additional RAM. Power usage should be pretty decent.

Another option is going with a second hand Mini PC and a DAS. I went with this myself because it's the cheapest and easiest option. It cost me about €150 combined (excluding the cost of the 2 drives I had laying around), and it has served me well for the past year. The CPU is a bit weak (i5-6500T) and it doesn't have a lot of RAM (8GiB), but it handles the 30ish docker containers and video transcoding (single stream) well.

I've also bought an old proliant micro server and I wouldn't really recommend it. It uses a lot of power and it was kind of a pain to get running. I'm planning on installing a HBA adapter and using it as a backup system.

[–] [email protected] 1 points 4 months ago

Get a old used desktop from eBay. Use either Intel QuickSync (Intel integrated) or a dedicated GPU.

Additionally, use a LTS and keep good backups. Fedora Server shouldn't be used for anything actively depended apon. You could move to Rocky Linux, Debian or something else.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
Git Popular version control system, primarily for code
LTS Long Term Support software version
NAS Network-Attached Storage
PSU Power Supply Unit
RAID Redundant Array of Independent Disks for mass storage
SSD Solid State Drive mass storage
ZFS Solaris/Linux filesystem focusing on data integrity

8 acronyms in this thread; the most compressed thread commented on today has 11 acronyms.

[Thread #745 for this sub, first seen 12th May 2024, 12:45] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 1 points 4 months ago

Currently ugreen has released some nas systems that seem powerful but have yet to be shipped (reviews are out though).

[–] [email protected] 0 points 4 months ago (1 children)

I use an HP microserver gen 8, which I bought second hand (300$) and upgraded with a better CPU (20$ from ebay) and extra ram (80$) and 4 2TB SSD's (100$ per). I installed Windows server on it because I just wanted it to work in a way I'm familiar with, but a colleague of mine installed Synology OS on it. You can use the cd drive bay for the OS disk (with some tweaking). Since you already have the disks, this would fit your budget.

[–] [email protected] 1 points 4 months ago

I have the gen 10 plus (with an upgraded cpu). I am very happy with that.

[–] [email protected] 0 points 4 months ago (1 children)

My recommendation would be building a Jonsbo NAS. They're relatively affordable. You probably also want a mobile CPU for better efficiency. I don't recommend ARM as it will greatly limit the variety of software you can run on it. Erying and CWWK/Topton make ITX mobos with mobile CPUs. These are Chinese brands but I don't really see anyone else making them.

The cheapest and easiest thing to do would be to just use an old standard desktop computer case that can hold a few HDDs.

[–] [email protected] 1 points 4 months ago

Additionally ARM is mostly a miss when it comes to transcoding.