summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/base/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/storage/zfs/base/defaults/main.yml')
-rw-r--r--roles/storage/zfs/base/defaults/main.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/storage/zfs/base/defaults/main.yml b/roles/storage/zfs/base/defaults/main.yml
new file mode 100644
index 00000000..1566890d
--- /dev/null
+++ b/roles/storage/zfs/base/defaults/main.yml
@@ -0,0 +1,19 @@
+---
+zfs_use_systemd_mount_generator: yes
+#zfs_arc_size:
+# min: 512MB
+# max: 8GB
+
+zfs_pool_default_properties:
+ ashift: 12
+
+# zfs_pools:
+# storage:
+# mountpoint: /srv/storage
+# create_vdevs: mirror /dev/sda /dev/sdb mirror /dev/sdc /dev/sdd log mirror /dev/nvme0n1p3 /dev/nvme1n1p3 cache /dev/nvme0n1p4 /dev/nvme1n1p4
+# test:
+# mountpoint: /srv/storage
+# create_vdevs: raidz /dev/sda /dev/sdb /dev/sdc /dev/sdd
+# properties:
+# ashift: 12
+# prop: value