LVM2/test/shell lvcreate-repair.sh
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2012-02-23 14:55:31
Modified files:
test/shell : lvcreate-repair.sh
Log message:
Add a vgscan to lvcreate-repair.sh. The old test applied device filter hacks to make devices invisible to lvm, but the behaviour of those is slightly different than of actual missing devices. Running vgscan after re-enabling the device triggers a metadata repair which is not done by vgremove -ff. This is not a regression, merely an odd behaviour that has been around even before lvmetad.
test/shell/lvcreate-repair.sh +1 -0
@@ -38,6 +38,7 @@ check lv_exists $vg $lv2 aux enable_dev $i $j + vgscan test $i != $dev1 && check lv_exists $vg $lv1 check lv_exists $vg $lv2