[lvm-devel] master - tests: enable pvmove-restart with lvmlockd

David Teigland teigland at sourceware.org
Thu May 31 14:15:44 UTC 2018


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=27495a355536360404c8b8ee254ccaebb054debc
Commit:        27495a355536360404c8b8ee254ccaebb054debc
Parent:        05ee83579be1f7aa1107de438762d039e0424edf
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Wed May 30 13:56:06 2018 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Wed May 30 13:56:06 2018 -0500

tests: enable pvmove-restart with lvmlockd

---
 test/shell/pvmove-restart.sh |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/shell/pvmove-restart.sh b/test/shell/pvmove-restart.sh
index abdcd86..dcf4c37 100644
--- a/test/shell/pvmove-restart.sh
+++ b/test/shell/pvmove-restart.sh
@@ -12,13 +12,11 @@
 
 # Check pvmove behavior when it's progress and machine is rebooted
 
-SKIP_WITH_LVMLOCKD=1
-
 . lib/inittest
 
 aux prepare_pvs 3 60
 
-vgcreate -s 128k $vg "$dev1" "$dev2"
+vgcreate $SHARED -s 128k $vg "$dev1" "$dev2"
 pvcreate --metadatacopies 0 "$dev3"
 vgextend $vg "$dev3"
 
@@ -94,7 +92,7 @@ LVM_TEST_TAG="kill_me_$PREFIX" vgchange --config 'activation{polling_interval=10
 aux wait_pvmove_lv_ready "$vg-pvmove0"
 dmsetup table
 
-pvmove --abort
+pvmove --abort "$dev1"
 
 lvs -a -o+devices $vg
 




More information about the lvm-devel mailing list