5 dir=/usr/share/ganeti/extstorage/zfs/
7 # zfs pool and file system (existing) where to create block devices
8 test -z "$EXTP_ZFS" && EXTP_ZFS=tmp500g/block
10 # parameters for zfs create, by default
12 # -b 4k block size sutable for ext4 filesystem which ganeti uses
13 # lz4 compression with low cpu operhead which always helps
14 test -z "$EXTP_CREATE" && EXTP_CREATE="-s -b 4k -o compression=lz4"
16 # on zfs destroy remove snapshots of instance disks
17 test -z "$EXTP_DESTROY" && EXTP_DESTROY="-r"
19 # emulate VG configured in cluster for wrapper scripts in sbin
20 test -z "$EXTP_VG" && EXTP_VG='ffzgvg'