document helper scripts in bin/
[ganeti-extstorage-zfs] / defaults.sh
1
2 # zfs pool and file system (existing) where to create block devices
3 test -z "$EXTP_ZFS" && EXTP_ZFS=tmp500g/block
4
5 # parameters for zfs create, by default
6 # -s    sparse
7 # -b 4k block size sutable for ext4 filesystem which ganeti uses
8 # lz4   compression with low cpu operhead which always helps
9 test -z "$EXTP_CREATE" && EXTP_CREATE="-s -b 4k -o compression=lz4"
10
11 # on zfs destroy remove snapshots of instance disks
12 test -z "$EXTP_DESTROY" && EXTP_DESTROY="-r"