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:
2a8424a
)
export VOL_NAME before use
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 26 Jun 2014 07:39:28 +0000
(09:39 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 26 Jun 2014 07:39:28 +0000
(09:39 +0200)
sbin/lvremove
patch
|
blob
|
history
diff --git
a/sbin/lvremove
b/sbin/lvremove
index
5f7bdfa
..
ee15f23
100755
(executable)
--- a/
sbin/lvremove
+++ b/
sbin/lvremove
@@
-11,11
+11,11
@@
if echo $* | grep -q $EXTP_VG ; then
fi
shift;
done
+ export VOL_NAME
origin=$(zfs_get lv:origin)
# destroy snapshot and clone
- export VOL_NAME
$dir/remove
if [ ! -z "$origin" ] ; then
VOL_NAME=$origin@snap $dir/remove