[lvm-devel] master - tests: deactivate before remove

Zdenek Kabelac zkabelac at fedoraproject.org
Fri Jun 26 20:17:45 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=03c4fee5a7afeeae0b3c215779d24b5faaa1ac26
Commit:        03c4fee5a7afeeae0b3c215779d24b5faaa1ac26
Parent:        a62cd64db6c65637f2f2125222962696a7c7c5ee
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Fri Jun 26 22:00:40 2015 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Fri Jun 26 22:11:46 2015 +0200

tests: deactivate before remove

Testing if this avoids udev race with removal of snapshot on some
test machines.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1217819
---
 test/shell/lvconvert-repair-snapshot.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/test/shell/lvconvert-repair-snapshot.sh b/test/shell/lvconvert-repair-snapshot.sh
index 1bb4138..73f2f88 100644
--- a/test/shell/lvconvert-repair-snapshot.sh
+++ b/test/shell/lvconvert-repair-snapshot.sh
@@ -28,4 +28,5 @@ aux enable_dev "$dev2" "$dev4"
 lvs -a -o +devices $vg
 check mirror $vg 4way "$dev5"
 
+vgchange -an $vg
 vgremove -ff $vg




More information about the lvm-devel mailing list