summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/base/defaults/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-07 00:08:17 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-07 00:08:17 +0100
commit67d5f5c27727e04d8f8a5ed20e79d5706cbbf1cb (patch)
tree56456abe274ed1beb0582c5692689c5ccbf4f983 /roles/storage/zfs/base/defaults/main.yml
parentupdate collabora and bump nextcloud versions (diff)
refactor: storage roles
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