mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
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.
This commit is contained in:
parent
f84d6048cf
commit
d4836062ff
@ -38,6 +38,7 @@ for i in $dev1 $dev2 $dev3 ; do
|
||||
check lv_exists $vg $lv2
|
||||
|
||||
aux enable_dev $i $j
|
||||
vgscan
|
||||
|
||||
test $i != $dev1 && check lv_exists $vg $lv1
|
||||
check lv_exists $vg $lv2
|
||||
|
Loading…
Reference in New Issue
Block a user