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.
-
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?
-
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?
-
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.
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).
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.
Sorry, my mistake. I meant 4TB.
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/
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.
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.
Except RAID 5 and 6! Those are still broken on BTRFS and not recommended for use by the devs. It's unfortunate because I just setup a DIY NAS and I had to go with ZFS because of this.
As if anyone should be using RAID 5 or RAID 6: https://www.zdnet.com/article/why-raid-6-stops-working-in-2019/ and https://www.linkedin.com/pulse/avoid-raid5-raid6-live-happy-life-tech-tuesdays-6-jv-roig/?articleId=6568798728638038016
Those setups are highly discouraged.
Eh, RAID 5 and 6 are still viable for home deployments. Not a lot of people want to be running massive drive arrays or expensive disks at home just to get decent storage. I ran a 4x 4TB RAID 5 for close to a decade and it's survived 4 drive rebuilds. The Intel chip on the QNAP machine I was using to maintain that array died before the array itself did. Now I have an NVMe SSD-based array, so drive rebuilds are even less of a concern.
The other reason why I brought it up is that the article you linked doesn't even mention BTRFS RAID 5 and 6 issues until all the way down at the bottom of the article in a small paragraph, when really it should be in bright red letters at the beginning.
It does have RAID support but its RAID 5 and 6 are BROKEN! The devs themselves do not recommend using these. If you need RAID 5 and 6 and you absolutely want to use BTRFS, you'll have to go with mdraid and then put BTRFS on top, but then you lose a lot of the BTRFS self-healing capabilities. Personally for RAID 5 and 6, I still recommend ZFS's RAIDz. It's quite easy to setup. I have a DIY NAS with an OS drive running BTRFS and a storage pool consisting of 4x 4TB SSDs running in RAIDz1.