Homelab in a box

AI Disclosure:
So far all my own work, but as a software dev, of course I use LLM’s, all posts will be mine, I will always disclose where AI was used for research


so first time doing a devember but I have no work till january and my homelab needs some attention, so what the heck…

Current Setup…

‘Server’ (or my homelab in a box as I lovingly refer to it)

Gigabyte B550M DS3H AC / Ryzen 3 3100 / 32gb DDR4 3200 / ASMedia ASM1166 6Port SATA HBA / Intel 82599

all in a Fractal Define R5 (which is now extremely heavy)

Currently running proxmox.

2 main shares…

a 1TB m.2 ssd which gets used for all sorts of things including all the dev files from my workstation / laptop

a mergerfs / snapraid volume (5 data drive and 2 parity) for media and really big files, currently this runs direct on the host (I know don’t @ me its on the list to fix)…

running proxmox with a mish mash of vms and containers, the key ones (the ones that may be carried forward) of which are…

LXC - NAS-1 - file server,

LXC - jellyfin server

VM - cursed router / firewall was being used for the wifi in host mode, currently off

VM - home assistant server with a zigbee usb stick passed through

‘Workstation’

Asus prime X470-pro / Ryzen 7 5700x / 64gb ddr4 3200 / AMD RX580 8gb / Intel 82599 10gbe NIC

linked by 10gig direct to the server.

Currently this is on Nix but I think the experiment is over on that one, so full rebuild coming up.

in terms of its role… it started as my main dev / cad workstation that got used for playing games in the off hours, but I have also been experimenting with locally hosted AI recently and a new (to me) radeon pro VII (vega core, but interestingly HBM memory), bought as it was the cheapest 16gb card I could find, sitting on my coffee table right now…

Goals -

cleanup the rougue vms and containers from previous experiments on the proxmox box…

put the server on wheels to save my back…

move the snapraid / mergerfs stuff out of the host machine and on to the NAS LXC or maybe convert to a VM if passing through the raw disks gets too complicated, setup proper automatic snapraid updates and maybe find a nice web frontend to manage the nas (OMV maybe?)

find a solution to my dns problem, for years I have used MDNS for most of my homelab connections but… android never supported it, and I have moved more and more to using flatpak for as many applications as I can on my desktop machines, where MDNS also doesn’t work… so I need a dns setup that will do dhcp and offer resolution for all the dynamic IP address things plus static hostnames for the few things on static addresses, might as well throw in pi-hole whilst I’m tearing the network apart…

investigate moving HomeAssistant onto its own dedicated hardware (I have a few raspberry pi’s kicking around)

do something about monitoring for all this (grafana I have a passing understanding of, in an industrial monitoring context, but I think that started out as a network dashboard tool)

external access - I have a relatively fast braodband connection so being able to access stuff whilst I’m out and about would be good (tailscale maybe)?

Setup a gitea instance for dev work.

Setup Immich for photo management.

tear down the workstation and reinstall it to become my local AI server / cad / gaming machine…

design and print some kind of stand to mount my framework12 vertically in tablet mode next to my main montitor.

Holy shit that looks like a lot even for a month full time, any suggestions / wisdom gratefully received, but mocking as always, expected!

Do the DNS before the disk move. mDNS never reaches Android, and a Flatpak does not see the host nss-mdns, so those apps only ask real DNS. That is the break you are already hitting.

Pi-hole is dnsmasq. Let it hand out DHCP, set the search domain to a suffix you pick, put the static boxes in Local DNS, and let the leases name the rest. Android and the Flatpaks then resolve the same names. A short name with no search domain keeps failing.

The mergerfs move can wait. Passing the disks through is the fiddly part, and it does not fix a lookup. Tailscale, which you already named, covers the phone once it leaves the house. The search domain stays at home.

i have some ideas how to solve dynamic IP and dns things, check my project or message me.

Thanks, that sounds like it could be easier than I thought, a nice easy win to get me started, I need to have a deeper look at the network at some point and I want to bring back the godless / cursed router back at some point but with a separate AP for the wifi, but I’ll do a separate post on the options for network changes when I have thought about it a bit more…

On the mergerfs/snapraid bit, I’d honestly leave it on the host. I tried moving mine into a VM with the HBA passed through and it was more hassle than it was worth. Now the pool just gets bind mounted into the NAS and Jellyfin containers with pct set 101 -mp0 /mnt/pool,mp=/mnt/media and snapraid sync runs from host cron.

Hey, for the Pro VII, I’d run llama.cpp on its Vulkan backend instead of ROCm. TheRock, the build system behind current ROCm, only marks gfx906 as build-passing, with no sanity or release testing, so Vulkan is the safer path. The HBM2 is the card’s big advantage. On llama.cpp’s Vulkan scoreboard, the Pro VII generates about 106 tok/s on Llama 2 7B Q4_0, against about 39 for an RX 580. Good luck with Devember!

Yeah thats where I am now.. but I have a couple of spare hard drives that are too small to be useful so I might just chuck them in the workstation and give it a try and whilst I’m generally comfortable with the shell, its soooo much easier to manage things graphically.

So even if I just create a howto for people doing mergerfs / snapraid on OMV that will be a positive…

This is the bit I’m newest to so may wait a while before I get to that, currently I have experimented a bit with ollama on the RX580 but still very much a newb when it comes to the local AI stuff (so hope to lean on the experience around here for help), I use it a lot in my business, but if I could offload some of the simpler coding tasks to a local setup it would save me a lot of money… and of course be a better idea for privacy, none of my clients require it at the moment, but its only a matter of time…

I’d be interested in the radeon 7’s performance in llm stuff, 16 gb isn’t a lot for such a job but it’s hbm.

It’ll be a while I’m afraid, have to eat my vegetables first, (server stuff and physically tidying up my bombsite of an office), I know myself too well if I fit the card and start playing, December will be gone in the blink of an eye and nothing else will get done!

1 Like