1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +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:
Petr Rockai 2013-10-09 14:44:15 +02:00
parent 0decd7553a
commit 17f3b8280b

View File

@ -30,7 +30,7 @@ lvconvert --yes --repair $vg2/$lv1
aux enable_dev "$dev3"
# here it should fix any reappeared devices
lvconvert --yes --repair $vg2/$lv1
lvs
lvs -a $vg2 -o+devices 2>&1 | tee out
not grep reappeared out