by robotmay · 7y ago · 0 comments
I run ZFS on Ubuntu (ZFS is superb and one of the best things I've learnt in years) with a RAID 10 setup (2x2TB mirrored pair, 2x4TB mirrored pair). I'm actually just resilvering one of the 4TB drives right now as I finish migrating to them from a couple of old 1TB drives. RAM usage was high when I used dedup but now I've ditched that it's running much lower. I think the hardware will start to struggle once I get up over 10TB of usable space, but considering the cost of the actual machine I really don't feel like I've wasted any money at all.
I picked RAID 10 for this because I feel like with only 4 drives available it makes the most sense, weighing up resilver speed vs slightly better failure recovery if it was RAIDZ. On bigger servers I tend to go for RAIDZ3 instead.
For backups I use syncthing on various machines to copy data to the server, and then rsync the stuff I care about every hour (with a lockfile to stop overlap) to rsync.net, which then performs all the snapshots. I used to run borg but I swapped back to plain rsync because I felt more confident in being able to restore from it. rsync.net is fantastic. I'm currently storing about 1TB with them, and although it looks more expensive than other options for home backup, I feel like the lack of hassle is really worth it for me.
I'm not usually a fan of HP btw, but these little microservers are really well built and I actually ended up using a ton of them at work as well; we only ever had one failure (which I believe was due to PoE somehow being delivered to it, which was really fun to debug :|). When this one eventually can't keep up I suspect I'll just go for a newer model of it. The form factor is very convenient for the home, especially if you don't have the convenience of a spare room in which to put a rack.
I couldn't get the low voltage Xeons for a sane price in Germany, so I settled for a second-hand i3, which turned out to be more than enough for what I'm throwing at it.
I'm running ESXi as a hypervisor managing two Ubuntu VMs at the moment: a router and a fileserver managing two volume groups (6 TB dump storage for movies, music, etc. that's not too important and thus unmirrored, 2x2TB mirrored storage for photos and other important data that should not get lost). Thanks to the two network ports I can completely isolate the fileserver from the open internet as only the router VM has access to hat port. If I want to access my stuff from outside, I can VPN into the router and thus have access to the fileserver.
The next points on the list is Plex or something similar so I don't have to manually re-encode movies when my TV doesn't like the audio codec. Here, the i3 might struggle a bit, but we'll see.
As for the cost: I spent 200€ on the server itself, 88€ on 16GB RAM, ~20€ for the SSD case and power adapter cable and ~65€ on the SSD. The i3 was ~25€, so I'm up to roughly 400€ for the entire server (plus storage costs, but you'll have those anyways). Compared to what you'll get for that price it's an absolute steal, especially when you compare it with several "low budget"/homemade NAS builds floating around the net/youtube.
Bonus points: you can stack them on top of each other.
I haven't looked at gen 8 or 10 - where was 9? - since the arbitrary HP switch in policy to say you need an active support contract to download a BIOS update. For most people buying a MicroServer that's BIOS updates in first year only, which is far too hostile.
I'm more likely to self-build using a U-NAS 8 bay or something else with more bays next time around, or pick up a rack off ebay.
I used to run a dual network setup similar to that actually, and had my server's only access to the internet via a VPN tunnel on the router. I've stopped doing that recently as I got more interested in the link-aggregation setup, but I might do something more complex at the router-end to achieve a similar outcome at some point.
It can be a little complicated depending on your Linux, but if you google "ILO virtual serial port" you should be able to find some decent directions.