mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-02 22:50:44 +03:00
Revert "tests: Adapt RAID test to changes"
The cpnversion of degraded RAID should still report a failure. This reverts commit e12bdd591a1e60f055baee6cf5e9a144ea245a33.
This commit is contained in:
parent
ee43ec5782
commit
53db14171c
@ -33,10 +33,8 @@ aux disable_dev "$dev1"
|
||||
vgreduce --force --removemissing $vg
|
||||
check raid_leg_status $vg $lv "DA"
|
||||
|
||||
# Conversion to 2 legs does nothing on degraded 2-legged raid1 LV
|
||||
lvconvert -y -m1 $vg/$lv 2>&1 | tee out
|
||||
grep "already has 2 images" out
|
||||
# Check it remains degraded after the successful "conversion"
|
||||
# Conversion to 2 legs must fail on degraded 2-legged raid1 LV
|
||||
not lvconvert -y -m1 $vg/$lv
|
||||
check raid_leg_status $vg $lv "DA"
|
||||
|
||||
# Repair has to succeed
|
||||
|
Loading…
x
Reference in New Issue
Block a user