this post was submitted on 10 Aug 2023
24 points (96.2% liked)

Selfhosted

40183 readers
515 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
 

Hello there,

I am in search of inspiration for solving several issues I am having.

That's my situation:

  • ageing Synology NAS (4x4tb drives) with multiple docker containers running on it.
  • old gaming rig (i7-6700, Fedora Server) which I use sparingly for game server hosting

What I want to achieve:

  • Upgrade/replacement of my NAS
  • Offsite backup
  • ~20tb of usable storage (~2-3tb of actual important stuff)

Primary use cases:

  • SMB share
  • Docker hosting (Pihole, unbound, Jellyfin, *arr etc.)

Newly added requirements:

  • Cloud storage for mobile devices of close family members on and off site

Complications:

  • Electricity cost is a scam where I live (~0.40$ per Kwh)

I have an ageing NAS whose capacity is getting to its limits storage and horsepower wise. And since I have to do work on my setup anyways, I was wondering whether you might give me some inputs on what I could/should use to achieve my goals.

  1. My NAS is getting to its teenage years and I am getting worried about its eol. Buying some old server HW is out of the question because of power usage and availability. What are my best options? Build something myself with current hardware? Buy a new NAS? What is a good way to migrate data to a new system? From a power consumption standpoint are SSD's better than HDD's?

  2. I have an off site which i visit regularly where I could either place backup drives or put a system in a rack. What would be a good option for an offsite backup solution?

  3. I have gotten my aunt (77) a tablet during covid so she could video call us. In recent months a smartphone has entered the ring because daily life is getting impacted when you don't have one. Now she is all into taking pictures and videos and the storage on her phone is not enough. What are my options? I've experimented with Nextcloud but I am uncertain whether it is the right solution, especially from a usability perspective. (I want to avoid third party services for storage)

I will very much appreciate your input since I'm not working in the field and am getting to the edge of my own knowledge at this point.

Thank you in advance for your input.

you are viewing a single comment's thread
view the rest of the comments
[–] coreknot@lemmy.ml 1 points 1 year ago (1 children)

Thank you for your answer.

I agree with you that Server Hardware is overkill. That's why I am asking for options here. For your suggested architecture: It is quite ancient and eol per last year and I have one of these already in use as a "more than my NAS thingy". What I am not comfortable with is that that generation is already end of life and I don't want to invest time and money into hardware that I would have to replace a year or two from now. I'm looking for a solution (self built or not) that will drag me through the next decade. Does BTRFS include Raid support? I don't have much experience with it. The most I did once was recover a snapshot.

CPU is the least of my concerns. I am currently looking at a low end current gen Intel CPU for my purpose. And yes, samba is slow and I will never saturate a somewhat recent CPU with it, but I have from time to time other things running on that machine.

For storage: You are overestimating a bit with the prices. For 200€ I can get 4TB SSDs. So 20TB + one for raid 5 ~1200€. That would be quite doable but on the expensive side I agree. The question was whether SSDs were considerable cause of power usage, not from a price standpoint.

As fro Syncthing.. I'll have a look at that.

Docker is just nice and simple. I remember times when deploying software on a single server was hell on earth. Conflicting libraries etc. And yes Linux isn't hard (been using it for like 2 decades).

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

What I am not comfortable with is that that generation is already end of life

The thing is that those are very cheap as people want faster things for Windows desktops and as we both know Samba won't ever saturate that CPU on a 1GbE to 2.5GbE link. If you can get a last-gen low power solution like an i3 in the same price ranges go for it and ignore my previous advice. But you know an i5-6500 or i5-7400 + motherboard + RAM for 70-80€ is a good deal and enough for the use case.

For 200€ I can get 4TB SSDs.

Sorry, my mistake. I meant 4TB.

Does BTRFS include Raid support?

Yes many possible configurations and snapshots. BTRFS also tends to be way more reliable than Ext4 and others when the hardware fails, you experience sudden power losses etc. More: https://linuxhint.com/set-up-btrfs-raid/

As fro Syncthing… I’ll have a look at that.

Syncthing + FileBrowser is a "killer" setup for a personal cloud. I'm even amazed you've never heard about / used Syncthing as it is very popular in self-hosting. You can also use it to sync your main NAS with the remote backup. Very reliable and easy to setup.

Docker is just nice and simple. I remember times when deploying software on a single server was hell on earth.

Never had that experience... if the software is properly done and you aren't using a weird distro things should work out well. Eventually you can use LXC/LXD or even systemd containers to isolate problematic applications without having to deal with all the Docker overhead and mess.