Snapshot PVE root pool too
This commit is contained in:
parent
7672d99aa8
commit
969674772c
3 changed files with 39 additions and 28 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue