projects
/
ganeti-extstorage-zfs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
split ganeti metadata from tag+value
[ganeti-extstorage-zfs]
/
sbin
/
lvcreate
diff --git
a/sbin/lvcreate
b/sbin/lvcreate
index
c743f20
..
b326a8e
100755
(executable)
--- a/
sbin/lvcreate
+++ b/
sbin/lvcreate
@@
-20,7
+20,7
@@
if echo $* | grep -q $EXTP_VG ; then
shift
done
- if [
! $SNAP
] ; then
+ if [
$SNAP = 0
] ; then
test -e /dev/zvol/$EXTP_ZFS/$VOL_NAME || \
zfs create -V ${VOL_SIZE} $EXTP_CREATE $EXTP_ZFS/$VOL_NAME