From: mornfall@sourceware.org <mornfall@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/test t-vgreduce-usage.sh
Date: 11 Jul 2011 12:13:08 -0000 [thread overview]
Message-ID: <20110711121308.31893.qmail@sourceware.org> (raw)
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-vgreduce-usage.sh.diff?cvsroot=lvm2&r1=1.8&r2=1.9
--- 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
+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
next reply other threads:[~2011-07-11 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 12:13 mornfall [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-04 16:27 LVM2/test t-vgreduce-usage.sh agk
2008-09-30 17:17 mornfall
2008-09-19 16:12 mbroz
2008-08-28 11:20 mbroz
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=20110711121308.31893.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.