this post was submitted on 24 Sep 2023
74 points (94.0% liked)

Selfhosted

50093 readers
584 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 2 years ago
MODERATORS
 

So, I am thinking about getting myself a NAS to host mainly Immich and Plex. Got a couple of questions for the experienced folk;

  • Is Synology the best/easiest way to start? If not, what are the closest alternatives?
  • What OS should i go for? OMV, Synology's OS, or UNRAID?
  • Mainly gonna host Plex/Jellyfin, and Synology Photos/Immich - not decided quite what solutions to go for.

Appricate any tips :sparkles:

top 50 comments
sorted by: hot top controversial new old
[–] synapse1278@lemmy.world 24 points 2 years ago (2 children)

If you want a "setup and forget" type of experience, synology will serve you well, if you can afford it. Of you are more of a tinkerer and see yourself experimenting and upgrading in the future, then I recommend custom built. OMV is a solid OS for a novice, but any Linux distro you fancy most can do the job very well!

I've started my NAS journey with a very humble 1-bay synology. For the last few years I am using a custom built ARM NAS (nanopi m4v2), with 4-bays and running Armbian. All my services run on docker, I have Jellyfin, *arr, bitwarden and several other servicies running very reliably.

[–] redballooon@lemm.ee 4 points 2 years ago

And if you’re not sure how much of tinkering you want to do a Synology with docker support is a good option.

[–] entropicdrift@lemmy.sdf.org 1 points 2 years ago* (last edited 2 years ago)

^ This. I have an M1 Mac mini running Asahi Linux with a bunch of docker containers and it works great. Run Jellyfin off of a separate stick PC running an Intel Celeron with Ubuntu Mate on it. Basically I just have docker compose files on those two machines and occasionally ssh in from my phone to sudo apt update && sudo apt upgrade -y (on Ubuntu) or sudo pacman -Syu (on Asahi) and then docker compose pull && docker compose up -d

[–] rentar42@kbin.social 10 points 2 years ago (1 children)

Just throwing out an option, not saying it's the best:

If you are comfortable with Linux (or you want to be come intimately familiar with it), then you can just run your favorite distribution. Running a couple of docker containers can be done on anything easily.

What you're losing is usually the simple configuration GUI and some built-in features such as automatic backups. What you gain is absolute control over everything. That tradeoff is definitely not for everyone, but it's what I picked and I'm quite happy with it.

[–] Fjor@lemm.ee 4 points 2 years ago (1 children)

Yeah already quite familiar, already got a server but looking for something more premium, but essentially deliver the most easy platforms for the rest of the family to use.

[–] PlutoniumAcid@lemmy.world 1 points 2 years ago

Also, you could run Linux off of a real CPU. My experience is that my DS916+ is way underpowered even with 8 GB memory. I use my NAS for actual storage, and an old Intel mainboard w/16GB RAM for actual CPU work.

[–] ebits21@lemmy.ca 9 points 2 years ago (1 children)

My Synogy NAS was super easy to set up and has been very solid. Very happy with it. I’m sure there’s other solutions though.

[–] thirdBreakfast@lemmy.world 3 points 2 years ago

This was the route I went with when I started, and I've never had cause to regret it. For people near the start of their self-hosting journey, it's the no-hassle, reliable choice.

[–] Dark_Arc@social.packetloss.gg 8 points 2 years ago (1 children)

TrueNAS Scale is a pretty easy to use option (based on Debian) backed by the excellent ZFS file system.

[–] cyberpunk007@lemmy.world 1 points 2 years ago (2 children)

But ZFS has a learning curve and limits easy backup options... but it's worth it.

[–] Dark_Arc@social.packetloss.gg 1 points 2 years ago* (last edited 2 years ago)

Eh... TrueNAS UI basically takes care of any zfs learning curve. The main thing I'd note is that RAID 5 & 6 can't currently be expanded incrementally. So you either need to use mirroring, configure the system upfront to be as big as you expect you'll need for years to come, or use smaller RAID 5 sets of disk (e.g. create 2 raid 5 volumes with 3 disks each instead of 1 RAID 5 volume with 6 disks).

Not sure what you're referring to as an easy backup option that zfs excludes, but maybe I'm just ignorant 🙂

[–] rentar42@kbin.social 1 points 2 years ago (1 children)

I agree with the learning curve (personally I found it worthwhile, but that's subjective).

But how does ZFS limit easy backup options? IMO it only adds options (like zfs send/receive) but any backup solution that works with any other file systems should work just as well with ZFS (potentially better since you can use snapshots to make sure any backup is internally consistent).

[–] cyberpunk007@lemmy.world 1 points 2 years ago (1 children)

Because you can't use typical back product software. If you do it the right way, you're using my ZFS send and receive to another machine running ZFS which significantly adds to cost.

[–] rentar42@kbin.social 1 points 2 years ago (1 children)

That's an extremely silly reason not to use a specific tool: Tool A provides an alternative way to do X, but I want to do X with some other tool B (that'll also work with tool A), so I won't be using tool A.

