diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-12-26 18:09:22 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-12-26 18:09:22 +0100 |
commit | 70b7a9d0d458d5b6307e63b0eb53c514f68a083a (patch) | |
tree | 2b4389cb83fe73905fd66bc98bc34d04d39a3587 /inventory | |
parent | add host specific for ch-phoebe (diff) |
ch-phoebe: configure zfs pool
Diffstat (limited to 'inventory')
-rw-r--r-- | inventory/group_vars/vmhost-ch-phoebe/vars.yml | 2 | ||||
-rw-r--r-- | inventory/host_vars/ch-phoebe.yml | 14 |
2 files changed, 8 insertions, 8 deletions
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 |