this post was submitted on 24 Sep 2023
78 points (94.3% liked)

Selfhosted

39964 readers
339 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
 

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 22 points 1 year ago (1 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 1 year ago

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

[–] jws_shadotak@sh.itjust.works 15 points 1 year ago (1 children)

Synology is generally a great option if you can afford the premium.

Unraid is a good alternative for the poor man. Check this list of cases to build in. I personally have a Fractal R5 which can support up to 13 HDD slots.

Unraid is generally a better bang for your buck imo. It's got great support from the community.

[–] tills13@lemmy.world 3 points 1 year ago (1 children)

this. Op, look for a used Synology. It Just Works ™️

[–] Fjor@lemm.ee 1 points 1 year ago
[–] talentedkiwi@sh.itjust.works 12 points 1 year ago (1 children)

I have proxmox on bare metal, an HBA card to passthrough to TrueNAS Scale. I've had good luck with this setup.

The HBA card is to passthrough to TrueNAS so it can get direct control of the drives for ZFS. I got mine on eBay.

I'm running proxmox so that I can separate some of my processes (e.g. plex LXC) into a different VM.

[–] InformalTrifle@lemmy.world 2 points 1 year ago (1 children)

I’d love to find out more about this setup. Do you know of any blogs/wikis explaining that? Are you separating the storage from the compute with the HBA card?

[–] yote_zip@pawb.social 3 points 1 year ago (3 children)

This is a fairly common setup and it's not too complex - learning more about Proxmox and TrueNAS/ZFS individually will probably be easiest.

Usually:

  • Proxmox on bare metal

  • TrueNAS Core/Scale in a VM

  • Pass the HBA PCI card through to TrueNAS and set up your ZFS pool there

  • If you run your app stack through Docker, set up a minimal Debian/Alpine host VM (you can technically use Docker under an LXC but experienced people keep saying it causes problems eventually and I'll take their word for it)

  • If you run your app stack through LXCs, just set them up through Proxmox normally

  • Set up an NFS share through TrueNAS, and connect your app stack to that NFS share

  • (Optional): Just run your ZFS pool on Proxmox itself and skip TrueNAS

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

This is 100% my experience and setup. (Though I run Debian for my docker VM)

I did run docker in an LXC but ran into some weird permission issues that shouldn't have existed. Ran it again in VM and no issues with the same setup. Decided to keep it that way.

I do run my plex and jellyfin on an LXC tough. No issues with that so far.

[–] InformalTrifle@lemmy.world 2 points 1 year ago (1 children)

I already run proxmox but not TrueNAS. I’m really just confused about the HBA card. Probably a stupid question but why can’t TrueNAS access regular drives connected to SATA?

[–] yote_zip@pawb.social 1 points 1 year ago (1 children)

The main problem is just getting TrueNAS access to the physical disks via IOMMU groups and passthrough. HBA cards are a super easy way to get a dedicated IOMMU group that has all your drives attached, so it's common for people to use them in these sorts of setups. If you can pull your normal SATA controller down into the TrueNAS VM without messing anything else up on the host layer, it will work the same way as an HBA card for all TrueNAS cares.

(TMK, SATA controller hubs are usually an all-at-once passthrough, so if you have your host system running off some part of this controller it probably won't work to unhook it from the host and give it to the guest.)

[–] InformalTrifle@lemmy.world 2 points 1 year ago (1 children)

Makes sense, thanks for the info

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

That was one of the things I got wrong at first as well. But it totally makes it much easier in the long run.

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

So theoretically if someone has alrady set up their NAS (custom Debian with ZFS root instead of TrueNAS, but shouldn't matter), it sounds like it should be relatively straightforward to migrate all of that into a Proxmox VM, by installing Proxmox "under it", right? Only thing I'd need right now is some SSD for Proxmox itself.

load more comments (3 replies)
[–] rentar42@kbin.social 10 points 1 year 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 1 year 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.

load more comments (1 replies)
[–] ebits21@lemmy.ca 8 points 1 year 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 2 points 1 year 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.

[–] pascal@lemm.ee 7 points 1 year 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 1 year ago* (last edited 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

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.

[–] Corgana@startrek.website 2 points 1 year ago* (last edited 1 year ago) (2 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 1 year ago

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

[–] Voroxpete@sh.itjust.works 1 points 1 year ago (1 children)

How would you rate Casa compared to Open Media Vault?

[–] Corgana@startrek.website 1 points 1 year ago

Haven't tried OMV, but the lesson I learned with TrueNAS is that software designed primarily for NAS has a lot of features I don't care about, and the other apps can be finicky. I'm not storing petabytes of data. CasaOS was the closest I found to "just works".

There's also Umbrel OS which looks promising, but I've been happy with CasaOS so haven't felt the need to switch.

[–] Haphazard9479@lemm.ee 2 points 1 year 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.

[–] Decronym@lemmy.decronym.xyz 2 points 1 year ago* (last edited 1 year 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 1 year 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 1 year ago (1 children)

Do people not like TrueNAS?

[–] Voroxpete@sh.itjust.works 5 points 1 year ago (2 children)

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.

load more comments (2 replies)
[–] thoughtorgan@lemmy.world 2 points 1 year 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.

load more comments (1 replies)
[–] cesium@sh.itjust.works 2 points 1 year ago

I wouldn't recommend a Synology NAS if you intend to stream content with Plex/Jellyfin. It simply lacks the horsepower most of the time. I should just go with a DIY solution, imo. If you just want to through components that you have lying around together, I would go with Unraid. Unraid doesn't really care what you throw at it hardware wise.

[–] PuppyOSAndCoffee@lemmy.ml 2 points 1 year 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.

[–] Banthex@feddit.de 1 points 1 year 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.

[–] dartanjinn@lemm.ee 1 points 1 year 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 1 year ago

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

load more comments
view more: next ›