Projects60 min read

Homelab

Plan the Lenovo ThinkStation P520 homelab for local AI and self-hosted services.

Status
active
Updated
Topics
project · homelab · self-hosting

Homelab

Home: Home | Server: Lenovo ThinkStation P520 | Roadmap: Roadmap — Homelab

Goal#

Build an understandable, reliable, always-on personal infrastructure layer for local AI, media, networking, game hosting, files, and future Obsidian automation.

Current State (2026-09-17)#

  • Status: Back online as of 2026-09-10. Tailscale node omarchy (100.73.4.38) reports active, direct connection at 10.0.0.105:41641; hostname ayumad, up 6 days. The 2026-08-12 outage resolved itself without manual intervention.
  • MAC address: 70:70:fc:08:2f:92 (recorded 2026-09-10 — this unblocks Wake-on-LAN as a recovery path)
  • SSH access: ssh ayumad@100.73.4.38 works from the Mac mini with a host key added via StrictHostKeyChecking=accept-new. Note: tailscale ssh fails with "No ED25519 host key is known" — use plain ssh against the Tailscale IP, not the tailscale ssh wrapper.
  • Hermes on the box: /home/ayumad/.local/bin/hermes is present.
  • Cron watch: the Omarchy Health Monitor job (omarchy-monitor.sh, 15 min) is no longer in the scheduler registry as of 2026-09-10 — it was reporting a hard error on every run during the outage. Deciding whether to restore it is an open item on the Hermes Operations Queue.
  • P520 reachability — re-verified 2026-09-10, and it is DOWN. 10.0.0.236:22 and 10.0.0.236:8006 are closed when probed from the SER8, which shares the 10.0.0.x subnet, and the Mac mini (192.168.86.197) has no route to 10.0.0.x at all (ping 100% loss; default route via 192.168.86.1). The P520 is powered off, off-network, or renumbered — and it is not in the Tailscale fleet. This supersedes the 2026-08-17 note that the port was reachable without the Omarchy jump.

