[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/test t-vgreduce-usage.sh

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall 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.


--- LVM2/test/t-vgreduce-usage.sh	2011/07/04 16:27:27	1.8
+++ LVM2/test/t-vgreduce-usage.sh	2011/07/11 12:13:07	1.9
@@ -62,8 +62,9 @@
 check pvlv_counts $vg1 2 3 0
 # cleanup
 aux enable_dev $dev1
 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]