Dataset Music (#83)

datasets in sanoid angepasst

templates angepasst

dataset music erstellt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#83
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
Michael Grote 2021-05-08 21:03:40 +02:00
parent 201e2be4ff
commit 16cb021ff5

View file

@ -64,6 +64,14 @@
dnodesize: auto
atime: on
snapdir: hidden
- dataset: hdd_data_raidz/music
state: present
compression: lz4
sync: disabled
xattr: sa
dnodesize: auto
atime: on
snapdir: hidden
- dataset: hdd_data_raidz/data_crypt
state: present
compression: lz4
@ -97,40 +105,44 @@
### mgrote.zfs_sanoid
sanoid_datasets:
- path: 'hdd_data_raidz/data_crypt'
template: 'fiveminutes'
template: '31tage'
recursive: 'no'
snapshots: true
- path: 'hdd_data_raidz/videos'
template: 'daily'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data_raidz/music'
template: '14tage_und_stuendlich'
recursive: 'yes'
snapshots: true
- path: 'hdd_data_raidz/papa_backup'
template: 'papa'
template: '14tage'
recursive: 'yes'
snapshots: true
- path: 'hdd_data_raidz/pve_backup'
snapshots: false # deaktiviert sanoid für das dataset
sanoid_templates:
- name: 'fiveminutes'
- name: '31tage'
keep_hourly: '24' # Aufheben (Stunde)
keep_daily: '31' # Aufheben (Tage)
keep_monthly: '3' # Aufheben (Monate)
keep_yearly: '0' # Aufheben (Jahre)
frequently: '36' # Aufheben (Minuten)
frequent_period: '5' # Intervall (alle 5 Minuten)
frequently: '16' # Aufheben (Minuten)
frequent_period: '15' # Intervall (alle 5 Minuten)
autosnap: 'yes' # Automatisches erstellen von Snapshots
autoprune: 'yes'
- name: 'daily'
- name: '14tage'
keep_hourly: '0'
keep_daily: '31'
keep_monthly: '3'
keep_daily: '14'
keep_monthly: '0'
keep_yearly: '0'
frequently: '0'
frequent_period: '0'
autosnap: 'yes'
autoprune: 'yes'
- name: 'papa'
keep_hourly: '0'
- name: '14tage_und_stuendlich'
keep_hourly: '24'
keep_daily: '14'
keep_monthly: '0'
keep_yearly: '0'