mountain-of-faith: pin the USB drive by UUID
A reboot on 2026-08-09 re-enumerated the drive as /dev/sdb, so the
fstab entry stopped resolving and nightly restic backups to it failed
for five days.
Assisted-by: Claude Opus 5 via Claude Code
diff --git a/mountain-of-faith/main.yml b/mountain-of-faith/main.yml
index 081ff8f..5d96245 100644
--- a/mountain-of-faith/main.yml
+++ b/mountain-of-faith/main.yml
@@ -77,12 +77,13 @@
become: true
tasks:
- # Use `lsblk -f` to find the device
- - name: Mount /dev/sda to /mnt/mountain-of-faith
+ # Use `lsblk -f` to find the UUID
+ - name: Mount the USB drive to /mnt/mountain-of-faith
ansible.posix.mount:
path: /mnt/mountain-of-faith
- src: /dev/sda
+ src: UUID=337a82a2-0046-4cbf-93f3-8fc978c3e944
fstype: ext4
+ opts: defaults,nofail
state: mounted
- name: Set up Restic