Send/receive may or may not be the right answer for backing up even on ZFS, depending on what exactly you want to achieve. It's really nice when it is what you want, but it's no panacea (and certainly no reason to avoid ZFS, since its use it 100% optional).

[–] cyberpunk007@lemmy.world 1 points 2 years ago

I really don't get your meaning of my apparent silly reason. You can't use Acronis, Veeam, or other typical backup products with ZFS. My point is this is a barrier to entry. I disagree that it's not silly for a home user to build another expensive NAS just to do ZFS send and receive which would be the proper way.

I don't consider backups optional.

[–] pascal@lemm.ee 7 points 2 years ago (1 children)

The most common software choices are TrueNAS and UNRAID.

Depending on your use-case, one is better than the other:

TrueNAS uses ZFS, which is great if you want to be absolutely sure the unreplaceable data on your disks is 100% safe, like your personal photos. UNRAID has a more flexible expansion and more power efficient, but doesn't prevent any bit flip, which is not really an issue if you only store multimedia for streaming.

If you prefer a hardware solution ready to use, Synology and QNAP are great choices so long you remember to use ZFS (QNAP) or BTRFS (Synology) as filesystem.

[–] Fjor@lemm.ee 3 points 2 years ago* (last edited 2 years ago) (2 children)

Do either of them matter in terms of life of the hardisks? My server just had one of its HDDs reach EoL :| Kind of want to buy something that will last a very long time. Also, not familiar with ZFS, but read that Synology uses Butterfs - which always sounds good in my ears, been having a taste of the filesystem with Garuda on my desktop.

[–] pascal@lemm.ee 3 points 2 years ago (1 children)

Yes, ZFS is commonly known for heavy disk I/O and also huge RAM usage, the rule used to be "1GB of RAM for every TB of disk" but that's not compulsory.

Meanwhile, about BTRFS, keep in mind that Synology uses a mixed recipe because the RAID code of BTRFS is still green and it's not considered production ready. Here's an interesting read about how Synology filled the gaps: https://daltondur.st/syno_btrfs_1/

[–] ShellMonkey@lemmy.socdojo.com 2 points 2 years ago

The only place ZFS seems to use a sizable amount of RAM is for the arc memory cache system which is an really nice feature when you have piles of small file access going on. For me some of the most high access things are the image stores for lemmy and mastodon that combine up to just under 200GB right now but are some crazy high number of files. Letting the system eat up idle ram to not have to pull all those from disk constantly is awesome.

[–] Kelsenellenelvial@lemmy.ca 2 points 2 years ago

Something kind of unique about UnRaid is the JBOD plus parity array. With this you can keep most disks spun down while only the actively read/written disks need to be spun up. Combine with an SSD cache for your dockers/databases/recent data and UnRaid will put a lot less hours(heat, vibration) on your disks than any raid equivalent system that requires the whole array to be spun up for any disk activity. Performance won’t be as high as comparably sized RAID type arrays, but as bulk network storage for backups, media libraries, etc. it’s still plenty fast enough.

[–] highfiveconnoisseur@lemmy.world 5 points 2 years ago (1 children)

Do you have any old hardware that doesn't have a job? That is a great place to start. Take some time try out different solutions (proxmox, unraid, casa OS). Then as you nail down your needs you can better pick hardware.

[–] Fjor@lemm.ee 1 points 2 years ago

Yeah this is what I have been doing so far, loads of spare parts - running Debian atm. So kind of looking for 'the next step' rn.

[–] DichotoDeezNutz@lemmy.world 4 points 2 years ago (1 children)

I use UNRAID, I didn’t want to pay for a license originally but having the option to mix and match drives and have redundancy is nice.

I also use the built in docker feature to host most of my services.

[–] gdelopata@lemmy.ml 2 points 2 years ago (1 children)

I run most of my stuff on k8s, but I really enjoy simple docker ecosystem of apps that home assistant supervisor provides. Unraid app approach looks similar, preconfigured and working together. Even thou I don't need fancy nas, I might try unraid just to evaluate apps ecosystem. How to u find their community apps?

[–] DichotoDeezNutz@lemmy.world 2 points 2 years ago

I usually search thru the apps and they install as docker containers, I can edit the configs after the fact, it’s pretty nice. There’s also a terminal so I can run regular docker commands too.

[–] PuppyOSAndCoffee@lemmy.ml 2 points 2 years ago

A NAS serves data to clients; I know this is tilting conventional wisdom on it's head but hear me out: go for the most inexpensive, lowest power storge-only-NAS that you can tolerate, and instead...put your money into your data transport (network) and into your clients..

