Ask HN: What's on your home server?
519 pointsIt's been years (over a decade?) since I've had a server at home but I'm setting one up for media and I got to thinking: what else should I do with this box? So I was wondering what cool/nerdy/weird stuff you all are using home servers for. DNS and file sharing seem like obvious applications I could set up. I already run email and web on a VPS so that's taken care of. What are you doing with your home server?
Comments (456) 205 threads
Earlier commentsI have a "prosumer" grade £120 ASUS gigabit router, which has a perfectly adequate settings UI, firewall, port forwarding, and supports NAS via a USB HDD, or 4G failover if I ever happen to need it. No need to overpay for fancy business/enterprise grade networking equipment - plug it in, and it works.
Photos/videos are stored in Google Photos for £1.99/mo - I'd happily pay more if I exceed the 200gb limit I currently have iirc, but most of this is junk I won't ever access again that got backed up from my phone, eg screenshots that I took to send in Messenger/WhatsApp and forgot to delete afterwards.
Pretty much anything else that I do with a computer only has to be done when the computer is turned on. Having a separate server running drawing 100-200w at all times (even when we're in the office or sleeping, which is >2/3rds of the day) considering current energy prices, seems like a massive waste of money. 100w 24/7 for a year costs £300 at the current energy price cap (which most tariffs are currently at or around). I can't remember the last time me and my partner needed simultaneous access to the same files via the network, or I needed instantaneous access to a file on my MacBook or Android phone that is on my Windows/Fedora desktop, so another reason I don't see any need a NAS or server.
Wrt movies (Plex/DLNA/Kodi) there's very few films I like enough to want to watch again, that aren't included in Netflix, Amazon, or Disney's library. Hence there are very few that I own physical disc copies of, and I can just play the disc on the PS5, or my PC's bluray writer, or the upstairs TV, so no need to back these up onto a HDD or stream around the house. Any content that is already on my PC just requires me to switch it on (via either Wake on LAN, walking 10m upstairs and pressing a button, or bluetooth switchbot) temporarily to stream to my TV via a DLNA server. No need to leave anything running permanently.
Really the only way I can see home servers making sense, is if running the server itself is your hobby. The added convenience is almost zero, and for me wouldn't be worth it considering the £300/yr electricity cost and £300-£1000 initial outlay I can imagine for decent hardware and a few TB of drives if you don't have an old PC lying around. Plus all the time spent configuring, monitoring, and maintaining - most on this site do enough of that at work already, and I have enough hobbies as it is ;D
Do I really trust Google/Apple with all of my photos?
Do I really trust lastpass/onepass/... with all my passwords?
Do I really trust Amazon/Google to monitor my home cameras to give me notifications?
Do I lose my mind every time feedly changes their interface or nags at me for upsells?
Do I get frustrated when my favorite shows (Star Trek/Psych) suddenly leaves Hulu or Prime?
Also, I don't know how anyone survives using the internet without pihole (or similar dns blocking), especially on an iphone!
For me, knowing my data is in my control, not having software constantly change or nag me, and always being able to access what I want is incredibly important to me (and my SO).
I spend minimal time administering my server. Usually I spend about 2-3 hours a quarter to update all my docker images, but other than that, it all runs quite flawlessly.
My Two Raspberry Pi Zero W's cost $10 in total - which is less than what you pay Google annually. Adding 500GB SSDs & electricity costs (cents per kWh) has my amortized costs less than your annual 200GB Google bill. Your mental image of "home server" is rather pricey
Also, I think it will be easier to teach my daughters (in a few years) how the web works by showing them the physical thing in operation.
Also serves to store backup snapshots/images for my family's devices, as well as a family SMB share to move files between devices.
It's a repurposed gaming PC, so a 1st Gen Ryzen 1800X, 32 GB RAM. Took out the good GPU and bought the cheapest card I could find to support a tiny monitor for maintenance, but generally I manage it from my primary windows machine with X2Go (just a remote X server/client over SSH for Windows), and ssh directly if I'm on one my linux boxes.
I use this SATA expander card to fit 8 4TB HDDs (https://www.amazon.com/gp/product/B008J49G9A/ref=ppx_yo_dt_b...) for the main array, and have a 64 GB SATA SSD for the OS.
OS is Arch Linux, which I'm partial to for the AUR and documentation. For the root drive I just use ext4. I initially got started with Arch's ZFS wiki pages: https://wiki.archlinux.org/title/ZFS https://wiki.archlinux.org/title/ZFS/Virtual_disks
Note if you go this route, I've had bad luck with the DKMS builds of ZFS where they sometimes fail to install during kernel upgrades, so I use the binaries from the archzfs repository. Sometimes I have to wait for the repo maintainer to build new packages to keep up with arch kernel releases, which is annoying, but it's preferable to getting a broken system back up and running. I've also had bad luck with ZFS-on-linux native encryption, with my system intermittently seg-faulting when reading from an encrypted dataset under heavy load. So I use LUKS/dm-crypt on top of ZFS (the LUKS volumes are unlocked at boot, then the ZFS pools are imported). However I suspect this is a hardware peculiarity with my system, as I can't find any mention of the same issue online. So YMMV
Some resources for dm-crypt/LUKS: https://wiki.archlinux.org/title/Dm-crypt https://wiki.archlinux.org/title/Dm-crypt/Device_encryption https://wiki.archlinux.org/title/Dm-crypt/System_configurati... https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_enti...
Hope it helps, with the exception of the native encryption issue I found ZFS to be remarkable easy to use and bombproof so far. Have fun!
All comments shown.
Couldn't load more comments. Check your connection and try again.