I think as a turn-key solution, the prebuilt enclosures are fine. I have a two-bay Synology that works well. If you've already got components though, DIY is probably going to give you a lot more granular control. I'm planning on building out a home server rack including a TrueNAS VM or something similar.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
+1 for running TrueNAS in a VM, I’ve got one running in Proxmox. Make sure to enable hardware passthrough so TrueNAS has direct access to your drives!
I replaced an old prebuilt Windows Home Server with a custom built server running unraid about…7 years ago. unraid has been rock solid for me. Great product. Very scalable for the home user.
Highly recommend unraid and it’s well worth the one time license fee.
Syno 920+ for me
Same. Having all their custom software available and just one click away is amazing, and with Docker you can install everything else just like a regular server. It's the best of both worlds imo.
I'll third that. I got a lemmy server up and running on mine too which was fun. I opted for a cloud solution though in the end.
Adding my 2c - I think it depends on if you want something that just works out of the box, or if you want to tinker and play with a DIY solution. I have a Synology DS220+ that just works, is easy to manage, has loads of apps etc. I also have a Raspberry Pi with Openmediavault installed and 3 SSDs attached which required a bit of setup, is more complex to get things working, also has apps (plugins) but is more of a project.
Understand that this is a rabbit hole where you’ll hear a million opinions. If you’re just starting out, I’d recommend keeping it simple. It’s been a while since I looked at what’s new, but I’d look at truenas scale or unraid first.
I personally use truenas core (based on freebsd) but truenas scale (based on debian) opens up more options like docker that might be useful in the future.
I recommend sticking to hardware you already own until you run into something that you can’t do. Then you’ll have a better idea of what to look for and how everything works.
Thanks, the flexibility and closed source (I assume) of turn key solutions puts me off them. I've already got a raspberry pi running a few containers and I work with docker and Linux in my day job so I know a decent amount. The form factor of the turnkey solutions is the big draw for me at the moment to them as I've just got a spare ATX mid size tower handy. Would ideally replace with smaller case but then I'd need a smaller motherboard and that's just raising costs for starting out. Potential upgrade path anyway.
I have a node 304 case with an itx board and I wish I’d have gone with something bigger with more expansion slots. Some sata ports died on me so I installed an hba card to give me more. That means I can’t add a 10g nic or a video card for hardware acceleration or…you get the idea. Ideally spend less money now and experiment, then in the future you’ll hopefully learn what suits your needs.
I used the cpu/motherboard/ram/psu from a desktop I'd since upgraded, slapped it into a 4u rackmount case I got cheap on Ebay (it looks awful - I think it was previously used in a lab - but it's solid af), bought a nice big cooler and some noctua fans so it'd run quiet, added an HBA card, 4x shucked 14tb drives and a coupla 1tb m.2s, slapped Unraid on it, and was up and running with an awesome nas for really not that much money. Totally worth it, that thing is awesome.
I will admit it doesn't look as swanky as a synology, but it was far cheaper, is a lot more capable of non-nas stuff, and every part is standard and upgradeable.
I am in the same situation, my concern about going DIY is the lack of ECC ram, but I don't know how much this is important.
For a NAS it's very important because ECC allows write-back to your disks from cache in the event of a power failure. Without this, your data is at risk of being lost or RAID corrupting if you don't have battery backup and\or your battery backup fails during power outage.
I'm looking at building my own truenas server since my rack is only 22" depth, but I want a 12 bay hotswap array. Very challenging to find an matx board AND chassis that can fit the bill.
Yes, and it is difficult to find ECC going DIY. Because of this I am considering going with Synology
I had considered running a DIY for years, and eventually just caved and bought a Synology 1522+ NAS. It lets me run my Plex server and Matrix server, and it just handles all the config and updates for me easily.
The decision was that I wanted to backup my hobbies, not have backup BE my hobby.
To clarify, running Plex is easy; running Matrix is very NOT easy… But being a NAS was the easiest part, by far. Stick the drives in, turn on, follow the short manual that came with it to configure, and let it do its thing.
Definitely try re-using what you have already. Just keep in mind that a NAS usually runs 24/7 and old gaming PC parts are usually quite power hungry, so it might cost a lot in terms of electricity.
Yeah this is definitely a downside to using spare gear over purposeful purchases. I think it makes sense to use what I have and optimise later. I've got an old intel i5 and mobo I'm planning on using for the NAS. Need to find another use for my old Ryzen 5 2600X.
I was going to say this too. It's fun to have a project to do and to recycle old parts but something custom built for being a NAS will most likely be less power hungry and be less effort to maintain.
Depends on how you intend to maintain it. I started out with a Synology NAS. When that started to give out the ghost I built own so that I could have better control over the software and hardware. It's now a NAS of Theseus - all the parts (even the OS) have been replaced over time, but it's still the same "unit".
The hardest part was deciding on a case. I started with a small form factor as a preference. Nowadays I just pick what gives me good airflow and ease in replacing parts.
Personally, I use a "scratch built" machine to act as a file server/media server. Someone was going to recycle it at the office, so I added some hard drives and put it in a larger case.
It really comes down to two things in my mind: what can you afford and how deep do you want to follow the rabbit hole?
If you want something quick and easy, sure go for the premade. Nothing wrong with that.
If you want to use it as a learning tool, and add other services, then I think a home spun server is the way to go.
Just my 2 cents.
I have exact the same question, no solution yet unfortunate.
I can highly recommend an Asrock j5040 board. It is power efficient and enough for all Docker images I throw at it.
The onlydownside is, that it only has 4 SATA ports and 1 pci x1 connector, makes expanding difficult.
Currently running: Nextcloud, vaultwarden, jellyfin, photoprism, immich and a few other container
If you have the knowledge or want to learn about it, and you are willing to deal with these tasks (configuring the system and keep it updated), the DIY approach makes sense.
I was on that situation some months ago, and I didn’t want to spend time in system maintenance, so I bought a NAS device.
I've been just using hard drives in my server computer running on my old gaming computer.
I recently switched my core os from linuxmint to opensuse tumbleweed. Ultimately the core os doesn't matter much, it's mostly personal interface differences. All my apps run on docker using docker-compose. I use caddy as my reverse proxy and letsencrypt certs.
I've heard VERY good things about synology. Their software has a unique raid mode and an easy platform to host apps and such. But they're kinda expensive...
I use Opensuse on my stuff too. I do bare metal though, because I'm old and this newfangled docker stuff frightens and confuses me.
The docker compose file lets me define all the variables in one file and link the configs to a folder next to the compose file. It lets me reinstall my core os, copy the Dockers folder, and bring them back up. All self contained.
I'm using a 12 year old Xeon based Dell workstation as a file server and PiHole. It's quiet, reliable, and has a RAID controller built into the motherboard. Before I got my current server I was using a couple Raspberry Pis, which was more work to maintain and less reliable.
The only reason I'm using this machine at all though is because I got it for free. I definitely recommend taking the path of least resistance in terms of cost and availability if you're not going to be putting super heavy loads on your server.
I picked up an old Dell Optiplex tower and slapped 4 cheap 4 TB drives in it. Setup as RAID 5 I got 12 TB of "redundant" storage for cheap! Perfect spot to keep all the p0rn torrents.
But I used OpenMediaVault for that deployment. It's been OK.... but I kinda feel that I am missing out on some of the more active developments of other distributions.
Despite that, I would absolutely suggest grabbing an old office computer and throwing some drives into it for a home NAS.
It's the power usage and physical space that puts me off those kind of solutions. Of course, that varies a lot based on your living circumstances (location, whether you own a house, etc).
I prefer a premade NAS. They are simple enough that I can train the family on how to use them. They're small and efficient as well, so I can stuff them in a cabinet without much worry about cooling.
I'm using an old Dell i5, but it also has three USB TV tuners and runs NextPVR with comskip.exe - it sees daily use at the main TV in the house.
It's power hungry at about 100 watts so I have it and the plasma TV hooked up to AGM batteries and a combined charger inverter which fills them when the sun is shining.
I usually DIY and repurpose my old PC into a server when I upgrade. My current NAS is running on a ~10 year old i5 2500k in a (large) mid tower case packed with drives. It runs Unraid and also hosts a bunch of Docker containers for Plex, etc.
It's definitely more work to set up than a pre-built and also more power hungry, so that's the trade-off for the additional flexibility and lower cost of entry (at least in my case since it was mostly parts I already had). I am running low on expansion room since the 6 HDDs and 2 SSDs have about maxed out my case, but you'll run into that same problem with pre-builts depending on how you size it.
I like my synology because its relatively simple to setup and manage. And some of the apps are really nice (like Active Backup for Business). But even things like LUNs and iscsi is easy.
I like technology quite a lot and in general I'm not afraid to "get my hands dirty." I host my own instance of a few things, like homeassistant. That said, there's really something to be said about the simplicity of a prebuilt. I have a synology that was as simple as can be and I kind of love that.
I build everything (including our homebrew media server) but for a NAS I still just bought a Synology box. Part of that is the main purpose of the box is to be a RAIDed repository for automatic workstation backups and I was willing to pay for a known-good turnkey device that talks to everything in the world right out the gate.
I haven't regretted it once.
I've built multiple DIY NAS solutions, from a simple ARM NanoPi M4V2 in a wood enclosure to a high performance systems for small companies with TrueNAS Scale. Frankly I don't see much reason to go with a pre-build if you've the time and skills.
Go build it and use unraid. Synology makes good products but they put a pretty big markup on it. Besides building it will give you a better understanding of its architecture.
I built it from parts and use XigmaNas for zfs.
@[email protected] Really depends on your budget and how much you want to tinker. I've got multiple synology's (1821+ 1515+), along with a decently large truenas server running on a 36bay supermicro. And some windows boxes running drivepool.
The synologys are great NAS first devices, rock stable, I do some light Docker stuff (homeassistant, scrypted, etc.) and use them as NVRs but they have anemic CPUs. I spend very little time each month maintaining them and getting them to work. They're just set and forget.
The truenas SM box is much more powerful CPU/RAM and storage wise but I spend probably 3 times more hours getting stuff stable, updating, managing performance, and tinkering.
Windows stuff is set and forget but requires much more time and frequent patching.
Honestly, I have both, but that's because redundancy is amazing. Generally, DIY is more involved and thus more fun, but if you just want boring set-it-and-forget-it data backups, a pre-built NAS is a better option.
I have the Synology 923+. I went down a research rabbit hole that spanned far too long. First the DIY route, then the prebuilt. Then I dove really deep into the arguments with the 923+ about it having AMD instead of Intel, so it being bad for plex transcoding. All in all, I love it and have been super happy with it. I watch plex off of it just fine, but all of my devices are new. Some of the synology stuff has been a bit wonky with Docker, but otherwise it is working great and I'm very happy with my purchase. I havent needed to upgrade the RAM yet or get a cache drive, but I like that I can do upgrades in the future as I stuff more processes on there, as well as upgrade the drives (currently have 2) as I need more space.
I bought a used Datto NAS and put xpenology on it. Without drives, $300 got me 4 bays, 1 internal 2.5", dual 10gb nics, and 32gb of ecc ddr4. If you're ok using the hacked bootloader for synology's os, it's hard to beat.
Are there any limitations for using xpenology? I'm assuming you still won't be able to use Synology's services that require their servers, correct?
That's functionally it. Instead of quick connect I just run Tailscale/OpenVPN if I need to access it away from home. You also can't get easy SSL Certs in the gui, but it you can get them yourself and upload them if needed. If you DIY, your CPU also won't show up correctly in the GUI, but works just fine. Otherwise, I don't notice anything missing.
There's a few different loader options since DSM 7.x, but I've been using "TinyCore RedPill Loader Build Support Tool ( M-Shell )" with zero issues throughout multiple updates. They've even semi-recently gotten it working to support auto updates with no manual builder reloading. Much lessy finicky that the DSM 5/6 days.
So yeah, it's grey area bootloader... but I've been using it daily since 2016 with no real issues.
Good to know. Thanks!
Got a Xeon E5-2690v2 with TrueNAS Scale and a Synology DS418. Having used both pretty heavily over the years I can safely say I'm indifferent. The Synology is efficient; the TrueNAS Scale box performs really well with the added bonus of being able to run Kubernetes and Docker workloads. They're both sitting in their respective corners, doing their respective things, with minimal intervention.
I've been running a XigmaNAS system in an ancient xeon workstation enclosure I bought off-lease. It has been ok, but I think next time I'll use a Linux based solution so I can also run docker and other familiar tools.
I've been reading Brian C Moses' diy NAS series for years and haven't yet pulled the trigger.. but this might be the year!
My workload is primarily nfs and iscsi; I have a cluster of rack mounted raspberry pi 4s running pods on k3s with nfs storage volumes, and have been experimenting with netbooting then so I don't have to deal with USB or sdcard media failures quite so often. There's also a desktop volume share via samba for my family. All backed up via duplicity to backblaze b2.
If you have the knowledge or want to learn about it, and you are willing to deal with these tasks (configuring the system and keep it updated), the DIY approach makes sense.
I was on that situation some months ago, and I didn’t want to spend time in system maintenance, so I bought a NAS device.