infrastructure/ansible/roles/zfs/defaults/main.yml
Jake Howard f2290aafa6
Reduce usage and reliance on downsampled snapshots
Keep more at a lower resolution, as really those are the most useful
2022-05-17 18:09:03 +01:00

32 lines
544 B
YAML

# Cap ARC size to 50% RAM
zfs_arc_size: "{{ (ansible_memtotal_mb * 1024 * 1024) * 0.5 }}"
sanoid_datasets:
tank:
use_template: production
recursive: true
process_children_only: true
tank/downloads:
use_template: replaceable
recursive: true
sanoid_templates:
production:
frequently: 0
hourly: 48
daily: 28
monthly: 3
yearly: 0
autosnap: true
autoprune: true
replaceable:
frequently: 0
hourly: 24
daily: 7
monthly: 0
yearly: 0
autosnap: true
autoprune: true