From: mornfall@sourceware.org <mornfall@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/test t-mirror-lvconvert.sh
Date: 29 Mar 2010 16:50:28 -0000 [thread overview]
Message-ID: <20100329165028.4394.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-03-29 16:50:28
Modified files:
test : t-mirror-lvconvert.sh
Log message:
Work around a problem in t-mirror-lvconvert: different PV order on the
commandline of lvconvert can lead to allocation failures even if enough space
is available. A separate testcase demonstrating the problem will follow.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-mirror-lvconvert.sh.diff?cvsroot=lvm2&r1=1.17&r2=1.18
--- LVM2/test/t-mirror-lvconvert.sh 2010/03/26 22:15:44 1.17
+++ LVM2/test/t-mirror-lvconvert.sh 2010/03/29 16:50:27 1.18
@@ -267,11 +267,12 @@
# "add 1 mirror and disk log"
prepare_lvs_
lvs -a -o+devices $vg
-lvcreate -l2 -m1 --mirrorlog core -n $lv1 $vg $dev1 $dev2
+lvcreate -l2 -m1 --mirrorlog core -n $lv1 $vg $dev1 $dev2
lvs -a -o+devices $vg
check_mirror_count_ $vg/$lv1 2
not_sh check_mirror_log_ $vg/$lv1
-lvconvert -m+1 --mirrorlog disk -i1 $vg/$lv1 $dev4 $dev3:0
+# FIXME on next line, specifying $dev4 $dev3:0 (i.e log device device last) fails (!)
+lvconvert -m+1 --mirrorlog disk -i1 $vg/$lv1 $dev3:0 $dev4
lvs -a -o+devices $vg
check_no_tmplvs_ $vg/$lv1
check_mirror_count_ $vg/$lv1 3
next reply other threads:[~2010-03-29 16:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-29 16:50 mornfall [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-28 17:46 LVM2/test t-mirror-lvconvert.sh jbrassow
2010-04-06 23:04 mornfall
2010-04-06 22:22 mornfall
2010-04-06 18:13 agk
2010-04-06 16:31 agk
2010-03-25 12:14 agk
2010-03-25 11:47 agk
2009-12-10 22:06 jbrassow
2009-05-22 14:56 mbroz
2009-05-19 15:47 wysochanski
2008-04-23 18:28 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100329165028.4394.qmail@sourceware.org \
--to=mornfall@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.