LVM2/test t-vgreduce-usage.sh
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2011-07-11 12:13:08
Modified files:
test : t-vgreduce-usage.sh
Log message:
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.
test/t-vgreduce-usage.sh +2 -1
@@ -62,8 +62,9 @@ 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