public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: jbrassow@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/test t-lvconvert-repair-policy.sh Date: Wed, 19 Jan 2011 19:22:00 -0000 [thread overview] Message-ID: <20110119192207.5486.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: jbrassow@sourceware.org 2011-01-19 19:22:07 Modified files: test : t-lvconvert-repair-policy.sh Log message: Add test to make sure that a log device is retained when a mirror image fails and the policies are set to: mirror_image_fault_policy = "replace" mirror_log_fault_policy = "remove" Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-lvconvert-repair-policy.sh.diff?cvsroot=lvm2&r1=1.7&r2=1.8 --- LVM2/test/t-lvconvert-repair-policy.sh 2011/01/11 17:05:09 1.7 +++ LVM2/test/t-lvconvert-repair-policy.sh 2011/01/19 19:22:07 1.8 @@ -39,6 +39,14 @@ cleanup $dev1 # Fail a leg of a mirror. +# Expected result: Mirror (leg replaced, should retain log) +aux disable_dev $dev1 +repair 'activation { mirror_image_fault_policy = "replace" mirror_log_fault_policy = "remove" }' +check mirror $vg mirror +lvs | grep mirror_mlog +cleanup $dev1 + +# Fail a leg of a mirror. # Expected result: Mirror (leg replaced) aux disable_dev $dev1 repair 'activation { mirror_image_fault_policy = "replace" }' @@ -49,7 +57,7 @@ # Fail a leg of a mirror (use old name for policy specification) # Expected result: Mirror (leg replaced) aux disable_dev $dev1 -repair 'activation { mirror_device_fault_policy = "replace" }' +repair 'activation { mirror_image_fault_policy = "replace" }' check mirror $vg mirror lvs | grep mirror_mlog cleanup $dev1
reply other threads:[~2011-01-19 19:22 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110119192207.5486.qmail@sourceware.org \ --to=jbrassow@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /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: linkBe 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).