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:
parent
ad056c97dc
commit
66ab6d8db3
3 changed files with 83 additions and 52 deletions
|
|
@ -9,6 +9,10 @@ s3_region: "hel1"
|
|||
s3_access_key: ""
|
||||
s3_secret_key: ""
|
||||
|
||||
# false: no mounts. Unmounts and drops the fstab entries; the credentials
|
||||
# file stays (backups use it with rclone, /root/backups/rclone-hetzner.sh).
|
||||
s3fs_enabled: true
|
||||
|
||||
# S3 Buckets to mount (non-replication buckets only)
|
||||
s3_buckets:
|
||||
- name: asxpio-terraform-main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue