[lvm-devel] master - tests: test spare volume removal
Zdenek Kabelac
zkabelac at fedoraproject.org
Mon Mar 17 13:33:26 UTC 2014
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=909e2207bd181141b423bc8b62992c761a0b8c35
Commit: 909e2207bd181141b423bc8b62992c761a0b8c35
Parent: 404593c710678082f7ff16efdfd1fe5394fb1bba
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Sun Mar 16 23:47:43 2014 +0100
Committer: Zdenek Kabelac <zkabelac at redhat.com>
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(-)
diff --git a/test/shell/lvcreate-thin.sh b/test/shell/lvcreate-thin.sh
index cfa605e..0873ce1 100644
--- a/test/shell/lvcreate-thin.sh
+++ b/test/shell/lvcreate-thin.sh
@@ -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
More information about the lvm-devel
mailing list