personal_infra/ansible/roles
counterweight 71dbfbe5ff
monero: find the chain disk by its label, and a blank one by Proxmox slot
After the chain disk moved to the SSD, a reboot on 2026-10-04 swapped sda and
sdb, and monero_data_device: /dev/sdb then named the ROOT disk. The root-disk
guard caught it, but a routine run should never have been reading a device
name at all.

Every run now looks for the filesystem labelled monero-data first. If it is
there, monero_data_device is never consulted and the mount goes by that
filesystem's UUID. Only a blank disk is found by name, and the name is now
/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1: Proxmox passes the slot
in as the serial, so it is fixed before boot and survives `qm disk move`.

The by-id path is resolved with readlink before the root-disk guard compares
it, since a symlink path is never a prefix of /dev/sdb1 and the guard would
otherwise always pass. The UUID assert now also fails on two disks carrying
the same label.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 17:30:57 +02:00
..
backup_source backups: monitor both the dump and the pull, per source 2026-09-14 09:22:12 +02:00
backup_store disk check: it never worked. Fix it, and the false DOWNs it hid behind 2026-09-15 20:42:59 +02:00
bitcoin_knots uptime kuma: remove every live reference, repoint the probes to Gatus 2026-09-14 10:30:28 +02:00
caddy_site ansible: delete the duplicated vars files, move globals to group_vars/all 2026-09-13 20:58:46 +02:00
datum_gateway uptime kuma: remove every live reference, repoint the probes to Gatus 2026-09-14 10:30:28 +02:00
forgejo_runner forgejo-runner: give CI jobs a Docker daemon of their own 2026-09-27 22:32:08 +02:00
fulcrum uptime kuma: remove every live reference, repoint the probes to Gatus 2026-09-14 10:30:28 +02:00
gatus gatus: show resolved values on successful conditions, ui as a pass-through 2026-09-14 22:14:44 +02:00
gatus_endpoint gatus: show resolved values on successful conditions, ui as a pass-through 2026-09-14 22:14:44 +02:00
healthcheck disk check: it never worked. Fix it, and the false DOWNs it hid behind 2026-09-15 20:42:59 +02:00
jar_lid_archive jar-lid-archive: a staging deployment on its own box 2026-10-03 23:56:30 +02:00
mempool uptime kuma: remove every live reference, repoint the probes to Gatus 2026-09-14 10:30:28 +02:00
monero monero: find the chain disk by its label, and a blank one by Proxmox slot 2026-10-17 17:30:57 +02:00
navidrome navidrome: a music server on its own box, with beets in front of it 2026-09-27 11:09:40 +02:00
phoenixd uptime kuma: remove every live reference, repoint the probes to Gatus 2026-09-14 10:30:28 +02:00
signal_api alerting: Signal via signal-cli-rest-api, and faster failure detection 2026-09-14 21:40:37 +02:00
socket_proxy bitcoin-knots, fulcrum, datum-gateway: add and use the socket_proxy role 2026-09-11 23:50:15 +02:00
xmrblocks monero: check the node once a day, not every five minutes 2026-09-27 11:08:36 +02:00