Skip to contentSkip to conversation

master - tests: test spare volume removal

PATCH Zdenek Kabelac 1 participant 1 message Mar 17, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=909e2207bd181141b423bc8b62992c761a0b8c35
Commit:        909e2207bd181141b423bc8b62992c761a0b8c35
Parent:        404593c710678082f7ff16efdfd1fe5394fb1bba
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Mar 16 23:47:43 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Mar 17 14:31:44 2014 +0100

tests: test spare volume removal

---
 test/shell/lvcreate-thin.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
test/shell/lvcreate-thin.sh +3 -0
index cfa605e..0873ce1 100644
@@ -176,6 +176,9 @@ not lvcreate -L4M --chunksize 2G -T $vg/pool1
 # Test creation of inactive pool
 lvcreate -an -L4M -T $vg/pool1
 lvcreate -V2G --name lv1 -T $vg/pool1
+# Check we are able remove spare volume if we want to
+lvremove -f $vg/lvol0_pmspare
+
 # Origin name is not accepted
 not lvcreate -s $vg/lv1 -L4M -V2G --name $vg/lv4