Skip to contentSkip to conversation

master - tests: Disable 3-leg raid1 pre-sync repair attempt

PATCH Alasdair Kergon 1 participant 1 message Nov 4, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6dce0e948935678e647dddeeea816cb4937f078a
Commit:        6dce0e948935678e647dddeeea816cb4937f078a
Parent:        461d340bd75556ef1f9fcda7ec29ebd5f044d861
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Fri Nov 4 00:23:08 2016 +0000
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Fri Nov 4 00:23:08 2016 +0000

tests: Disable 3-leg raid1 pre-sync repair attempt

Test fails as it doesn't ensure device isn't already in sync.

---
 test/shell/lvconvert-repair-raid.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
test/shell/lvconvert-repair-raid.sh +2 -1
index b51d8fe..d3ac1da 100644
@@ -53,7 +53,8 @@ delay 50
 # RAID1 triple-leg single replace during initial sync
 lvcreate --type raid1 -m 2 -L $RAID_SIZE -n $lv1 $vg "$dev1" "$dev2" "$dev3"
 aux disable_dev "$dev2" "$dev3"
-not lvconvert -y --repair $vg/$lv1
+# FIXME 2016/11/04 AGK: Disabled next line as it fails to guarantee it is not already in sync.
+#not lvconvert -y --repair $vg/$lv1
 aux wait_for_sync $vg $lv1
 lvconvert -y --repair $vg/$lv1
 vgreduce --removemissing $vg