mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
test: Correctly trigger inconsistent metadata repair in lvmcache-exercise.
Since lvconvert --repair sets handles_missing_pvs, it will not repair inconsistent metadata automatically. Calling lvs instead should do the trick.
This commit is contained in:
parent
0decd7553a
commit
17f3b8280b
@ -30,7 +30,7 @@ lvconvert --yes --repair $vg2/$lv1
|
|||||||
aux enable_dev "$dev3"
|
aux enable_dev "$dev3"
|
||||||
|
|
||||||
# here it should fix any reappeared devices
|
# here it should fix any reappeared devices
|
||||||
lvconvert --yes --repair $vg2/$lv1
|
lvs
|
||||||
|
|
||||||
lvs -a $vg2 -o+devices 2>&1 | tee out
|
lvs -a $vg2 -o+devices 2>&1 | tee out
|
||||||
not grep reappeared out
|
not grep reappeared out
|
||||||
|
Loading…
Reference in New Issue
Block a user