From 5cb0ab40707fad33970fc01c0831d87a566ecb4e Mon Sep 17 00:00:00 2001 From: mg Date: Sun, 9 May 2021 18:23:35 +0200 Subject: [PATCH] Test-Datasets (#87) Doku Bind-Mounts fileserver-test Datasets erstellt Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/87 Co-Authored-By: mg Co-Committed-By: mg --- group_vars/fileserver.yml | 11 ++++++++-- host_vars/pve2.grote.lan.yml | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/group_vars/fileserver.yml b/group_vars/fileserver.yml index 367491d0..671cc4d3 100644 --- a/group_vars/fileserver.yml +++ b/group_vars/fileserver.yml @@ -1,9 +1,16 @@ --- - # Bind Mounts + # Bind Mounts - fileserver # pct set 109 -mp0 /hdd_data_raidz/videos,mp=/shares_videos # pct set 109 -mp1 /hdd_data_raidz/data_crypt,mp=/shares - # pct set 109 -mp2 /hdd_data_raidz/pve_backup,mp=/shares_pve_backup + # pct set 109 -mp2 /hdd_data_raidz/vm_backup,mp=/shares_pve_backup # pct set 109 -mp3 /hdd_data_raidz/papa_backup,mp=/shares_papa_backup + # pct set 109 -mp4 /hdd_data_raidz/music,mp=/shares_music + # Bind Mounts - fileserver-test + # pct set 158 -mp0 /rpool/vm/dir/vm-158/videos,mp=/shares_videos + # pct set 158 -mp1 /rpool/vm/dir/vm-158/data,mp=/shares + # pct set 158 -mp2 /rpool/vm/dir/vm-158/proxmox,mp=/shares_pve_backup + # pct set 158 -mp3 /rpool/vm/dir/vm-158/papa,mp=/shares_papa_backup + # pct set 158 -mp4 /rpool/vm/dir/vm-158/music,mp=/shares_music ### geerlingguy.munin-node munin_node_remove_plugins: - name: sensors diff --git a/host_vars/pve2.grote.lan.yml b/host_vars/pve2.grote.lan.yml index b7892265..ae81f7c9 100644 --- a/host_vars/pve2.grote.lan.yml +++ b/host_vars/pve2.grote.lan.yml @@ -80,6 +80,46 @@ dnodesize: auto atime: on snapdir: visible + - dataset: rpool/vm/dir/vm-158/data + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: visible + - dataset: rpool/vm/dir/vm-158/papa + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: visible + - dataset: rpool/vm/dir/vm-158/proxmox + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: visible + - dataset: rpool/vm/dir/vm-158/videos + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: visible + - dataset: rpool/vm/dir/vm-158/music + state: present + compression: lz4 + sync: disabled + xattr: sa + dnodesize: auto + atime: on + snapdir: visible ### mgrote.apcupsd apcupsd_nis_master: true