P520 (Lenovo ThinkStation) — Proxmox Host#

  • Build-day prep staged 2026-09-14 02:00 (Hermes): Proxmox VE 9.2-1 ISO downloaded and sha256-verified on the Mac mini (~/Downloads/proxmox-ve_9.2-1.iso, 4e88fe41…, matches upstream SHA256SUMS) — needs a USB stick before it's useful. P520 re-probed from the same LAN (SER8, 02:00): still down — 10.0.0.236 ARP INCOMPLETE, ping 100% loss, ports 22/8006 closed, so the drive/NIC work happens with the box physically open, as planned. Reinstall is not the plan — see the recover-first decision on ^task-roadmap-homelab-112.

  • Proxmox VE 9.2.20 (kernel 7.0.14-17-pve) on 512GB NVMe (pve-p520.home.arpa) — host cleanly reinstalled 2026-09-16 (supersedes the recover-first decision on ^task-roadmap-homelab-112). GPU passthrough restored same day (both functions on vfio-pci); pve-p520 joined the tailnet.

  • 4TB SATA SSD = ZFS pool ssd (converted from the old LVM-thin 2026-09-16, per the storage decision) — VM zvols + ssd/games dataset; PVE storage id ssd

  • 5×4TB HDD ZFS RAIDZ1 tank (~14.5 TiB usable) — expanded 3→5 on 2026-09-16 with the two Creekwood drives; PVE storage id tank; nparity: 1 confirmed via zdb -C (one disk of parity, five whole-disk members)

  • ⚠️ RAIDZ expansion under-reported tank's usable space — found, diagnosed and fixed 2026-09-16 (it was a display bug, not lost capacity). zfs list said 12.0 TiB available where the 5-wide geometry gives ~14.4 TiB. Root cause is upstream OpenZFS: vdev_set_deflate_ratio() hard-codes txg 0, so after a raidz expansion the deflation ratio stays at the pre-expansion 3-wide value (1.5) instead of 1.25. Fix is PR #18324 "raidz: fix space accounting after expansion" — open, unmerged (fixes #17784, #18199); no PVE kernel carries it yet.

    • Measured proof (test dataset on the empty pool, since destroyed): 42.95 GB logical written with compression=off → raw zpool free dropped 53.70 GB = exactly 1.25 × logical, i.e. true 4-data + 1-parity 5-wide stripes, so the parity geometry is correct; available dropped only 35.76 GB = raw ÷ 1.5. On an empty pool the "old-geometry blocks" caveat is nil, so the full ~14.4 TiB is really writable. The vdev had been expanded twice earlier that session (raidz_expand_txgs[0] + [1], 3→4→5), which is what left the ratio stuck at the 3-wide value.
    • ✅ REMEDIATED 2026-09-16 (approved by Ayush). tank was destroyed and recreated as a native 5-wide RAIDZ1 (zpool create -o ashift=12) so txg-0 geometry is the 5-wide ratio. Post-rebuild zfs list reports 14.4 TiB available (was 12.0 TiB) — matching the geometry exactly.
      • Verified after rebuild: 10 GiB test write → raw free dropped 13.43 GB = 1.2503 × logical (one parity disk in five) and available dropped 0.9987 × logical (1:1, no longer charged 1.5×); dataset used now equals logical size. Test dataset destroyed, baseline restored.
      • Bonus fix: all five members now use by-id paths — the WD4000FYYZ shows as ata-WDC_WD4000FYYZ-05UL1B0_WD-WMC130D9JV3F instead of the raw /dev/sdc that the expanded pool had recorded.
      • Pre-destroy provenance saved on the host: /root/tank-rebuild-20260916/ (zdb -C, zpool status, zpool get all, zfs get all, storage.cfg).
      • Safe to do now only because the pool held 0 files / 0 snapshots / 1.7 MB and both of ai-vm's disks live on ssd (verified before destroying); all 5 HDDs SMART PASSED pre-flight.
    • Deferred decision (Ayush, 2026-09-16): a second 3.84 TB SATA SSD to mirror the ssd pool is parked — "I'll worry about a second SSD later." Every SATA bay + the M.2 slot is filled, so it is a purchase, not a reconfig; ssd (VM zvols + games) stays unmirrored until then. Backburnered 2026-09-18 (SSD prices absurd right now) — Backburner Wishlist § Tech & Retro.
  • ✅ Storage expansion DONE (verified 2026-09-17): the two Creekwood 4 TB drives are in the tank raidz1 vdev — zpool status tank shows 5 members (2× Hitachi HDS5C4040ALE630, WD4000F9YZ, WD4000FYYZ, ST4000DM000), all ONLINE, no data errors; sdc/sdd are zfs_member partitions, no longer BitLocker (the old "wipe + expansion pending" note was stale). Chassis ceiling is 6 SATA devices (4 internal 3.5" bays + 2 flex bays), and the 512 GB boot NVMe is M.2 — so 5 HDDs + the 4 TB SATA SSD fills it exactly. Going beyond 6 needs a PCIe SATA/SAS HBA.

  • Target allocation (2026-09-11): 512 GB NVMe = Proxmox host only; 4 TB SATA SSD = one ZFS pool split ssd/vms (zvols) + ssd/games (Samba-shared); 5 x 4TB RAIDZ1 = bulk storage + VM backups. The games share holds the occasional large single-player back catalogue. iSCSI was evaluated and rejected — see Key Decisions.

  • ✅ Games-over-NAS throughput blocker — host leg resolved 2026-09-16: the 2.5GbE Realtek RTL8125 card is physically installed and is now the active management NIC (nic0, r8169, negotiating 2500 Mb/s); the Intel I219-LM gigabit is nic1 (down, unused). End-to-end path still to verify in Phase 3/5 (switch + gateway legs), but the P520's own 118 MB/s cap is gone (^task-roadmap-homelab-91, Phase 5).

  • RTX 3060 12GB — GPU passthrough restored 2026-09-16 ✅ (LHR card — PCI ID 10de:2504, bound to vfio-pci); the only GPU in the P520, and it also handles Jellyfin transcoding; 2026-09-17 decision: it switches to docker-vm as the default ('media' mode) for Jellyfin NVENC — gpu-mode media|ai moves it between the two VMs (see Key Decisions)

  • RTX 2060 — removed 2026-06-22, planned for sale (see Key Decisions; not in the P520)

  • 64GB DDR4 ECC, Xeon W-2135 (6C/12T)

  • ai-vm rebuilt 2026-09-16 — Debian 13 cloud image via cloud-init (no console install): 4 vCPU / 16 GB / 64 GB zvol on ssd, RTX 3060 + audio passthrough, NVIDIA 550.163.01 (CUDA 12.4); Ollama 0.34.1 (:11434, qwen2.5:7b-instruct @ 67 tok/s + nomic-embed-text) and ChromaDB 1.5.9 (:8000) running as systemd services; LAN IP 10.0.0.53 via DHCP (may change — check qm guest cmd 200 network-get-interfaces); SSH = key auth only (hermes-macmini + omarchy keys); on-demand since 2026-09-17 — onboot off; start with ai-vm-up on the Mac mini (or qm start 200). While stopped its full 16 GB returns to the host; the watchdog treats stopped as a valid state.

  • Bonsai 2 27B (PrismML Ternary-Bonsai-2-27B) — ✅ installed + benchmarked on ai-vm 2026-09-18: ternary-compressed Qwen3.8-27B (Apache 2.0) at ~/Bonsai-demo; runs only on PrismML's llama.cpp fork binaries (prism-b10683 — stock llama.cpp rejects these files) + CUDA 12.4 runtime libs from the nvidia-cuda-runtime-cu12/nvidia-cublas-cu12 pip wheels symlinked into bin/cuda/. Measured on the RTX 3060 (PQ2_0, 6.7 GiB): 35.5 t/s decode · 556 t/s prefill (llama-bench); serving OpenAI-compatible chat + thinking + vision + tool calls via bonsai-server.service on :8080 (systemd; started but NOT enabled — holds 9.3/12 GB VRAM, would contend with Ollama at boot; enable = open call — at the 98K ctx below it holds 10.4/12 GB). GPU is in ai mode for this — Jellyfin on software transcoding until gpu-mode media. Wired as a Hermes local-model option (same day): providers.bonsai → http://10.0.0.53:8080/v1 (server runs --alias bonsai-2-27b; model alias bonsai); Hermes' 64K ctx minimum forced 98304 ctx + BONSAI_KV4=1 + calibrated mean-centering bias (bias build needs the server stopped); agent.reasoning_overrides.bonsai-2-27b: xhigh — the bundled custom profile emits reasoning_effort=max, which the chat template 500s (accepts xhigh/medium/low only). Verified: chat + tool round-trip through Hermes ✓, 2nd-call prompt cache ~100%.

Services stack — ✅ LIVE 2026-09-17 (docker-vm 202 + CT 101/102)#

  • docker-vm (VM 202) — Debian 13, 4 vCPU / 16 GB RAM (bumped from 12 GB 2026-09-17) / 200 GB on ssd (hot-grown from 64 GB on 2026-09-17 after 30 Docker images filled it — thin, qm resize + online growpart/resize2fs, no downtime; 157 GB free), static 10.0.0.54, onboot=1, tailnet 100.113.99.29; Docker 29.8.1 + Compose v5.5.1; NVIDIA 550.163.01 + container toolkit (Jellyfin NVENC while the 3060 sits in media mode). Configs in /opt/docker, git → private Forgejo http://10.0.0.54:3005/ayumad/p520-docker.
  • Services live: Jellyfin :8096 · Jellyseerr :5055 · qBittorrent :8090 (behind PIA/gluetun kill-switch — CA Vancouver, port-forward 20091) · Prowlarr :9696 · Sonarr :8989 · Radarr :7878 · Audiobookshelf :13378 · Navidrome :4533 · Calibre-Web :8083 · Uptime Kuma :3001 (21 monitors) · FlareSolverr :8191 · Scrutiny :8082 (7 P520 devices) · Grafana :3002 · Prometheus :9090 · Syncthing :8384 · Paperless-ngx :8000 · Immich :2283 · Forgejo :3005 · code-server :8443 · Home Assistant :8123 · Mosquitto :1883 · Node-RED :1880.
  • Media pipeline — ✅ end-to-end (2026-09-17): Prowlarr holds 6 indexers (The Pirate Bay · YTS · 1337x · EZTV · Nyaa.si · TorrentDownload). FlareSolverr :8191 added to media.yml for Cloudflare-protected trackers — gotcha: the flaresolverr tag must be set on the indexer proxy itself, not only on the indexer, or adds still fail "blocked by CloudFlare". LimeTorrents / kickasstorrents.to / Internet Archive failed validation and were dropped.
  • Library auto-refresh: Radarr + Sonarr → Jellyfin import notifications wired (per-app Jellyfin API keys in .env; notify=false for Jellyfin, updateLibrary=true) — new imports appear without manual scans.
  • Download tuning (2026-09-17): qBittorrent session queueing disabled (Session\QueueingSystemEnabled=false, MaxActiveDownloads=8/MaxActiveTorrents=30) — the stock 3-active-download default silently parked every new grab in queued; parallel swarms aggregate better through the single PIA tunnel. WebUI\LocalHostAuth=true set so gluetun's PIA port-forward hook can reach the WebUI again (its up command had been failing with an auth error, so a PIA port rotation would silently starve incoming peers). Seeding capped at max_ratio 1.0. New Bluray Max quality profile in both Sonarr and Radarr: Remux-2160p > Bluray-2160p > Remux/Bluray-1080p, with WEB-DL-1080p allowed only on the TV profile as a completion fallback (no 4K release exists for most shows). Jellyseerr (the request front door) now defaults to that profile for both services — it shipped pointing at Any, which would have let a phone request pull a CAM rip. Proven end-to-end 2026-09-17: Night of the Living Dead auto-imported (hasFile=true, 1.63 GB) with no manual step. Jellyfin libraries run with realtime monitoring OFF (inotify is useless on CIFS), so an import only appears once a scan is triggered — Servarr's import notification is the trigger and the hourly media-pipeline script re-triggers as a backstop (measured: invisible until a refresh, then visible in ~10s). Note for future debugging: Servarr's API masks notification secrets (an 8-char apiKey in a GET is the mask, not a placeholder — read the real value from radarr.db/sonarr.db Notifications.Settings).
  • Pipeline proof: Night of the Living Dead (1968, public domain) — Radarr search → Prowlarr → qBittorrent/VPN → /media/movies import. Speed is swarm-limited (~75 KB/s from residential peers; 179-seed swarm, ~10 KB/s per peer) — CIFS write measured 2.0 GB/s, so infrastructure is not the constraint. Quirk: Radarr's manual-grab API wants mappedMovieId in the release payload, not movieId.
  • Library curation — dedup + 100 % English subtitles (2026-09-27): Duplicates: 4 duplicate YTS encodes deleted (each sat beside a genuine remux; nlink=1, promo junk only) → 213 → 209 films, 20.99 GB reclaimed. Kill Bill: The Whole Bloody Affair is a distinct cut, kept. Subtitles: 209/209 films now expose an English subtitle stream, verified through the Jellyfin API after a rescan. 63 films lacked a tagged English sub → 37 got a new sidecar .en.srt fetched with subliminal in a throwaway python:3.12-slim container (credential-free — no OpenSubtitles account required), and 26 already had an English .srt from the original YTS download but with no language code in the filename, so Jellyfin rendered it Undefined and the audit counted it as missing → those were renamed <stem>.en.srt (English confirmed on all 26 by sampling mid-file dialogue; 25 redundant downloads deleted). Hygiene verified after: 0 duplicate sidecars, 0 untagged sidecars. Caveat: Black Swan — the only English sub open providers carry covers just the first ~43 min (partial upload); kept, flagged. Gotchas: Jellyfin infers a sidecar's language only from the filename, and cannot read .mpl (MicroDVD) at all; one provider returned MicroDVD in a [start][end] square-bracket dialect, so the fix is a small Python frame→timestamp converter — not ffmpeg, whose microdvd demuxer writes 0 bytes when handed a fractional -subfps (13978/583).
  • Audio language verified with Whisper (2026-09-27): 193/209 files carry an untagged (und) audio stream, and container tags can't be trusted for foreign titles (some Ghibli releases ship dub-only). Verified the actual spoken language by extracting 3 × 60 s windows per foreign film (20/50/80 % of runtime, mono 16 kHz mp3 via the jellyfin container's ffmpeg) and running local mlx-whisper (base) on the Mac mini — $0, no cloud ASR. Result: 34 of 38 foreign films carry native-language audio ✓. 4 are English-dub only — Castle in the Sky, Ikiru, Ponyo, Porco Rosso — they need native-audio re-acquisition. Reading rule: any window detecting the native language means native (isolated en hits on music/non-dialogue windows are Whisper misdetections); all three windows en is the dub signature.
  • Bazarr is a shell — zero subtitle providers configured (found 2026-09-27): enabled_providers: [] in /opt/docker/extras/bazarr/config/config.yaml. It is wired to Sonarr/Radarr (SignalR connected) and does extract embedded subs, but cannot fetch a single subtitle. Any "Bazarr will handle subs" assumption is false until an OpenSubtitles key/account exists. Subliminal-in-a-container is the working path and needs no credentials.
  • ✅ Quality upgrade EXECUTED 2026-09-27 (Ayush said "go" for the full set): the whole library is now tracked by Radarr — 209/209 movies adopted with hasFile=true (was 7). Method: for each title, GET /movie/lookup → POST /movie with the existing folder passed as path, so Radarr attaches the file it already has instead of downloading a duplicate — that's what makes the subsequent remux land as a true upgrade (old file deleted on import, not orphaned beside it). Profiles: 143 on 8 4K Bluray (auto-upgrade) (2160p titles), 65 on 7 Bluray Max (the 1080p/720p tier — profile 8 is 2160p-only and would import nothing for a film with no 4K release), 1 legacy on profile 1. minimumFreeSpaceWhenImporting raised 100 MB → 2,000,000 MB (2 TB) — the stock value is effectively no guard at all. Downloads land in /mnt/media/downloads on the same tank volume as the library, so that floor is the only thing standing between a runaway queue and a full pool. Import gotchas hit: (1) one film's file sat loose in the library root (Karate Kid Legends 2025 …BONE.mkv) — Radarr rejects path = a root folder ("Path '/media/movies' is already configured as a root folder"), fixed by giving the file its own folder; (2) two titles whose Jellyfin titles are raw filenames (Kill Bill The Whole Bloody Affair (2006) [1080p]…, Speed Racer 92008) [1080p]) fail title lookup entirely — they need an explicit corrected title+year; (3) a host-side glob('/media/movies/*') silently finds nothing — that path exists only inside the containers, the host sees /mnt/media/movies.
  • Quality guards installed 2026-09-27 (custom formats, both profiles 7 and 8): Radarr's label-based quality model cannot tell a remux from an upscale — it grabbed All That Jazz 1979 **Upscaled** BluRay 2160p and a disguised www.UIndex.org - 13 Going on 30 …. Two custom formats now reject them at score −10000 with minFormatScore=0: Upscaled Release (regex (?i)\bupscal) and Junk Site Name (regex (?i)www\.[a-z0-9-]+\.(org|com|net)\s+-\s+). Verified working — the upscale release now reports Custom Formats Upscaled Release have score -10000 below Movie's profile minimum 0. Note the model's other blind spot: a 4.7 GB YTS file parses as Bluray-2160p, which outranks a genuine 20.6 GB WEBDL-2160p — so for titles with no Remux release, Radarr correctly declines to "upgrade" and the YTS encode stays. Upgrades therefore only happen where a real remux exists.
  • Upgrade throughput reality (measured 2026-09-27): queue runs 26 downloading / 32 total, payload 1.46 TB, quality mix 25 × Remux-2160p (Blade Runner 2049 83 GB, 2001 82 GB, Big Lebowski 61 GB…). Aggregate 2.95 MB/s — peer-limited, not config: PIA port 20091 forwarded and matching qBittorrent's listen_port, iface tun0, egress 212.56.52.113 (no leak), and per-torrent rates span 0.02 → 2.1 MB/s, which is residential swarm quality. Full-set expectation: weeks, not days. du on /mnt/media/downloads reads high because qBittorrent preallocates — df is the honest number.
  • 🎬 Remux scope triaged + rip-tier rollback (2026-10-06): a visual scan split the 4K remux upgrade pass into 45 showcase (cinematography / format-pushing landmarks — Blade Runner ×2, 2001, Dune ×2, Oppenheimer, Fury Road, LOTR, Wong Kar-wai ×5, the Ghibli set, the Godfathers…; cross-checked against DoBlu consensus lists), 85 middle, and 31 "fine at lower bitrate" (dialogue / clean-digital / comedy — from 12 Angry Men to Mean Girls). The 31 were reverted to rip tier: 16 in-flight remux targets cancelled (≈330 GB of partials freed + ≈400 GB of download avoided), and all 31 repointed to a new Radarr profile 4K Rip (no remux) (id 9; encodes up to Bluray-2160p, remux excluded — so they can't quietly re-upgrade). The 15 already-finished remuxes (457 GB) were kept — swapping them back would re-download ~180 GB to reclaim ~275 GB. Visual-scan + reversion mechanics recorded in the servarr-media-stack skill.
  • Playback outage — root-caused 2026-09-17 (iOS client error AVPlayerItem -1008 / NSURLErrorDomain): two compounding faults, neither of them title-specific — Gravity Falls was simply the title being watched, and the whole 90-file library was in scope. (1) Stale container mounts. A long-running container does not follow the host when the CIFS session for /mnt/media bounces: it keeps the detached superblock, and every pre-existing file then fails open() with EINVAL (files created after the bounce still read — that asymmetry is what makes it look title-specific). Jellyfin logs Error processing request: Invalid argument : '<path>' and answers HTTP 500 on /Videos/<id>/stream. Fix: docker restart each container holding the bind. Caution: matching device numbers (stat -c %d) are a weak check — they recycled and coincided while the sessions still differed, which is how a "fixed" state got reported prematurely. (2) Stale SMB2 leases on the NAS — the deeper cause. smbstatus -L on tank showed the failing files held under LEASE(RWH) by a zombie SMB session from docker-vm (connected 06:36, never released as the automount churned). Because Servarr imports by hardlink, the library file and the seeded copy are the same inode — so a lease held on a seeding torrent blocks every other client opening that inode. Host, Jellyfin and all five containers failed on exactly those titles, while smbclient (which negotiates no leases) read them at 268 MB/s. Fix: smb2 leases = no in [global] of tank:/etc/samba/smb.conf (backup /etc/samba/smb.conf.bak-20260917; revert = delete the line + systemctl restart smbd). Leases are a LAN caching nicety; on a mixed-client share whose library hardlinks active seeds they cause silent, title-random playback failures. Churn removed: x-systemd.idle-timeout=120 dropped from the /mnt/media fstab line on docker-vm — the share now mounts once and stays (/proc/self/mountinfo → timeout=0), so host and containers share one superblock instead of drifting apart every ~6 min. Verified: host + all 5 containers 90/90 files readable, 0 failures; every Gravity Falls episode streams 40/40 (was 14 failing). Monitoring: /usr/local/bin/media-mount-check.sh on docker-vm counts unreadable files across the host and every container — a one-file sample is not evidence (it passed while the library was broken); the 30-min homelab-monitor.sh then auto-restarts stale containers only when the host reads fine, and raises a NAS-side alert (no restart) when the host fails too.
  • Extras stack — ✅ live 2026-09-17 (13 containers in extras.yml; 42 total on docker-vm): Caddy :80/:443 (internal TLS, 31 <service>.lan vhosts, landing page at http://10.0.0.54; 2026-09-27: global local_certs removed and admin off noted — local_certs forces the internal CA for every site and would have blocked Let's Encrypt for a public vhost; removing it is safe because every .lan block declares tls internal explicitly. admin off means config changes activate via docker restart caddy, not caddy reload) · Dozzle :8080 · ntfy :8085 (push; Diun + Grafana deliver here) · Diun (daily image-update check, 08:00) · Healthchecks :8010 · Vaultwarden :8087 · Stirling-PDF :8088 · Miniflux :8089 · Bazarr :6767 (wired to Sonarr+Radarr — SignalR connected) · Cleanuparr :11011 (needs a 3-min UI setup: qBit + *arr creds) · Open WebUI :3009 + ollama-cpu (qwen2.5:3b, always-on CPU) + Qdrant :6333 (RAG front end; ai-vm's Ollama can be added as a second connection).
  • Alerting — first real delivery path (2026-09-17): Grafana has an ntfy contact point, a notification policy, and two rules (node-exporter down 5m, docker-vm root disk >85%). Before this, Prometheus metrics had no alert rules and nowhere to go.
  • Backups PROVEN (2026-09-17): real restore drill — CT 100 nas restored cold into scratch VMID 299: archive verified, restore 11 s, smbd active after 91 s, all 5 shares + data intact, scratch destroyed, live guests untouched. Restore half of ^task-roadmap-homelab-128 is now done. The off-machine copy is still missing — the Mac mini has only 28 GB free against a 27 GB nightly dump set, so it needs B2/R2 ($2/mo) or an external drive.
  • Known hardware limits (2026-09-17): single-tenant RTX 3060 (image-gen/Whisper/large LLMs are ai-mode only) · Mac mini disk too small for off-machine copies · Xeon has no iGPU (no QuickSync → a Frigate-style NVR needs a Coral/Hailo) · Pi-hole DNS flip still scoped to 10.0.0.x while the Mac sits on 192.168.86.x.
  • 🔓 Public Jellyfin access without Tailscale — staged 2026-09-27, awaiting 2 human steps (NOT live yet): target design is https://jellyfin.ayumad.me → Xfinity gateway forwards TCP 443/80 → Caddy :443 on docker-vm → reverse_proxy 10.0.0.54:8096. Agent-side work done + verified: global local_certs removed and a public jellyfin.ayumad.me vhost added (Caddyfile validates Valid configuration; backup Caddyfile.bak.20260927-011255); Jellyfin EnableRemoteAccess=true + KnownProxies=[172.18.0.1, 172.24.0.1] (the media/docker bridge gateways — with an empty list every client logs as the proxy IP and remote clients are refused); ~/.hermes/scripts/wan_ip_watch.sh added to track the dynamic WAN IP. Still open (human-only): the xFi port forward + the Namecheap A record — logged in 90 Operations/Hermes/TODO Master.md → ## 🧹 todo-cleanup and mirrored to Google Tasks Tech. Caddy has NOT been restarted, so nothing is exposed yet — restart only after the forward + DNS exist, or ACME burns failed-validation attempts. Topology note: docker-vm sits on the Xfinity gateway's own subnet (10.0.0.54), upstream of the Nest router, so the forward is one hop with no double-NAT. WAN IP is dynamic (67.180.196.131 observed 2026-09-27); Comcast/Xfinity is believed to block inbound 80, which is survivable — Caddy falls back to TLS-ALPN-01 on 443 for the cert. Port forwards on this gateway must be created via the xFi app / xfinity.com (the local 10.0.0.1 UI returns 403).
  • CT 101 pihole (10.0.0.230) — Pi-hole v6 live; blocking verified (dig doubleclick.net → 0.0.0.0); upstream 75.75.75.75. LAN-wide DNS flip pending gateway access (cleanup item).
  • CT 102 minecraft (10.0.0.231:25565) — Paper 26.3 build 26 (26.3-26-dev, ALPHA channel — every build of 26.3 is alpha; there is no stable channel for this version yet) on Java 25, systemd service. Whitelisted and playable since 2026-09-19: white-list=true with Ayumadbro123 (UUID 492c469c-97fa-49bf-b1e2-578ba3c6a4ca, resolved via Mojang — the lock-out cause was an empty whitelist.json, not a broken server), op level 4 in ops.json, motd=Ayush's homelab - Paper 26.3 (Java). Join path proven from the Mac mini (status ping + login handshake → encryption challenge); clean restarts (Done (8.308s) on the 2026-09-20 build-26 jar swap: stopped, jar replaced, sha256 verified inside the container, restarted — plugins, world and whitelist untouched; previous jar kept as paper.jar.bak-26.3-build8); covered by the nightly vzdump. Health check: ~/.hermes/scripts/mc-status.sh — client-side login probe plus container/service state.
  • Acceptance (2026-09-17): reboot drill passed — P520 cold reboot; every guest and all 21 services auto-recovered with zero intervention (19 GiB of 62 used). Finding along the way: docker-vm's cloud-init regenerated SSH host keys on its first cold boot since build (benign; identity confirmed) — guarded via /etc/cloud/cloud.cfg.d/99-persist-host-keys.cfg (ssh_deletekeys: false).
  • Backups: the nightly 03:30 vzdump job (all guests) now also covers the new guests; an off-machine copy + restore drill remain open (Phase 9).
  • Watchdog: homelab-monitor.sh now watches docker-vm (VM 202) and treats the nightly-backup prelaunch blip on stopped VMs as benign. Extended 2026-09-21: it also watches ZFS snapshot freshness (sanoid) — alerts if the newest snapshot is older than 26h (HOMELAB_SNAP_MAX_AGE_H) or if sanoid.timer is not enabled, driven by new SNAP_*/SANOID_* keys in /usr/local/bin/homelab-status.sh (backup: homelab-status.sh.bak-20260921). All three paths tested: healthy = silence + exit 0, forced-stale = alert, recovered = snapshot alert clears.
  • sanoid snapshot policy installed 2026-09-21 — package 2.2.0-2 (trixie), config /etc/sanoid/sanoid.conf, sanoid.timer runs the take/prune units every 15 min. Policy: hourly+daily+weekly+monthly on tank/photos, tank/shared, tank/MM; daily 14/8/3 on tank/media; daily 7/4/2 on tank/PC; daily 7/2/1 on tank/backups; daily 5/2/1 on ssd (zvols + subvols) and ssd/games; tank/timemachine excluded (macOS writes continuously and it is itself a backup). Autosnap snapshots are autosnap_* and autoprune never touches manual ones. Prune engine proven on a scratch dataset (retention 2 → 4 snapshots became 2, scratch destroyed).
    • Two gotchas, both hit while installing: (1) the systemd unit runs with TZ=UTC, so a manual sanoid run from a shell stamps local-time names — the two name families then parse as different periods and the next run snapshots the same dataset again. Always TZ=UTC sanoid … by hand. (2) Under heavy I/O (the concurrent 978G movie copy, load 12) each zfs snapshot costs a txg sync (8s), so a full pass of ~50 datasets takes ~10 min — overlapping manual runs produced 82 snapshots instead of ~50 and had to be cleaned up. Run sanoid through the unit, or not at all.

Network Topology#

Mac mini (100.113.252.86) ──direct──▶ P520 (10.0.0.236 · tailnet `pve-p520` / 100.127.82.2)   [direct path confirmed 2026-09-16]
Mac mini ──Tailscale──▶ Omarchy (100.73.4.38) ──SSH jump──▶ P520   [previous path, retired 2026-09-16]
Creekwood (tailnet 100.125.200.55, LAN 10.0.0.186 — measured 2026-09-21) — on the 10.0.0.x wired LAN, SMB 445 open
NAS `tank` (tailnet 100.65.160.86 · LAN 10.0.0.220, CT 100) — Samba 4.22.11; 7 read-write shares (incl. `PC` for the Windows desktop, `timemachine` for Mac Time Machine + `MM`, shared by `manoj`/`ayush`) + read-only `backups`

Link speeds verified 2026-09-11: the SER8's enp1s0 negotiates at 2500 Mb/s on the owned BrosTrend 2.5G switch, so the switch and cabling are genuinely running multi-gig. Update 2026-09-16: the P520 now also negotiates 2500 Mb/s (RTL8125 card installed, active as nic0) — both server legs run multi-gig. Creekwood's NIC — measured 2026-09-21: 1 Gbps (Get-NetAdapter, Ayush ran it). It is the one gigabit hop left in the tank path: Creekwood→tank copies cap at ~100 MB/s because of it; a 2.5G NIC is the ~2× upgrade if big transfers become routine.

  • 2026-09-21 — seventh rw share PC added to tank (Windows desktop / Creekwood): tank/PC dataset → hot-added mp7 → /srv/PC → Samba [PC] (valid users = ayush, rw, browseable). Applied via live config reload; smb.conf.bak-20260921-pc kept. Verified: testparm parse, kernel-level rw as ayush through the bind mount, live SMB sessions untouched. Client verified same night: first real workload = a 2.65 TB games copy into \PC\Games (server-side confirmed ≈95 MB/s; capped by Creekwood's 1 Gbps NIC — see link-speed note). Completed + verified 2026-09-21 ~10:36 AM — it was a drive-level copy, not just games: 168,060 files / 2.66 TiB. Breakdown: Torrent/ 1.4T (Movies 978G = 206 YTS titles, Games 381G, Books 46M), Games/ 1.2T (PC games 1.1T, Emulators 128G, zip 25G, Homebrew 4.8G), Programs/ 61G, Switch 410M, SteamLibrary 15M; Xbox empty, WpSystem = Windows Store junk. Bytes read clean on the host (330–540 MB/s sequential) and through the CT 100 bind. Findings: the 978 GB movie set sits outside every Jellyfin library (zero title overlap with tank/media/movies, which holds 6) — invisible to Jellyfin/Radarr where it is; no partial/temp leftovers (one benign .tmp dated 2025-12-15); 216 zero-byte files are all intentional placeholders/locks; 24 files carry a bogus 2072-01-19 mtime (FL Studio subset), so "changed recently" tooling misfires on them.
  • 🗂️ tank/PC reorganized 2026-09-21 evening (agent, after snapshotting). Layout is now: Games/PC/ (playable PC games — the doubled Games/PC/Games level flattened into it, no name collisions, and the installed 29G Overwatch moved in out of the installer pile) · Emulation/ (Switch/NSP-NSZ 315G · Switch/SD-Backup = the full Atmosphere card · Switch/Homebrew · Nintendo-3DS/SD-Kit + Nintendo-3DS/Games · Emulator-Apps = Cemu/Dolphin×2/Ryujinx/Playstation · ROM-Archives) · Installers/ (was Programs/; nested Programs/Programs → _Software) · Books/ (was Torrent/Books) · SteamLibrary/ (relabelled in the second pass — it turned out to hold real saves) · _Review/ (deleted in the second pass).
    • _Review/ was a holding pen, not a delete — and in the second pass (2026-09-21 ~11:30 PM, Ayush's go-ahead) it WAS deleted. Every archive was removed only after its extracted twin was proven present on disk (Yakuza 0 → 5327 files/2 exes, NFS Master Collection → 12 exes, Fishbowl → 8, Constance → 5); the Keep Driving duplicate was kept back on the first attempt because its twin had moved into Games/Repacks/ in the same pass, then deleted once re-verified at the new path. Junk (WpSystem, empty Xbox, RazerCortexGameClips, two empty ModifiableWindowsApps, .DS_Store) deleted too. Recovery net: tank/PC@pre-cleanup-20260921.
    • Snapshots tank/PC@pre-organize-20260921 + tank/media@pre-organize-20260921 were taken first — every move in the reorg is reversible by rolling back to them; release them (and reclaim ~their held blocks) once the layout is confirmed good.
    • Books were deliberately NOT dropped into tank/media/books — that path is a real Calibre library (metadata.db + .calnotes), so stray author folders would sit there unindexed. Import through Calibre-Web ("Add books") if they should be searchable.
  • 🗂️ Second pass — 2026-09-21 ~11:30 PM (agent, on Ayush's "do everything"). Final tank/PC layout:
    • Games/PC/ (playable) · Games/Repacks/ (installer payloads — Spider-Man 2, Keep Driving, and Ghostrunner's fg-bins, which were hiding one level down; Ghostrunner itself stays in Games/PC because the installed copy is intact at 25G with Ghostrunner-Win64-Shipping.exe) · Games/Archives/ (Eastward / INMOST / Transience zips — these are PC games, so they were moved out of Emulation/ROM-Archives, which is for console ROMs and is now gone).
    • Installers/ split: real installers stay (Software/ = the old nested Programs/Programs, Minibook/ = the MiniBook X Win11 image + drivers), and copies of installed applications moved to a new App-Data/ (ANSYS Inc, VEGAS, Backup/ = AltServer/ASIO4ALL/Native Instruments/EqualizerAPO/Rainmeter).
    • SteamLibrary was NOT the empty shell it looked like — it has 0 appmanifests, but 164 files including real save games: Black Mesa saves (5.7M), DMC5 slot data (4.6M), CS2 crash dump, Slay the Spire/Slay the Princess/MarvelRivals configs. Relabelled App-Data/Steam-Saves and kept. Deleting it as "dead weight" would have destroyed playable save data — the check that saved it was listing files >1MB.
    • Empty debris removed with rmdir only (cannot touch a non-empty dir): Torrent/Games/Nintendo, Games/Emulators (leftover .DS_Store inside had to go first), and finally the whole drained Torrent/ tree.
  • 📚 Ebooks imported into Calibre-Web — 2026-09-21. PC/Books (43 epubs) held 21 unique titles under two naming schemes (a calibre-export set author_title_translator.epub and a Title - Author.epub set); docker exec -u abc calibre-web calibredb add --library-path /books … imported the 21 and correctly skipped the 22 duplicate copies. Verification: calibredb list --for-machine parsed in python (the CLI's wrapped output is not countable), 22 books in the library = 21 imported + Calibre-Web's own "Quick Start Guide" sample; one book per author dir confirmed on disk. Staging directories removed from both sides.
    • Finding — Calibre-Web does not use the NAS books share. Its /books is a local path on docker-vm (/opt/docker/media/calibre-web/library), so the library lives on the unmirrored ssd zvol (still covered by the nightly vzdump); tank/media/books on the NAS is a separate, empty Calibre library (metadata.db only) served over Samba as the books share. PC/Books is kept as the durable source archive on the RAIDZ1. Repointing Calibre-Web at the NAS library is a one-line compose change but would swap its library, so it is left as a decision, not done silently.
    • UID trap, hit twice: files written into the NAS share by the container's uid cannot be deleted over CIFS as ayumad (rm: Permission denied on all 43 staged epubs) — the staging dir had to be removed as root on the P520.
  • 🎬 Movies migration into the Jellyfin library — ✅ DONE 2026-09-21 11:50 PM (agent). rsync -a --remove-source-files moved 1,061,588,588,319 bytes (1.06 TB, 597 files) at 138 MB/s from tank/PC/Torrent/Movies → tank/media/movies; the source tree was pruned as it went, so the run is interrupt-safe. Verified against the pre-move snapshots: expected 603 files / 1,273,711,293,332 bytes (movie set + the 6 pre-existing titles), actual identical — VERIFY=OK. The drained Torrent/ tree is gone, and tank/PC@pre-organize-20260921 was released (it had been holding ~650G of already-moved movie blocks): pool alloc 5.33T → 4.53T, 13.7 TB free.
    • Jellyfin now reports 212 movies (was 6) after a scan — /Library/Refresh on :8096. Auth gotcha: this key 401s with X-Emby-Token: and with ?api_key=; it works as Authorization: MediaBrowser Token="<key>" → 204. Jellyfin needs the explicit scan because realtime monitoring is off on CIFS. Radarr will list the 205 new folders as unmanaged/unmapped in its root — expected, no action.

Next Steps#

  • Install Ollama + ChromaDB in ai-vm (Phase 2) ✅ done 2026-09-16
  • Phase 3 storage foundation: ✅ COMPLETE (verified 2026-09-17). Four tank datasets + ssd/games, CT 100 nas with all five bind-mounted, Samba serving — and the Samba password is set (pdbedit -L -v ayush → Password last set Thu, 17 Sep 2026 08:33:20 UTC), proven by a live SMB3.11 session from docker-vm (smbstatus → ayush … 10.0.0.54). Remote access added 2026-09-17: Tailscale runs inside CT 100 (unprivileged container needed dev0: /dev/net/tun,mode=0666 + one restart; joined with --hostname=tank --accept-dns=false), so the pool is now reachable off-LAN as tailnet node tank = 100.65.160.86 (tank.taila4a4a9.ts.net) — verified with an authenticated SMB mount over the tailnet IP (//100.65.160.86/media, 15 TB visible, vers=3.1.1). Shares are shared/media/photos/games/timemachine read-write and backups read-only, all valid users = ayush. 2026-09-18 — sixth rw share added: MM (valid users = manoj ayush, shared group mm); new SMB-only account manoj (uid 1001, nologin, standard placeholder password) onboarded, ayush added to the share same day. Naming: only the tailnet node is tank; the container hostname is still nas and the LAN address is still 10.0.0.220. Credential alignment 2026-09-17: the Samba password for ayush was changed from the generated 24-char value to Ayush's standard placeholder (the same value as GF_ADMIN_PASSWORD/CODE_SERVER_PASSWORD in /opt/docker/.env), and docker-vm:/etc/cifs-credentials was rewritten in the same pass — verified with smbclient (placeholder accepted, control password rejected) and the media stack confirmed healthy afterwards (Gravity Falls S02 imported: 20 files, 7.9 GB). Operating lesson recorded in the servarr-media-stack skill: never umount -f the docker-vm CIFS mounts — a forced unmount leaves the mnt-*.automount units failed and they stop re-triggering (recovery: systemctl restart mnt-media.automount + friends). 2026-09-17 — reviewed and accepted: the placeholder value passed through a session transcript during the Notes handoff (the helper leaked it in a timeout traceback); Ayush reviewed the exposure and chose not to rotate it (it is a shared placeholder already stored in .env and reused by Grafana/code-server). Decision closed — do not re-raise.
  • Deploy services: Jellyfin, Pi-hole, Homarr (Phase 4) — ✅ done 2026-09-17 as the full docker-vm stack (Homarr superseded by the Phase 7 dashboard)
  • Regain P520 root access — resolved 2026-09-16 via clean reinstall (supersedes the 2026-08-17 recover-first decision: "Recover P520 root before reinstalling — a reinstall forces a destructive ai-vm migrate; recovery is safer/faster"). Outcome: ai-vm + passthrough config were rebuilt per the runbook; all data pools survived (zpool import -f tank + the SSD thin pool were re-imported/reattached same day). Original fallback (GRUB init=/bin/bash password reset) archived in git history. — done ^task-roadmap-homelab-112 (decision 2026-08-17: "Recover P520 root before reinstalling — a reinstall forces a destructive ai-vm migrate; recovery is safer/faster"). Try the documented creds (root@pam / pvep520admin! — runbook §1.3); if they fail, reset the root password from the physical console via GRUB (init=/bin/bash → passwd root) — this preserves ai-vm, the passthrough config, and every ZFS pool. If a host reinstall is actually taken, the data pools still survive only via zpool import tank (and the SSD pool) — never zpool create. — 2–4h ^task-roadmap-homelab-112
  • Decide Minisforum X1 Lite role (candidate: homelab services node / Voice Assistant dev box) — 0.5h ^task-roadmap-homelab-113
  • Get the P520 answering again — resolved 2026-09-16 (fresh Proxmox install; 22/8006 live; reachable directly from the Mac mini and on the tailnet). Historical notes: it did not respond on 10.0.0.236 for ports 22/8006 when probed on 2026-09-10 from both the SER8 (same 10.0.0.x subnet) and the Mac mini (no route at all). Confirm AC power and the PSU switch, check the switch port link LEDs, then re-confirm its IP; only then can the root-creds/Proxmox decision be made. Onboard NIC supports Wake-on-LAN (Lenovo PSREF), so record the MAC and enable WOL in the BIOS while in there. — done ^task-roadmap-homelab-120 — it did not respond on 10.0.0.236 for ports 22/8006 when probed on 2026-09-10 from both the SER8 (same 10.0.0.x subnet) and the Mac mini (no route at all). Confirm AC power and the PSU switch, check the switch port link LEDs, then re-confirm its IP; only then can the root-creds/Proxmox decision be made. Onboard NIC supports Wake-on-LAN (Lenovo PSREF), so record the MAC and enable WOL in the BIOS while in there. — 0.5h ^task-roadmap-homelab-120
  • P520 drive-bay parts — resolved 2026-09-16: the two Creekwood 4 TB drives are physically installed and pooled (tank expanded 3→5); cages/cables only re-enter if the build changes. Original need: flex-bay adapter cage (Lenovo HDD Bracket Kit 4XH0S69186) + SATA data/power cables (the usual "new drive doesn't appear" cause). — done ^task-roadmap-homelab-122 — the two extra 4 TB HDDs need a flex-bay adapter cage (Lenovo HDD Bracket Kit 4XH0S69186 / slim-ODD+HDD cage) and extra SATA data + power cables (Lenovo ships only the cables the machine sold with — a missing power splitter is the usual "new drive doesn't appear" cause). Hard prerequisite for the 5 x 4TB RAIDZ1 build in Phase 3. — 0.5h ^task-roadmap-homelab-122
  • P520 dashboard — plan settled 2026-09-10: a custom page at ayumad.me/dashboard/homelab, not Homarr. Full spec, subtasks, and blockers live in Phase 7: Dashboard & Wallboard below; decision reasoning in Dashboard & Wallboard. ^task-roadmap-homelab-115

Key Decisions#

  • Proxmox as hypervisor (already installed, ZFS native)
  • RTX 3060 12GB for AI inference in passthrough VM
  • RTX 2060 stays for Jellyfin transcoding — (superseded 2026-06-22: 2060 removed from the P520, planned for sale; Jellyfin transcodes on the 3060)
  • Ollama + ChromaDB as the AI/RAG stack
  • No second RTX 3060 in the P520 (2026-09-10) — PCIe 3.0 x16 (16 GB/s/dir) plus 360 GB/s per card means two 3060s deliver half a 3090's bandwidth for the same 24 GB, and they move no roadmap phase forward. Purchase is gated on the Phase 2 30B-class test instead. Reasoning: P520 Second GPU
  • NAS storage allocation: Proxmox stays, iSCSI rejected (2026-09-11) — the 2 x 4TB Creekwood HDDs pool into the existing tank for 5 x 4TB RAIDZ1 (16 TB usable, not 20 TB — single parity costs one drive). The 4 TB SATA SSD becomes one ZFS pool serving both ssd/vms (zvols) and the Samba-shared ssd/games dataset. iSCSI rejected despite its one real advantage (it presents the game library as a genuinely local disk, which is what Steam and anticheat prefer): a LUN is a fixed-size block device, ZFS cannot shrink a zvol, it is invisible to the NAS's own apps and to every other client, and it admits a single initiator — which defeats the goal of one dynamically-shared pool. Since the share only ever holds single-player back-catalogue games, iSCSI's anticheat benefit was never in play; a plain SMB share plus Steam's Move install folder covers the workflow.
    • Risk accepted: games and VM disks share one unmirrored SSD. Mitigation is not separation but backups — VM backups must land on the HDD pool, never the SSD.
    • Rejected alternative: Unraid — already declined 2026-08-13; Proxmox ZFS is installed and tank already provides 1-drive redundancy.
  • GPU is switchable between docker-vm and ai-vm (2026-09-17) — gpu-mode media|ai on the Mac mini moves the RTX 3060: media (default — GPU in docker-vm for Jellyfin NVENC) ↔ ai (GPU in ai-vm for Ollama; docker-vm keeps every service with software transcoding). A GPU can only be attached to one VM at a time, so switching restarts docker-vm's GPU attachment (~2 min, scripted — never hand-moved). Zero-switch alternative: a dedicated transcode card — Arc A310 wishlisted 2026-09-17 (Loadout Wishlist; ~$120, slot-powered; retires the switcher when acquired) — or the Quadro K620 if it's still in the box (H.264/1080p duty only; not 4K-capable).
  • qBittorrent behind PIA via gluetun (2026-09-17) — kill-switch networking + port forwarding; PIA credentials live only in /opt/docker/.env on docker-vm. Xfinity gateway admin access provided the same day → DHCP reservations + the Pi-hole DNS flip are both tracked as cleanup items (the gateway vault-save was declined twice as of 2026-09-17; Pi-hole itself is live and verified).
  • Homelab service onboarding is agent-automated (2026-09-17) — every service UI account will be created by the agent at build time (CLI/API seeding first; Hermes browser vault for web-only wizards) using a single standard placeholder password + Ayumadbro123@gmail.com for service signups. The password value lives only in the execution plan — not in git, not in this note.
  • Container platform: Docker Compose, not Kubernetes (2026-09-17) — the services stack is one host (docker-vm), so Kubernetes' wins (rescheduling across nodes, autoscaling, rolling fleets) have nothing to act on: on a single box nothing fails over to anything, and Proxmox already provides the orchestration layer below. Compose + restart: unless-stopped covers recovery and keeps the six compose files readable. Revisit only as a separate k3s learning lab (job-relevant practice) or if the homelab ever goes multi-node — never by migrating this stack. Reasoning: P520 Container Platform

Migrated Detailed Roadmap — Roadmap — Homelab#

Migrated from 02 Projects/Homelab.md during the 2026-08-05 vault refactor. Tasks in this section are now owned by this canonical note; the source is archived for provenance.

Roadmap audit — 2026-09-10 Removed / deduped: the Prowlarr / qBittorrent / Sonarr+Radarr / automation-wiring block was listed twice (Phase 3 and Phase 4) sharing the same four block IDs — now only in Phase 4 with docker-vm. Homarr closed as superseded by the custom dashboard (Phase 7). No task was deleted without a recorded replacement. Corrected against verified state: the P520 is unreachable (was recorded as reachable); Phase 3's "can start now" claim is false until the box is back; the NAS task's due date moved to Sep 13 in the Hardware list; Tailscale is already on the SER8 and Creekwood, so the P520 is the only machine missing; the UPS item is gated on a backburnered purchase; the 2.5GbE upgrade now carries its justification (1 GbE onboard vs an owned 2.5G switch). Added: ^task-roadmap-homelab-120 (get the P520 answering — step zero), Phase 8 class/GUI VMs promoted from the GPU-passthrough runbook §9, and Phase 9 reliability/alerting/recovery (notifications, patching, ZFS+SMART cadence, restore proof, power-loss recovery + WOL). Left alone on purpose: every Phase 6 expansion service, the NAS/ZFS plan, and the Someday/Backburner material. The roadmap now has 52 open tasks, every one with a unique block ID (was 47 with 4 duplicated).

Roadmap — Homelab#

Home: Project Index | Vault: Homelab | Plan: Lenovo ThinkStation P520 Homelab Plan

Total remaining effort: ~40–65 hours (recounted 2026-09-10 after the Phase 7–9 audit; the old ~30–50h figure predated the class-VM, dashboard and reliability work)


Phase 1: GPU + AI VM ✅ COMPLETE#

Effort: ~8–12 hours | Status: Done 2026-06-22

  • Physically install RTX 3060 12GB in P520 ^task-roadmap-homelab-27
  • Verify power, clearance, cooling ^task-roadmap-homelab-28
  • Check IOMMU groups + enable IOMMU in GRUB ^task-roadmap-homelab-29
  • Create ai-vm (Debian 12, 4 vCPU, 16GB RAM) ^task-roadmap-homelab-30
  • Pass through RTX 3060 (GPU + audio) ^task-roadmap-homelab-31
  • Install NVIDIA drivers + verify with nvidia-smi ^task-roadmap-homelab-32

Phase 2: AI Stack (🟢 CORE DONE 2026-09-16 — RAG pipeline test + 30B gate still open)#

Effort: ~6–10 hours | Priority: High (unlocks RAG assistant)

In ai-vm:

  • Install Ollama — done 2026-09-16 (0.34.1) ^task-roadmap-homelab-40
  • Pull first model — done 2026-09-16 (qwen2.5:7b-instruct, 4.7 GB; 67 tok/s on the 3060) ^task-roadmap-homelab-41
  • Install ChromaDB — done 2026-09-16 (1.5.9, chroma.service, :8000) ^task-roadmap-homelab-42
  • Choose + pull embedding model — done 2026-09-16 (nomic-embed-text) ^task-roadmap-homelab-43
  • Test inference end-to-end — done 2026-09-16 (51-token gen at 67.3 tok/s, GPU 85% util / 4.6 GB VRAM) ^task-roadmap-homelab-44
  • Configure Hermes to use local Ollama endpoint — done 2026-09-16 (named custom provider custom:p520 → http://10.0.0.53:11434/v1 in ~/.hermes/config.yaml, resolves correctly). Caveat: qwen2.5:7b's 32k context is below Hermes's 64k agent minimum, so local models serve RAG/direct API use; a ≥64k-context local model would be needed to run as a Hermes agent model. ^task-roadmap-homelab-45
  • Test RAG query pipeline — 2–4h ^task-roadmap-homelab-46
  • 30B-class model test (gates the GPU upgrade) — pull a 30B MoE (e.g. Qwen3-30B-A3B Q4, ~18 GB) into ai-vm and measure real tok/s with partial CPU spill on the single 3060. The answer decides whether the 24 GB tier is worth buying at all. Added 2026-09-10 — see P520 Second GPU decision. — 1–2h ^task-roadmap-homelab-114

Depends on: Phase 1 complete ✅


Phase 3: Storage & NAS (✅ COMPLETE 2026-09-17 — share live, credential set, tank 5-wide)#

Effort: ~4–6 hours | Priority: Medium (can start now)

Plan update (2026-08-10): Waiting on a 3D-printed drive mount part from a friend… Resolved 2026-09-16 — the drives went in with the proper Lenovo bracket kit; tank is now 5 x 4TB RAIDZ1. No printed part was needed.

Live task: Tracked on Google Tasks as "Setup NAS Functionality" (Hardware list, due Sun Sep 13 as of 2026-09-10) — this phase owns it. Decision (2026-08-13): stay on Proxmox ZFS, no Unraid — existing 3x4TB raidz1 tank already provides 1-drive redundancy; expand 3→5 via OpenZFS raidz expansion (PVE 9.2.3 ships OpenZFS 2.3). Samba LXC per plan below.

Architecture settled (2026-09-11): this is a single dynamic SMB share topology, not iSCSI — see Key Decisions. The 4 TB SATA SSD carries the VM pool and the Samba-shared games dataset; the 5 x 4TB RAIDZ1 carries bulk + VM backups. Both prerequisites resolved 2026-09-16: the 2.5GbE NIC links at 2500 Mb/s (^task-roadmap-homelab-91) and the two Creekwood drives are installed + pooled (tank now 5-wide) — the 1GbE cap is gone.

  • Create ZFS datasets: tank/shared, tank/media, tank/photos, tank/backups — done 2026-09-16 (all four created on the recreated pool; tank/backups holds the nightly dumps). ^task-roadmap-homelab-55
  • Create Debian Samba LXC — done 2026-09-16: CT 100 nas on ssd (2 vCPU / 1 GB / 8 GB rootfs, unprivileged), Debian 13, Samba 4.22.11, nesting=1 (systemd 257 in an unprivileged CT fails tmp.mount/run-lock.mount/dev-mqueue.mount without it), LAN IP 10.0.0.220 (DHCP — add a router reservation if the IP should be stable), onboot=1. ^task-roadmap-homelab-56
  • Bind-mount datasets into Samba LXC — done 2026-09-16: mp0 /tank/shared→/srv/shared, mp1 /tank/media→/srv/media, mp2 /tank/photos→/srv/photos, mp3 /tank/backups→/srv/backups (read-only share), mp4 /ssd/games→/srv/games. Ownership must be set on the host with the mapped IDs (chown 101000:101000, i.e. CT uid 1000 + 100000) — an unprivileged CT cannot chown its own bind mounts. Verified with a real write as ayush through the mount appearing on the ZFS dataset. ^task-roadmap-homelab-57
  • Expose SMB share to LAN — ✅ DONE (verified 2026-09-17). smbd active on 445/139, shares [shared] [media] [photos] [games] [backups] with valid users = ayush, SMB2+ only, map to guest = never; Samba password set 2026-09-17 08:33:20 UTC (pdbedit -L -v ayush) and smbstatus shows a live SMB3.11 session from docker-vm (10.0.0.54) — i.e. the share is authenticating and in daily use by the stack's CIFS mounts. Clients mount smb://10.0.0.220/games. ^task-roadmap-homelab-58
  • ✅ Time Machine share — server side done 2026-09-18 (Mac client step pending). New dataset tank/timemachine (quota 2 TiB), hot-added into CT 100 as mp5 → /srv/timemachine (live pct set on the running container — no restart, live SMB sessions untouched), served as Samba [timemachine] (vfs objects = fruit streams_xattr, fruit:time machine = yes; fruit:aapl = yes now in [global] with fruit on every share). Client flow: Finder → Connect smb://100.65.160.86/timemachine → System Settings → Time Machine → Add Backup Disk. Modern macOS rejects hand-made sparsebundles — it creates its own over SMB (Ayumacmini.sparsebundle).
  • Map network drive from Creekwood — blocked: Creekwood offline, no reply on 10.0.0.125 (checked 2026-09-17) Resolved 2026-09-21: Creekwood online; drives mapped (\\10.0.0.220\shared, then the new \\10.0.0.220\PC share) and in real production use — a 2.65 TB copy to the NAS completed 2026-09-21 (2.66 TiB / 168,060 files, done ~10:36 AM). — done ^task-roadmap-homelab-59
  • Record exact Proxmox storage ID — done 2026-09-17 (/etc/pve/storage.cfg): local = dir /var/lib/vz (vztmpl/import/backup/iso) · tank = zfspool (rootdir,images) · ssd = zfspool (images,rootdir) · tank-backups = dir /tank/backups (content backup — the nightly dumps). ^task-roadmap-homelab-60
  • Add ZFS snapshots for important datasets — ✅ DONE 2026-09-21 via sanoid (policy + gotchas in the bullet above; task was ^task-roadmap-homelab-61). Was: the host held exactly ONE snapshot and there was no policy anywhere, so an accidental delete in any share was unrecoverable — the 2.66 TiB that landed in tank/PC on 2026-09-21 had no coverage and the nightly vzdump protects guests only. Now every share dataset has hourly-to-monthly retention, verified by a real take pass, a prune test, and an idempotence re-run.
  • Create the games pool + dataset on the 4 TB SATA SSD and share it via Samba — ✅ done (verified 2026-09-17), as ssd/games on the existing single-disk ssd pool (no separate fast pool — the SSD already carries the VM zvols, matching the Key Decision). Live as CT 100 mp4: /ssd/games → /srv/games and shared as Samba [games] (empty so far — nothing copied in yet). ^task-roadmap-homelab-123
  • Verify the 2.5GbE NIC before promising games over the network — end-to-end path (switch placement, Creekwood's NIC) unverified Verified 2026-09-21: the path is 1G end-to-end. Switch + both server legs are multi-gig (P520 nic0 2500 Mb/s), but Creekwood's NIC is 1 Gbps and caps Creekwood↔tank at ~95–101 MB/s (measured live during a 2.65 TB copy — far beyond the "40 GB copy" ask; rate = server-side zfs delta). Back-catalogue-over-NAS is viable at ~100 MB/s; a ~$25 2.5G NIC on Creekwood is the ~2× upgrade. — done ^task-roadmap-homelab-124

*The arr stack (Prowlarr / qBittorrent / Sonarr / Radarr / automation wiring) is tracked under Phase 4 with docker-vm, which is where those containers run — it was duplicated here until 2026-09-10.

✅ Startable now (2026-09-16): the P520 is up and reachable (LAN + tailnet) and both external prerequisites have landed — nothing blocks this phase.


Phase 4: Docker Services (✅ BUILT 2026-09-17 — docker-vm 202 + 21 services live)#

Effort: ~10–15 hours | Priority: Medium

Create docker-vm:

  • Create docker-vm on SATA thin pool (4 vCPU, 8-16 GB RAM) — done 2026-09-17: VM 202, Debian 13, 4 vCPU / 12 GB / 64 GB, static 10.0.0.54, onboot=1 ^task-roadmap-homelab-71
  • Install QEMU Guest Agent, Docker, Docker Compose — done 2026-09-17 (Docker 29.8.1 + Compose v5.5.1; qemu-agent pinned) ^task-roadmap-homelab-72

Deploy services:

  • Jellyfin (media server) — done 2026-09-17 (NVENC on the 3060; 3 libraries on tank) ^task-roadmap-homelab-75
  • Prowlarr (indexer manager) — done 2026-09-17 ^task-roadmap-homelab-108
  • qBittorrent (torrent client; bind to VPN/kill-switch) — done 2026-09-17 (gluetun + PIA Vancouver; port 20091 forwarded + wired) ^task-roadmap-homelab-109
  • Sonarr (TV) + Radarr (movies) — done 2026-09-17 ^task-roadmap-homelab-110
  • Wire automation: Prowlarr → Sonarr/Radarr → qBittorrent → Jellyfin library — done 2026-09-17 (end-to-end, incl. Jellyseerr request UI) ^task-roadmap-homelab-111
  • Pi-hole (DNS, dedicated LXC) — done 2026-09-17 (CT 101; blocking verified; LAN DNS flip is a gateway cleanup item) ^task-roadmap-homelab-76
  • Homarr (dashboard) — superseded 2026-09-10 by the custom page in Phase 7 (^task-roadmap-homelab-115), which fills the same role without a second thing to maintain — closed, not accomplished. Kept for provenance. ^task-roadmap-homelab-77
  • Uptime Kuma (monitoring) — done 2026-09-17 (21 monitors, seeded via API) ^task-roadmap-homelab-78
  • Scrutiny (drive health) — done 2026-09-17 (web :8082 + P520 collector v0.8.2, 7 devices) ^task-roadmap-homelab-79
  • Configure Jellyfin HW transcoding with RTX 3060 — done 2026-09-17 (NVENC; gpu-mode media|ai switches the card) ^task-roadmap-homelab-80

Depends on: Phase 3 for media/config paths


Phase 5: Stabilize (⚪ Backlog)#

Effort: ~4–6 hours | Priority: Medium

  • Nightly guest backups — ✅ LOCAL JOB LIVE 2026-09-16 (off-machine copy + restore test still open). PVE backup job 0894f1e5-a2fa-40b3-8524-303232f9f239: all guests, 03:30 daily, snapshot mode, zstd, tank-backups, retention keep-daily=7/keep-weekly=4/keep-monthly=3. Requires the dir: tank-backups storage (/tank/backups) because the tank zfspool does not accept backup content. Verified with a real run: 8.0 GB .vma.zst for ai-vm in 1m06s, listed by pvesm list tank-backups. Host config snapshots land in tank/backups/host-config via /usr/local/bin/pve-config-backup.sh (weekly, Sun 04:30, newest 8 kept — /etc/pve + network/boot config + pool topology and guest-config dumps). Still open: an off-machine copy (every backup currently lives on the same pool as the data it protects) and a real restore test. — 2h (remaining ~1h) ^task-roadmap-homelab-89
    • Add a restore test to this task — an unrestored backup is a hypothesis. Also back up the host config itself (/etc/pve, VM/LXC definitions) so a reinstall is not a hand-rebuild. (Restore verification is tracked in Phase 9.)
    • Audit 2026-09-17 — the off-machine copy does NOT exist, and the NAS share is not one: CT 100's [backups] share is mp3: /tank/backups → /srv/backups — the same dataset seen through Samba, i.e. the same physical pool as the data it protects. A real off-machine copy needs a different box (Mac mini / Creekwood / offsite). Host-config snapshots do exist: /tank/backups/host-config/pve-config-20260916-1502.tar.gz + host-state-20260916-1502.txt (weekly, Sun 04:30, newest 8 kept).
  • UPS integration — UPS acquired 2026-09-24 (picked up; unit/model to confirm). No longer gated on a purchase — now active Phase 5 work. — 1h ^task-roadmap-homelab-90
  • 2.5GbE NIC upgrade — 🟢 CARD INSTALLED & LINKED AT 2500 Mb/s (2026-09-16); remaining: same-switch placement + a real transfer test (done 2026-09-21 — a 2.65 TB copy measured ~95–101 MB/s; the cap is Creekwood's 1 Gbps NIC, not the P520). The card (Realtek RTL8125, r8169) is physically seated and is the active management NIC (nic0, MAC 14:5d:34:c1:04:78, negotiating 2500 Mb/s); the onboard Intel I219-LM is now nic1 (down/unused). Remaining: verify Creekwood sits on the same 2.5G switch (only matters once its NIC is upgraded) — the re-measure is done (2.65 TB @ 100 MB/s, NIC-limited). Sized against the ZFS pool (300 MB/s on spinning raidz1 vs ~118 MB/s on 1GbE — the host-leg cap is gone). Gates the games-over-NAS plan (^task-roadmap-homelab-124). — 1h (remaining) ^task-roadmap-homelab-91
    • Which card: an Intel I225/I226 is the low-drama pick on Proxmox (in-tree igc driver, low CPU overhead). A Realtek RTL8125 also works on current kernels (r8169) — if that is what arrived, no action needed, just expect slightly higher CPU cost at 2.5G.
  • Tailscale on the P520 host — ✅ DONE 2026-09-16: pve-p520 = 100.127.82.2. Authed same night; direct path (~4 ms, not relayed); Proxmox UI https://100.127.82.2:8006 answers 200; SSH over the tailnet works with key auth (Tailscale SSH turned OFF on the host — the tailnet ACL's check-mode prompt hangs plain non-interactive SSH; plain sshd + keys is the automation-friendly path). (SER8 omarchy and Creekwood were already on the tailnet; the P520 was the last machine.) Unblocks the Phase 7 collection path (^task-roadmap-homelab-118). — done ^task-roadmap-homelab-92
    • Install on the P520, single tailnet, ssh user@<tailscale-ip> from anywhere
    • Access the Proxmox web UI, Jellyfin, etc. without opening firewall ports
    • Also consider advertising the 10.0.0.0/24 subnet from the SER8 so the Mac mini — which has no route to 10.0.0.x — can reach the P520 directly. Superseded 2026-09-16: the Mac mini does have a route to 10.0.0.x (its Nest uplink sits on that subnet; direct ssh root@10.0.0.236 confirmed). No jump host needed; subnet advertising stays an option only if other tailnet devices need 10.0.0.x reach.

Phase 6: Expansion (✅ BUILT 2026-09-17)#

Effort: ~8–12 hours | Priority: Low

  • Minecraft LXC/VM — done 2026-09-17 (CT 102, Paper 26.3 + Java 25); playable + whitelisted 2026-09-19 (Ayumadbro123, motd set, join path verified) ^task-roadmap-homelab-103
  • Audiobookshelf, Navidrome, Jellyseerr, Calibre-Web — done 2026-09-17 ^task-roadmap-homelab-104
  • Syncthing, Immich, Paperless-ngx — done 2026-09-17 ^task-roadmap-homelab-105
  • Forgejo/Gitea, Code Server, Grafana + Prometheus — done 2026-09-17 (Forgejo :3005 hosting /opt/docker; Grafana + Prometheus live) ^task-roadmap-homelab-106
  • Home Assistant, Mosquitto, Node-RED — done 2026-09-17 (HA owner created, MQTT loop proven; Hue pairing = link-button cleanup item) ^task-roadmap-homelab-107

Phase 7: Dashboard & Wallboard (🟢 BUILT 2026-09-17 — page live at ayumad.me/dashboard/homelab; only the wallboard kiosk remains)#

Effort: ~4–6 hours (+4–8h if Grafana is ever built) | Priority: Medium — starts the moment the P520 is reachable and logged in

Plan and reasoning: Dashboard & Wallboard decision (2026-09-10).

Already built, reuse it (verified 2026-09-10): ayumad.me/dashboard is live with exactly the pattern this phase copies — a live source (https://ayumacmini.taila4a4a9.ts.net/dashboard.json, served by dashboard_serve.py on :8790 behind tailscale serve, rewritten every 5 minutes by dashboard_live_refresh.sh, CORS + Private-Network headers set) plus a committed snapshot fallback (dashboard_refresh.sh, every 360m, commits only on meaningful change because Vercel Hobby caps at 100 deploys/day), and a ● live / ● snapshot badge so a stale snapshot can never pass as live. dashboard_build.py now emits hermes, homelab, projects, tasks, school, fleet, journal, now — so both sources carry the homelab state with no second data path. ✅ Built 2026-09-17: public/dashboard/homelab.html is live at /dashboard/homelab (linked from /dashboard, listed in public/sitemap.xml); section_homelab() reads the P520 + docker-vm + the NAS live in ~4 s (host/guests/ZFS pools + datasets/backups/GPU/33 service probes/media pipeline/tailnet reachability) and every subsection degrades on its own. The badge reads ● snapshot until Tailscale Serve is restored on :8790.

  • Add a homelab section to ~/.hermes/scripts/dashboard_build.py — done 2026-09-17. section_homelab() (guard(..., budget=110) + per-subsection try/except): P520 host state, guests, ZFS pools + datasets + snapshots, backup freshness, GPU owner/temp/util, 33 concurrent service probes, media pipeline, NAS/tailnet reachability. ~4 s, zero tokens; surfaced 6 honest open items (never-scrubbed pools, no snapshot policy, backups single-machine, openipmi.service failed). ^task-roadmap-homelab-116
  • Build public/dashboard/homelab.html — done 2026-09-17, live. Two-source logic + ● live/● snapshot badge copied from /dashboard, service grid grouped by role with latency/HTTP codes linking over the tailnet, honest P520 — unreachable and no data states, degraded-source list in the footer, links back to /dashboard. Verified by rendering the live URL in a browser, not by status code. ^task-roadmap-homelab-117
  • Establish the collection path — ✅ PROVEN (verified 2026-09-17). Tailscale landed on the P520 2026-09-16 (^task-roadmap-homelab-92) and the Mac mini does reach it directly (ssh root@10.0.0.236 works — the Mac's Nest uplink sits on 10.0.0.x). Already exercised in production: the 30-minute watchdog pulls /usr/local/bin/homelab-status.sh over SSH from the Mac every cycle. ^task-roadmap-homelab-118
  • PM161Q wallboard kiosk — run the browser in the VM that owns the display: ai-vm holds the passthrough RTX 3060, and a passthrough GPU drives the physical output from inside the guest (the Xeon W-2135 has no iGPU, so the host cannot drive it). Alternative: pass the Quadro K620 to a small UI VM — if it is still installed; its disposition is unconfirmed (open item on the P520 product note). Point it at a local URL (http://localhost:PORT), never the Vercel page, so the wallboard survives an internet outage. 1–2h ^task-roadmap-homelab-119
  • Grafana + Prometheus — conditional, on its own trigger. Build it only when metric history is genuinely wanted (GPU temp across days, ZFS capacity growth, transcodes/hour) or real alert rules are needed; for current state the snapshot JSON already covers it. When built, embed its kiosk-mode panels into the custom page rather than standing up a second front door. Not a second checkbox — the task lives at ^task-roadmap-homelab-106 (Phase 6). 4–8h

Supersedes: ^task-roadmap-homelab-77 (Homarr) was this roadmap's original answer to "dashboard". The custom page covers that role, so Homarr is redundant unless the custom page is abandoned — keeping it or dropping it is an open call.

Was blocked on: P520 reachable + logged in — ✅ resolved 2026-09-16 (clean reinstall; ^task-roadmap-homelab-112, ^task-roadmap-homelab-120). Nothing blocks this phase now.

Phase 8: Class & GUI VMs — RDP over Tailscale (🟡 NEXT — unblocked 2026-09-16; school-vm 201 already exists)#

Effort: ~3–4 hours | Priority: High for Fall 2026 coursework — this is the phase the semester actually needs

Promoted 2026-09-10 from the already-written plan in P520 GPU Passthrough Runbook §9 (drafted 2026-09-05) — it had detail but no checkboxes in this roadmap, so it could not be tracked or counted.

Goal: always-on GUI VMs (Ubuntu 26.04 + Fedora 44) on the P520, RDP-accessible from any owned machine over Tailscale — near-native feel for class coursework. Headroom is already confirmed: 64 GB ECC fits ai-vm (16 GB) + 2 × 6–8 GB class VMs comfortably (runbook §9.1), so this is not blocked on a RAM check. Constraint: the RTX 3060 stays exclusively with ai-vm; vGPU splitting is out of scope. GUI VMs use virtio-gpu (VirGL), which is fine for GNOME + browser + terminal work.

  • Create the two class VMs (Ubuntu 26.04 + Fedora 44) with cloud-init/template reuse — 1h ^task-roadmap-homelab-121
  • gnome-remote-desktop (headless) in each VM — native Wayland RDP with H.264 encoding (fallbacks: Xorg + xrdp; Fedora KDE → KRDP) — 1h ^task-roadmap-homelab-122
  • Tailscale inside both VMs, ACLs scoped to Ayush's devices; RDP to 100.x.x.x:3389 from macOS (Microsoft Remote Desktop), Windows (mstsc), Linux (Remmina), iPad — 0.5h ^task-roadmap-homelab-123
  • Validate: LAN test from the Mac mini first, then a campus Tailscale test doing real class work (IDE + browser + terminal), not a ping — 1h ^task-roadmap-homelab-130

Was blocked on: P520 reachable + root creds — ✅ both resolved 2026-09-16. Current state (verified 2026-09-17): school-vm (VM 201) exists — 4 vCPU / 6 GB / 40 GB on ssd, l26, DNS 75.75.75.75, on-demand (onboot=0). Still missing for this phase: a Fedora VM, gnome-remote-desktop/RDP inside them, Tailscale inside them, and the real-work validation.


Phase 9: Reliability, Alerting & Recovery (⚪ Backlog — highest value per hour)#

Effort: ~4–5 hours | Priority: Medium-high — the plan currently has backups but no verification, no patching, and nothing that wakes Ayush up

Audit note (2026-09-10): the roadmap could survive disk failure and restored data, and Phase 7 adds a dashboard — but the dashboard is glanceable, not alerting. Nothing in this project currently reports a DEGRADED pool, a failing drive, a failed backup job, or a box that silently vanished. That gap is what this phase closes.

  • Wire homelab monitoring to somewhere that gets read — ✅ DONE 2026-09-16 (iMessage/Photon live). Cron job bd99b6879473 "Homelab Health Monitor", every 30m, no_agent, zero tokens → ~/.hermes/scripts/homelab-monitor.sh, delivering via all (resolves to the live channel at fire time; Photon/iMessage is the live channel — verified connected 2026-09-16 and a test send succeeded). Watches: P520 SSH reachability (with tailnet state for context), both ZFS pools ONLINE + capacity, zpool status -x, SMART (hourly-cached sweep; smartd remains the continuous watchdog), failed systemd units, guest-backup freshness (alerts if the newest dump is older than 30h or absent), host-config snapshot presence, the 2.5GbE link speed (regression guard), ai-vm (Ollama + ChromaDB active, GPU passthrough via nvidia-smi, GPU temp 80/85 °C, disk), and Omarchy. Data comes from three read-only collectors — /usr/local/bin/homelab-status.sh (P520), ~/.local/bin/aivm-status.sh (ai-vm), ~/.local/bin/omarchy-status.sh (Omarchy) — which the Phase 7 dashboard reuses. Contract: stdout = alert text, empty stdout = healthy, exit 0 always (a non-zero exit is reported as a crashed watchdog), with signature dedup so a standing issue does not re-alert. Replaces the retired omarchy-monitor.sh (whose exit-1/exit-2 contract was itself the reason it errored on every run). Updated 2026-09-17: a stopped ai-vm is a valid state (the VM is on-demand) — its checks are skipped when it is intentionally off; only running-but-unhealthy or unexpected states alert. — 1h ^task-roadmap-homelab-125
  • Security patching policy — unattended-upgrades on the host, LXCs and class VMs, plus a documented reboot window for kernel updates (an always-on box that never reboots stops being patched). Partial (verified 2026-09-17): docker-vm HAS unattended-upgrades active ✅; the P520 host does NOT have the package (only the bare apt-daily-upgrade.timer); LXCs/class VMs unverified. — 1h ^task-roadmap-homelab-126
  • ZFS + drive health cadence — explicit monthly scrub schedule (do not rely on the default), weekly pool health summary into the dashboard, and smartd on the host covering the three HDDs (Scrutiny in Phase 4 is the UI, not the watchdog). Verified 2026-09-17: smartd IS active on the host ✅, but there is NO ZFS scrub timer and tank has never been scrubbed (zpool status tank → no scan history; systemctl list-timers lists only xfs_scrub_all/e2scrub_all). Also: it is 5 HDDs now, not three. Snapshots are now handled — sanoid policy live 2026-09-21 (^task-roadmap-homelab-61); the scrub cadence and the dashboard health summary remain open. — 1h ^task-roadmap-homelab-127
  • Prove the backups — ✅ RESTORE DRILL DONE 2026-09-17: CT 100 nas restored from /tank/backups/dump/vzdump-lxc-100-2026_09_17-03_30_03.tar.zst into scratch VMID 299 (networking removed so nothing could clash): archive integrity ok, restore 11 s, smbd active after 91 s, all five shares (shared/media/photos/games/backups) present with real data, scratch then destroyed, live guests untouched. First attempt (CT 101) surfaced a useful fact: that dump predates the Pi-hole install by 5 min, so young snapshots are not service-complete — still open: the off-machine copy (Mac mini has 28 GB free vs ~27 GB/night → needs B2/R2 ~$2/mo or a drive). Also snapshot the host config (/etc/pve, VM/LXC definitions, ZFS dataset layout) so a reinstall is a restore rather than a rebuild — directly relevant given the current root-creds reinstall. — 1h ^task-roadmap-homelab-128
  • Survive power loss + remote power-on — 🟡 WOL enabled OS-side 2026-09-16 (ethtool -s nic0 wol g + wol.service on the RTL8125; P520 wake MAC = 14:5d:34:c1:04:78). Remaining: BIOS "restore on AC power loss" + WOL enablement in BIOS (verify on next physical access, then test a real wake). Re-verified 2026-09-17: nic0 reports Wake-on: g (and Supports Wake-on: pumbg), so the OS side is still good. — 0.25h (remaining) ^task-roadmap-homelab-129
  • Optional, not a checkbox: EDAC / ECC error counters belong inside the alerting task above — he runs ECC RAM and nothing currently watches correctable errors.

New gaps found by the 2026-09-17 status audit (every line verified against the live box)

  • Home Assistant has NO MQTT integration — core.config_entries holds only analytics / backup / cast / sun / zeroconf. Mosquitto and Node-RED talk to each other, but HA currently sees no MQTT entity. Fix: HA → Settings → Devices & Services → Add Integration → MQTT → mosquitto:1883. ~15 min
  • ✅ Minecraft fixed 2026-09-19 — it was locked to everyone (white-list=true + empty whitelist.json); now white-list=true with Ayumadbro123 whitelisted and opped, a real motd, clean restarts and a proven join path. Paper is current (build 26, updated 2026-09-20); the server stays LAN-only, with public access (port forward or playit.gg) still an open decision.
  • Pi-hole serves no real client yet — its own log shows only 127.0.0.1 and the P520 host (10.0.0.236); the Mac resolves via 192.168.86.1 (Nest router) and school-vm via 75.75.75.75. The "LAN DNS flip" therefore has a scoping question first: the homelab lives on 10.0.0.x while the Mac sits on 192.168.86.x (its default gateway and DNS is the Nest router, which itself uplinks on 10.0.0.x). Whoever hands out DHCP for each subnet has to be changed, or the Mac keeps bypassing Pi-hole.
  • No ZFS scrub has ever run on tank/ssd (folded into ^task-roadmap-homelab-127).
  • ✅ Creekwood resolved (2026-09-21) — online since 09-18; network drives mapped and carrying real traffic (2.65 TB copy). Its NIC measured 1 Gbps — the last 1G hop in the tank path (see link-speed note above). ^task-roadmap-homelab-59 + ^task-roadmap-homelab-124 both closed.
  • ECC is clean (bonus info): mc0/mc1 correctable-error counts are both 0, and nothing alerts on them yet.
  • ✅ Media-mount health is now watched (2026-09-17) — /usr/local/bin/media-mount-check.sh on docker-vm counts unreadable files in the host and every container, and the 30-min homelab-monitor.sh auto-restarts stale containers while alerting (no restart) on NAS-side faults. The fstab idle-timeout was dropped in the same pass. No open work here.

Key Decisions Made#

Decision Date Rationale
Proxmox as hypervisor 2026-06-22 Already installed, ZFS native
RTX 3060 12GB for AI 2026-06-22 12GB fits 7B–14B models at Q4
RTX 2060 removed, planned for sale 2026-06-22 Replaced by 3060
ai-vm for AI workloads 2026-06-22 Isolation from Proxmox host
docker-vm for services 2026-06-22 Separation of concerns
Ollama + ChromaDB stack 2026-06-22 Simplicity, zero infrastructure
From my vault

02 Projects/Homelab