summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-12-26 18:09:22 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-12-26 18:09:22 +0100
commit70b7a9d0d458d5b6307e63b0eb53c514f68a083a (patch)
tree2b4389cb83fe73905fd66bc98bc34d04d39a3587
parentadd host specific for ch-phoebe (diff)
ch-phoebe: configure zfs pool
-rw-r--r--chaos-at-home/ch-phoebe.yml4
-rw-r--r--inventory/group_vars/vmhost-ch-phoebe/vars.yml2
-rw-r--r--inventory/host_vars/ch-phoebe.yml14
3 files changed, 10 insertions, 10 deletions
diff --git a/chaos-at-home/ch-phoebe.yml b/chaos-at-home/ch-phoebe.yml
index 8b2dc7b3..f31a65fa 100644
--- a/chaos-at-home/ch-phoebe.yml
+++ b/chaos-at-home/ch-phoebe.yml
@@ -8,8 +8,8 @@
- role: core/zsh
- role: core/ntp
- role: core/cpu-microcode
- # - role: storage/zfs/pools
- # - role: storage/zfs/sanoid
+ - role: storage/zfs/pools
+ - role: storage/zfs/sanoid
# - role: vm/host/base
# - role: vm/host/network
# - role: installer/debian/base
diff --git a/inventory/group_vars/vmhost-ch-phoebe/vars.yml b/inventory/group_vars/vmhost-ch-phoebe/vars.yml
index 0489ef27..8b1d9d1d 100644
--- a/inventory/group_vars/vmhost-ch-phoebe/vars.yml
+++ b/inventory/group_vars/vmhost-ch-phoebe/vars.yml
@@ -28,7 +28,7 @@ vm_host:
bridges: "{{ __vmhost_bridge_interface_zones_yaml__ | from_yaml }}"
zfs:
default:
- pool: storage
+ pool: nvme
name: vm
properties:
compression: lz4
diff --git a/inventory/host_vars/ch-phoebe.yml b/inventory/host_vars/ch-phoebe.yml
index a99ff9bf..e87b1a42 100644
--- a/inventory/host_vars/ch-phoebe.yml
+++ b/inventory/host_vars/ch-phoebe.yml
@@ -24,7 +24,7 @@ network:
apt_repo_components:
- main
- - contrib
+ - contrib ## for zfs
- non-free ## for microcode updates
@@ -37,16 +37,16 @@ installer_storage:
zfs_arc_size:
- min: 2GB
- max: 24GB
+ min: 512MB
+ max: 2GB
zfs_pools:
- storage:
- mountpoint: /srv/storage
- create_vdevs: mirror /dev/mapper/crypto-sata0 /dev/mapper/crypto-sata1 /dev/mapper/crypto-sata2
+ nvme:
+ mountpoint: /srv/nvme
+ create_vdevs: /dev/disk/by-id/nvme-KIOXIA-EXCERIA_SSD_31MA10GJK2N2-part3
zfs_sanoid_modules:
- storage/vm:
+ nvme/vm:
use_template: production
recursive: yes
process_children_only: yes