vm-dataset auf rpool (#215)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#215 Co-authored-by: mg <mg@noreply.git.mgrote.net> Co-committed-by: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
854496d69e
commit
1c34fbc2ab
2 changed files with 31 additions and 8 deletions
|
@ -75,6 +75,12 @@
|
||||||
path: '/shares_restic'
|
path: '/shares_restic'
|
||||||
users_ro: ''
|
users_ro: ''
|
||||||
users_rw: 'annemariedroessler2 restic win10 michaelgrote'
|
users_rw: 'annemariedroessler2 restic win10 michaelgrote'
|
||||||
|
- name: 'vm'
|
||||||
|
path: '/shares_vm'
|
||||||
|
users_ro: ''
|
||||||
|
users_rw: 'michaelgrote'
|
||||||
|
|
||||||
|
|
||||||
smb_workgroup: WORKGROUP
|
smb_workgroup: WORKGROUP
|
||||||
smb_min_protocol: "SMB2"
|
smb_min_protocol: "SMB2"
|
||||||
smb_client_min_protocol: "SMB2"
|
smb_client_min_protocol: "SMB2"
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
zfs_datasets: # DatenPools werden hier nicht verwaltet
|
zfs_datasets: # DatenPools werden hier nicht verwaltet
|
||||||
- dataset: rpool/vm
|
- dataset: rpool/vm
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -22,7 +22,15 @@
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
- dataset: rpool/vm/dir/fileserver2_test
|
- dataset: rpool/vm/dir/fileserver2_test
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
|
sync: disabled
|
||||||
|
xattr: sa
|
||||||
|
dnodesize: auto
|
||||||
|
atime: on
|
||||||
|
snapdir: hidden
|
||||||
|
- dataset: rpool/ssd_share
|
||||||
|
state: present
|
||||||
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -30,7 +38,7 @@
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
- dataset: rpool/vm/dir
|
- dataset: rpool/vm/dir
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -38,7 +46,7 @@
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
- dataset: rpool/vm/zvol
|
- dataset: rpool/vm/zvol
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -46,7 +54,7 @@
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
- dataset: rpool/vm/qcow
|
- dataset: rpool/vm/qcow
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -71,7 +79,7 @@
|
||||||
recordsize: 1M
|
recordsize: 1M
|
||||||
- dataset: hdd_data_raidz/videos
|
- dataset: hdd_data_raidz/videos
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -80,7 +88,7 @@
|
||||||
recordsize: 1M
|
recordsize: 1M
|
||||||
- dataset: hdd_data_raidz/music
|
- dataset: hdd_data_raidz/music
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -88,7 +96,7 @@
|
||||||
snapdir: hidden
|
snapdir: hidden
|
||||||
- dataset: hdd_data_raidz/data_crypt
|
- dataset: hdd_data_raidz/data_crypt
|
||||||
state: present
|
state: present
|
||||||
compression: lz4
|
compression: zstd
|
||||||
sync: disabled
|
sync: disabled
|
||||||
xattr: sa
|
xattr: sa
|
||||||
dnodesize: auto
|
dnodesize: auto
|
||||||
|
@ -225,6 +233,11 @@
|
||||||
recursive: 'no'
|
recursive: 'no'
|
||||||
snapshots: true
|
snapshots: true
|
||||||
template: '3tage'
|
template: '3tage'
|
||||||
|
- path: rpool/ssd_share
|
||||||
|
recursive: 'no'
|
||||||
|
snapshots: true
|
||||||
|
template: '3tage'
|
||||||
|
|
||||||
sanoid_templates:
|
sanoid_templates:
|
||||||
- name: '31tage'
|
- name: '31tage'
|
||||||
keep_hourly: '24' # Aufheben (Stunde)
|
keep_hourly: '24' # Aufheben (Stunde)
|
||||||
|
@ -328,3 +341,7 @@
|
||||||
mp_nr: 12
|
mp_nr: 12
|
||||||
mp_path_host: /hdd_data_raidz/backup
|
mp_path_host: /hdd_data_raidz/backup
|
||||||
mp_path_guest: /shares_backup
|
mp_path_guest: /shares_backup
|
||||||
|
- vmid: 127
|
||||||
|
mp_nr: 13
|
||||||
|
mp_path_host: /rpool/ssd_share
|
||||||
|
mp_path_guest: /shares_vm
|
||||||
|
|
Loading…
Reference in a new issue