From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Mirror fail/recover test
Date: Wed, 24 Feb 2010 10:55:30 -0800 [thread overview]
Message-ID: <20100224185530.GA22199@us.ibm.com> (raw)
In-Reply-To: <ece181eaa6b6652da66cb42699955e87.squirrel@fela.liber4e.com>
jose nuno neto [jose.neto@liber4e.com] wrote:
> Hi
>
> I'm trying to test the failure of a SAN Mirrored Lv, and the recover and
> check for data lost.
>
> Im runing RedHat 5.4
> 2.6.18-164.2.1.el5
> lvm2-2.02.46-8.el5_4.1
>
> I create a 2mirror+log lv ok, can lvconvert to one leg only, can delete ok.
> But when I simulate a disk fail either with
> dd if=/dev/zero of=pvmirror_device
> echo offline > /sys/block/pvmirror_device/device/status
What is the output of "dmsetup status" at this point?
There must be some messages in the /var/log/messages file if you enable
them.
> lvs -a -o +devices
> stills shows the lv has mirrored ( should switch to non-mirrored right?) ,
Yes, provided you successfully started the dmeventd monitoring thread
and it handled the failure event.
Thanks, Malahal.
next prev parent reply other threads:[~2010-02-24 18:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 16:14 [linux-lvm] Mirror fail/recover test jose nuno neto
2010-02-24 18:55 ` malahal [this message]
2010-02-25 10:36 ` jose nuno neto
2010-02-25 16:11 ` malahal
2010-03-02 10:31 ` [linux-lvm] Mirror fail/recover test SOLVED jose nuno neto
2010-04-14 15:03 ` [linux-lvm] Lvm hangs on San fail jose nuno neto
2010-04-14 17:38 ` Eugene Vilensky
2010-04-14 23:02 ` brem belguebli
2010-04-15 8:29 ` jose nuno neto
2010-04-15 9:32 ` Bryan Whitehead
2010-04-15 11:59 ` jose nuno neto
2010-04-15 12:41 ` Eugene Vilensky
2010-04-16 8:55 ` jose nuno neto
2010-04-16 20:15 ` Bryan Whitehead
2010-04-17 9:00 ` brem belguebli
2010-04-19 9:21 ` jose nuno neto
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=20100224185530.GA22199@us.ibm.com \
--to=malahal@us.ibm.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 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.