public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/test/shell lvcreate-repair.sh
@ 2012-02-23 14:55 mornfall
  0 siblings, 0 replies; only message in thread
From: mornfall @ 2012-02-23 14:55 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

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

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/shell/lvcreate-repair.sh.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/test/shell/lvcreate-repair.sh	2012/02/23 13:11:10	1.2
+++ LVM2/test/shell/lvcreate-repair.sh	2012/02/23 14:55:29	1.3
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-23 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-23 14:55 LVM2/test/shell lvcreate-repair.sh mornfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).