infrastructure/ansible/host_vars/pve/main.yml
Jake Howard 41289ab359
Reduce ZFS memory usage to 5GB
That's still more than 1GB per usable TB of space. Should really be ample
2022-01-08 12:29:35 +00:00

46 lines
857 B
YAML

private_ip: "{{ pve_hosts.pve.ip }}"
zpools_to_scrub:
- tank
- rpool
# 5GB, or so
zfs_arc_size: 5000000000
sanoid_datasets:
tank:
use_template: production
recursive: true
process_children_only: true
rpool:
use_template: production
recursive: true
# Snapraid
snapraid_install: false
snapraid_runner: false
snapraid_data_disks:
- path: /mnt/bulk
content: true
snapraid_parity_disks:
- path: /mnt/parity
content: true
snapraid_content_files:
- /mnt/tank/files/snapraid.content
- /var/snapraid.content
snapraid_config_excludes:
- "*.unrecoverable"
- /lost+found/
- "*.!sync"
- /tmp/
snapraid_scrub_schedule:
hour: 5
weekday: 4
snapraid_scrub_healthcheck_io_uuid: "{{ vault_snapraid_scrub_healthcheck_io_uuid }}"
snapraid_sync_healthcheck_io_uuid: "{{ vault_snapraid_sync_healthcheck_io_uuid }}"