From 0b191c18f71c4b3ea4c7c24eb2004712bcc90743 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 28 Dec 2022 10:53:17 +0100 Subject: zpool autotrim --- inventory/host_vars/ch-apps.yml | 3 +++ inventory/host_vars/ch-atlas.yml | 3 +++ inventory/host_vars/ch-equinox-t450s.yml | 3 +++ inventory/host_vars/ch-phoebe.yml | 3 +++ inventory/host_vars/ch-prometheus.yml | 3 +++ inventory/host_vars/sk-2019.yml | 3 +++ inventory/host_vars/sk-2019vm.yml | 3 +++ inventory/host_vars/sk-tomnext-nc.yml | 3 +++ inventory/host_vars/sk-tomnext.yml | 3 +++ 9 files changed, 27 insertions(+) (limited to 'inventory/host_vars') diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml index 04ea9e0f..ed53fe38 100644 --- a/inventory/host_vars/ch-apps.yml +++ b/inventory/host_vars/ch-apps.yml @@ -73,6 +73,9 @@ zfs_pools: storage: mountpoint: /srv/storage create_vdevs: /dev/sdb + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: storage: diff --git a/inventory/host_vars/ch-atlas.yml b/inventory/host_vars/ch-atlas.yml index 6039f0d9..7b132e6d 100644 --- a/inventory/host_vars/ch-atlas.yml +++ b/inventory/host_vars/ch-atlas.yml @@ -55,6 +55,9 @@ zfs_pools: ssd: mountpoint: /srv/ssd create_vdevs: /dev/disk/by-id/ata-Samsung_SSD_840_PRO_Series_S1ATNSAD703481A-part2 + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: ssd/vm: diff --git a/inventory/host_vars/ch-equinox-t450s.yml b/inventory/host_vars/ch-equinox-t450s.yml index 5fa56bcb..5aa92d38 100644 --- a/inventory/host_vars/ch-equinox-t450s.yml +++ b/inventory/host_vars/ch-equinox-t450s.yml @@ -57,6 +57,9 @@ zfs_pools: storage: mountpoint: /srv/storage create_vdevs: /dev/mapper/t450s-storage + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: storage: diff --git a/inventory/host_vars/ch-phoebe.yml b/inventory/host_vars/ch-phoebe.yml index cca07f82..9e1b9d89 100644 --- a/inventory/host_vars/ch-phoebe.yml +++ b/inventory/host_vars/ch-phoebe.yml @@ -97,6 +97,9 @@ zfs_pools: nvme: mountpoint: /srv/nvme create_vdevs: /dev/disk/by-id/nvme-KIOXIA-EXCERIA_SSD_31MA10GJK2N2-part3 + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: nvme/vm: diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml index 3d716674..20b717c0 100644 --- a/inventory/host_vars/ch-prometheus.yml +++ b/inventory/host_vars/ch-prometheus.yml @@ -111,6 +111,9 @@ zfs_pools: nvme: mountpoint: /srv/nvme create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1 + properties: + ashift: 12 + autotrim: "on" storage: mountpoint: /srv/storage create_vdevs: mirror /dev/mapper/crypto-sata0 /dev/mapper/crypto-sata1 /dev/mapper/crypto-sata2 diff --git a/inventory/host_vars/sk-2019.yml b/inventory/host_vars/sk-2019.yml index f07cfdea..ddec2f3c 100644 --- a/inventory/host_vars/sk-2019.yml +++ b/inventory/host_vars/sk-2019.yml @@ -47,6 +47,9 @@ zfs_pools: storage: mountpoint: /srv/storage create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1 + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: storage: diff --git a/inventory/host_vars/sk-2019vm.yml b/inventory/host_vars/sk-2019vm.yml index 97957fe6..6da127ca 100644 --- a/inventory/host_vars/sk-2019vm.yml +++ b/inventory/host_vars/sk-2019vm.yml @@ -54,6 +54,9 @@ zfs_pools: storage: mountpoint: /srv/storage create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1 + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: storage/vm: diff --git a/inventory/host_vars/sk-tomnext-nc.yml b/inventory/host_vars/sk-tomnext-nc.yml index feac026c..71e4739d 100644 --- a/inventory/host_vars/sk-tomnext-nc.yml +++ b/inventory/host_vars/sk-tomnext-nc.yml @@ -56,6 +56,9 @@ zfs_pools: storage: mountpoint: /srv/storage create_vdevs: /dev/sdb + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: storage/nextcloud: diff --git a/inventory/host_vars/sk-tomnext.yml b/inventory/host_vars/sk-tomnext.yml index 727d4a7f..3291fb5d 100644 --- a/inventory/host_vars/sk-tomnext.yml +++ b/inventory/host_vars/sk-tomnext.yml @@ -49,6 +49,9 @@ zfs_pools: storage: mountpoint: /srv/storage create_vdevs: mirror /dev/mapper/crypto-nvme0 /dev/mapper/crypto-nvme1 + properties: + ashift: 12 + autotrim: "on" zfs_sanoid_modules: storage/vm: -- cgit v1.2.3