Snapshot PVE root pool too

This commit is contained in:
Jake Howard 2021-01-10 13:23:36 +00:00
parent 7672d99aa8
commit 969674772c
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 39 additions and 28 deletions

View file

@ -1,28 +0,0 @@
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: 28
daily: 14
monthly: 1
yearly: 0
autosnap: true
autoprune: true
replaceable:
frequently: 0
hourly: 6
daily: 2
monthly: 0
yearly: 0
autosnap: true
autoprune: true

View file

@ -6,3 +6,13 @@ zpools_to_scrub:
# 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

View file

@ -1,2 +1,31 @@
# 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: 28
daily: 14
monthly: 1
yearly: 0
autosnap: true
autoprune: true
replaceable:
frequently: 0
hourly: 6
daily: 2
monthly: 0
yearly: 0
autosnap: true
autoprune: true