projects
/
ganeti-extstorage-zfs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b71b5ca
)
fix check for existence of zvol
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 26 Jun 2014 12:13:06 +0000
(14:13 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 26 Jun 2014 12:13:06 +0000
(14:13 +0200)
remove
patch
|
blob
|
history
diff --git
a/remove
b/remove
index
2d49348
..
0be0674
100755
(executable)
--- a/
remove
+++ b/
remove
@@
-2,7
+2,7
@@
. /usr/share/ganeti/extstorage/zfs/defaults.sh
-test -e /dev/zvol/$EXTP_
VG
/$VOL_NAME || exit 0
+test -e /dev/zvol/$EXTP_
ZFS
/$VOL_NAME || exit 0
# remove snapshot flag on origin
origin=$(zfs_get lv:origin)