- configures zfs on linux
- builds zfs modules
- configures zpools
- configures zvols
- configures automatic mounts at boot
- Debian stretch
- Debian buster
- Install linux-headers
Create a variable declaration on a host basis along the following:
zfs_zpools:
zfs1:
devices: /dev/disk/by-id/wwid... /dev/disk/by-id/wwid... /dev/disk/by-id/wwid...
raidmode: raidz or mirror (or leave blank for stripe set)
zildevices: /dev/disk-by-id/wwid..
cachedevices: /dev/disk-by-id/wwid..
zfs2:
devices: /dev/disk/by-id/wwid... /dev/disk/by-id/wwid...
zfs_zvols:
docker:
pool: zfs1
mountpoint: /var/lib/docker
sync: standard
vol_size: 10G
state: present
snapdir: visible
snapdev: visible
compression: lz4
The following arguments are optional:
- zildevices
- cachedevices
- raidmode
- mountpoint
- state
- volsize
- snapdir
- sync
- compression