From: Eric Brunson <brunson@brunson.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Simulating LVM Mirror Failure and recovery
Date: Thu, 16 Apr 2009 07:58:31 -0600 [thread overview]
Message-ID: <49E73987.3040604@brunson.com> (raw)
In-Reply-To: <49E7345B.1040002@brunson.com>
On 04/16/2009 07:36 AM, Eric Brunson wrote:
> On 04/16/2009 06:54 AM, Alasdair G Kergon wrote:
>> On Thu, Apr 16, 2009 at 07:07:57AM -0500, vu pham wrote:
>>> yogeen honnavar wrote:
>>>> Dear users,
>>>> dd if=/dev/zero of=/dev/vg1/lv1 count=10
>>>> as per the redhat guide this should result in mirror leg failure
>>>> and any
>>
>> Can you provide the reference - where does it say this?
>>
>> Alasdair
>
> I believe this is the reference.
>
> http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Logical_Volume_Manager/mirrorrecover.html
>
>
> Their example may be in error.
>
>
Upon review, I think it's correct, but worded awkwardly:
In this example, the primary leg of the mirror |/dev/sda1| fails.
Any write activity to the mirrored volume causes LVM to detect the
failed mirror. When this occurs, LVM converts the mirror into a
single linear volume. In this case, to trigger the conversion, we
execute a |dd| command
[root@link-08 ~]#*|dd if=/dev/zero of=/dev/vg/groupfs count=10|*
10+0 records in
10+0 records out
I believe the dd is not to cause the failure, it's simply to generate
write activity to the volume group after the mirror leg has been caused
to fail through other means not documented.
Anyone else think that's the case?
e.
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2009-04-16 13:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-16 10:17 [linux-lvm] Simulating LVM Mirror Failure and recovery yogeen honnavar
2009-04-16 10:26 ` Klaus Strebel
2009-04-16 12:07 ` vu pham
2009-04-16 12:26 ` Tomasz Chmielewski
2009-04-16 14:49 ` vu pham
2009-04-16 12:54 ` Alasdair G Kergon
2009-04-16 13:36 ` Eric Brunson
2009-04-16 13:58 ` Eric Brunson [this message]
2009-04-16 14:18 ` Don Bishop
2009-04-16 14:40 ` Lupe Christoph
2009-04-16 13:19 ` Lupe Christoph
2009-04-16 15:48 ` malahal
2009-04-16 16:02 ` Takahiro Yasui
-- strict thread matches above, loose matches on Subject: below --
2009-04-20 6:07 yogeen honnavar
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=49E73987.3040604@brunson.com \
--to=brunson@brunson.com \
--cc=linux-lvm@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 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 NNTP newsgroup(s).