diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-01-20 22:42:30 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-01-20 22:42:30 +0100 |
commit | ba2ab1cb42db29c8287c65a3f1e0b646eeba0464 (patch) | |
tree | 73a496d6b03085de2aa8dfe22ca201ff0354ba07 /roles/storage/zfs/base/defaults/main.yml | |
parent | apps/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.yml | 19 |
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 |