summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/base/defaults/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-20 22:42:30 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-20 22:42:30 +0100
commitba2ab1cb42db29c8287c65a3f1e0b646eeba0464 (patch)
tree73a496d6b03085de2aa8dfe22ca201ff0354ba07 /roles/storage/zfs/base/defaults/main.yml
parentapps/storage: test with zfs volumes (diff)
add storage_device roles
Diffstat (limited to 'roles/storage/zfs/base/defaults/main.yml')
-rw-r--r--roles/storage/zfs/base/defaults/main.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/roles/storage/zfs/base/defaults/main.yml b/roles/storage/zfs/base/defaults/main.yml
index df56f0c8..96fb3b73 100644
--- a/roles/storage/zfs/base/defaults/main.yml
+++ b/roles/storage/zfs/base/defaults/main.yml
@@ -12,7 +12,7 @@ zfs_pool_default_properties:
# 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
+# mountpoint: /srv/test
# create_vdevs: raidz /dev/sda /dev/sdb /dev/sdc /dev/sdd
# properties:
# ashift: 12
@@ -40,10 +40,23 @@ zfs_volumes: {}
# quota: 2G
# children:
# ben: {}
-# after:
+# vms:
# properties:
-# quota: 100M
+# canmount: no
+# mountpoint: none
# test:
# sub1:
# properties:
# quota: 512M
+
+zfs_devices: {}
+
+# zfs_devices:
+# - pool: storage
+# name: vms/host1
+# size: 1g
+# properties:
+# compression: lz4
+# - pool: storage
+# name: vms/host2
+# size: 2g