As much as possible, simplify your life - move processing out of middle tiers, into client tiers.

[–] Decronym@lemmy.decronym.xyz 2 points 2 years ago* (last edited 2 years ago)

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

Fewer Letters More Letters
ESXi VMWare virtual machine hypervisor
LXC Linux Containers
NAS Network-Attached Storage
Plex Brand of media server package
RAID Redundant Array of Independent Disks for mass storage
SATA Serial AT Attachment interface for mass storage
SSD Solid State Drive mass storage
SSH Secure Shell for remote terminal access
k8s Kubernetes container management package

[Thread #164 for this sub, first seen 24th Sep 2023, 20:25] [FAQ] [Full list] [Contact] [Source code]

[–] Appoxo@lemmy.dbzer0.com 2 points 2 years ago

First I chose a Pi now am using a Nuc as a NAS.
Reason for why: The price was too much for a synology + transcode capable CPU as it wasmt clear what type of processor was being used.

[–] NegativeLookBehind@kbin.social 2 points 2 years ago (1 children)

Do people not like TrueNAS?

[–] Voroxpete@sh.itjust.works 0 points 2 years ago

It's fine, but it's really only good as a NAS. BHyve is a terrible virtualization platform. With something like Open Media Vault you get access to KVM, which is a much better way to run a virt or two on the side.

[–] Corgana@startrek.website 2 points 2 years ago* (last edited 2 years ago) (1 children)

I've found CasaOS to be the simplest to set up and get going. I tried TrueNAS for a year, but wish I had started with CasaOS.

[–] TBi@lemmy.world 1 points 2 years ago

CasaOS looks interesting. But i prefer OpenMediaVault for the moment.

[–] thoughtorgan@lemmy.world 2 points 2 years ago (1 children)

Unraid is great. Don't let the FOSS heads say otherwise.

I paid $100 3 years ago, ONCE. Best purchase I've ever made.

I've tried the foss alternatives after getting familiar with unraid, and I still prefer unraid.

[–] shasta@lemm.ee 1 points 2 years ago

Seconded. But for more details... it's great because you can throw in many different drives of different sizes, unlike RAID servers where every drive has to be the same size. You can also specify however much you want to use as parity (backup) drives.

It has a nice web interface that you can access from any other PC on your LAN. I also have mine set up with Unraid Connect which allows me to access it from the open web also. It has a strong password and 2FA so I'm not concerned about security.

It also makes it easy to serve Docker containers and full blown VMs. You can set them up right in the UI, or you can also SSH to it and use it as a normal Linux OS if you're a power user. The web UI also has a button that'll launch a SSH terminal in a separate window too.

You can just use it as a NAS if you want, but Unraid makes it easy to expand your capabilities if you later feel like it. For example, you are only a few button clicks away from running Jellyfin to provide a nice UI for all your media files that you may be storing on your NAS.

[–] Haphazard9479@lemm.ee 2 points 2 years ago

I have a qnap. I have had no issues. It runs its own qts OS so no need to figure out what you want to run. Make sure the hardware is x86. Plex runs better on x86.

[–] dartanjinn@lemm.ee 1 points 2 years ago

ZimaBoard 832 with two 2TB SSDs and OMV is my setup. Pair it with tailscale for availability wherever you go.

I wasn't a fan of Immich. Although I'm trying to replace Google photos soy opinion is a bit skewed.

[–] Sharpiemarker@feddit.de 1 points 2 years ago (1 children)

I have a QNAP NAS that I love. Can't recommend it enough.

[–] Molecular0079@lemmy.world 2 points 2 years ago (1 children)

I got burned pretty bad by QNAP. Their TS-453 Pro had an Intel manufacturing defect that basically caused it to die prematurely and QNAP has basically given up all responsibility for it. I built my own NAS after that experience.

[–] Sharpiemarker@feddit.de 1 points 2 years ago

Yep, I had the same with my TS-453, but mine was second hand. Ended up buying a new QNAP NAS and being very happy with it.

[–] Banthex@feddit.de 1 points 2 years ago

I use xpenology on my old gaming rig as server (no GPU). And i love it. Had unraid before was also very good but diffrent. My main usage is to store Family Files and Photos and the best software ist Synology fotos for me.

I’m a big fan of unraid but I will admit it’s overkill for a simple media server.

A synology NAS should be plenty powerful enough for most streaming needs so long as you’re willing to let your media transcode first and you’re not streaming to too many devices at once.

I use my unraid NAS to run sonar/radarr/readarr/prowlarr, stable diffusion, myjdownloader, a few vms and at one point even my lemmy instance. But honestly aside from stable diffusion and the VMs a synology NAS should have enough power to run a handful of other apps in addition to plex/jellyfin

load more comments
view more: next ›