mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-27 10:25:13 +03:00
Fix t-vgreduce-usage to stop relying on the persistent cache not seeing a
device that has been brought back from the dead: this sometimes fails with clvmd (the cache is updated "too soon"). Instead, force a pvscan and rely on an up-to-date cache as usual.
This commit is contained in:
parent
11853cd95a
commit
4ded6393df
@ -62,8 +62,9 @@ check lv_field $vg1/$lv1 segtype linear
|
||||
check pvlv_counts $vg1 2 3 0
|
||||
# cleanup
|
||||
aux enable_dev $dev1
|
||||
pvscan
|
||||
vgremove -ff $vg1
|
||||
vgremove -ff $vg1
|
||||
not vgs $vg1 # just double-check it's really gone
|
||||
|
||||
#COMM "vgreduce rejects --removemissing --mirrorsonly --force when nonmirror lv lost too"
|
||||
# (lvm$mdatype) setup: create mirror + linear lvs
|
||||
|
Loading…
Reference in New Issue
Block a user