public inbox for
help / color / mirror / Atom feed
Subject: LVM2/test
Date: Thu, 25 Mar 2010 11:42:00 -0000	[thread overview]
Message-ID: <> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	2010-03-25 11:42:17

Modified files:
	test           : 

Log message:
	add debug output and attempt to control which device gets log as intended perhaps


--- LVM2/test/	2008/11/10 12:32:00	1.5
+++ LVM2/test/	2010/03/25 11:42:17	1.6
@@ -25,6 +25,7 @@
 	rm -f out1 out2
 	echo $pvs | sed 's/ /\n/g' | sort | uniq > out1
+	lvs -a -odevices --noheadings $lv
 	lvs -a -odevices --noheadings $lv | \
 	sed 's/([^)]*)//g; s/[ ,]/\n/g' | sort | uniq > out2
@@ -47,6 +48,7 @@
 		sed 's/\[//g; s/\]//g')
 	for i in $mimages; do
 		echo "Checking $vg/$i"
+		lvs -a -odevices --noheadings $vg/$i
 		lvs -a -odevices --noheadings $vg/$i | \
 			sed 's/([^)]*)//g; s/ //g; s/,/ /g' | sort | uniq >> out2
@@ -128,7 +130,7 @@
 #COMM "basic: fail the 2nd mirror image of 2-way mirrored LV"
-lvcreate -l2 -m1 -n $lv1 $vg $dev1 $dev2 $dev3:0-1
+lvcreate -l2 -m1 -n $lv1 $vg $dev1 $dev2 $dev3:0
 lvchange -an $vg/$lv1
 aux mimages_are_on_ $lv1 $dev1 $dev2
 mirrorlog_is_on_ $lv1 $dev3

             reply	other threads:[~2010-03-25 11:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 11:42 agk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-03 15:46 zkabelac
2010-03-31  3:56 jbrassow
2010-03-25 12:16 agk
2008-09-19 16:10 mbroz
2008-01-17 18:29 wysochanski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).