gnt-instance move works only to zfs
[ganeti-extstorage-zfs] / defaults.sh
1 # debugging options
2 #set -x
3 #set >&2
4
5 # zfs pool and file system (existing) where to create block devices
6 test -z "$EXTP_ZFS" && EXTP_ZFS=tmp500g/block
7
8 # parameters for zfs create, by default
9 # -s    sparse
10 # -b 4k block size sutable for ext4 filesystem which ganeti uses
11 # lz4   compression with low cpu operhead which always helps
12 test -z "$EXTP_CREATE" && EXTP_CREATE="-s -b 4k -o compression=lz4"
13
14 # on zfs destroy remove snapshots of instance disks
15 test -z "$EXTP_DESTROY" && EXTP_DESTROY="-r"
16
17 # emulate VG configured in cluster for wrapper scripts in sbin
18 test -z "$EXTP_VG" && EXTP_VG='ffzgvg'