s3fs: allow turning the mounts off, off on asxpio-ops

On the 38 GB ops disk the s3fs cache reserve (ensure_diskfree) never
fit, so all three mounts failed at every boot since 2026-09-22. Backups
now go to Hetzner S3 with rclone instead.

Add s3fs_enabled (default true); when false the role unmounts the
buckets and drops their fstab entries, keeping the credentials file
that the rclone wrapper reads.

Assisted-by: Claude:opus-5
This commit is contained in:
Sergei Poljanski 2026-10-12 05:03:11 +04:00
commit 66ab6d8db3
3 changed files with 83 additions and 52 deletions

View file

@ -6,4 +6,7 @@
ssh_allow_public_git: true
ssh_git_user: git
# Off: the cache reserve never fit the 38 GB disk, so the mounts failed at
# every boot. Backups go to Hetzner S3 with rclone instead.
s3fs_enabled: false
s3fs_ensure_diskfree: 20000 # Total:40GB Keep:20GB free = ~15GB for Cache