projects
/
ganeti-extstorage-zfs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update snapshot flags in remove
[ganeti-extstorage-zfs]
/
sbin
/
lvremove
diff --git
a/sbin/lvremove
b/sbin/lvremove
index
ee15f23
..
69f5709
100755
(executable)
--- a/
sbin/lvremove
+++ b/
sbin/lvremove
@@
-11,16
+11,9
@@
if echo $* | grep -q $EXTP_VG ; then
fi
shift;
done
- export VOL_NAME
-
- origin=$(zfs_get lv:origin)
# destroy snapshot and clone
$dir/remove
- if [ ! -z "$origin" ] ; then
- VOL_NAME=$origin@snap $dir/remove
- zfs set lv:s='-' $EXTP_ZFS/$origin
- fi
else
/sbin/lvm lvrename $*
fi