projects
/
ganeti-extstorage-zfs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix snapshot detection
[ganeti-extstorage-zfs]
/
defaults.sh
diff --git
a/defaults.sh
b/defaults.sh
index
b538740
..
7d8ab66
100644
(file)
--- a/
defaults.sh
+++ b/
defaults.sh
@@
-1,3
+1,6
@@
+# debugging options
+#set -x
+#set >&2
# zfs pool and file system (existing) where to create block devices
test -z "$EXTP_ZFS" && EXTP_ZFS=tmp500g/block
# zfs pool and file system (existing) where to create block devices
test -z "$EXTP_ZFS" && EXTP_ZFS=tmp500g/block
@@
-10,3
+13,6
@@
test -z "$EXTP_CREATE" && EXTP_CREATE="-s -b 4k -o compression=lz4"
# on zfs destroy remove snapshots of instance disks
test -z "$EXTP_DESTROY" && EXTP_DESTROY="-r"
# on zfs destroy remove snapshots of instance disks
test -z "$EXTP_DESTROY" && EXTP_DESTROY="-r"
+
+# emulate VG configured in cluster for wrapper scripts in sbin
+test -z "$EXTP_VG" && EXTP_VG='ffzgvg'