summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/pools/defaults/main.yml
blob: 1566890db314081074052c1c08a775277627a4b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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