linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: "Matecki, Lukas" <Lukas.Matecki@lvr.de>,
	Alexander Lyakas <alex.bolshoy@gmail.com>
Subject: Re: [linux-lvm] Remove a LUN from a LVM mirror cause logical volume not response
Date: Mon, 24 Oct 2011 14:35:30 +0100	[thread overview]
Message-ID: <4EA569A2.2010106@redhat.com> (raw)
In-Reply-To: <02292FBD45CF4C40AA7104EA7B291B7002A1DBA130@mxb-zv04.LVRINTERN.LVR.DE>

On 10/24/2011 01:48 PM, Matecki, Lukas wrote:
> Second try this time with the right subject, sry Monday -.-
>
> Hallo List,
>
> We are using LVM with SAN and multipathd. I try to setup mirroring with LVM. So I do pv create on a mpath device. vgcreate, add the pv to the vg, create a lv and setup a mirror with this:

Bear in mind that if you are using multipath underneath a mirror then 
you will need to configure multipath to not queue I/O when all paths to 
a device fail (or to only do so for a limited number of retries).

Otherwise the system will queue all I/O and block accessing the side of
the mirror on the failed SAN.

> lvconvert -m1 vg<name>/lv<name>  /dev/mapper/mpath0 --mirrorlog core

Using core may not be the best idea here since it will mean that you 
have to resynchronize the mirror every time it is activated.

> My intention is to create a logical volume which can handle SAN Disk failure.
>
> But in this shown setup i get a error (unavailable logical volume) when one of the san LUNS is missing.

Can you paste the exact error you are getting? This doesn't sound like 
any LVM2 error message that I'm familiar with.

Regards,
Bryn.

  parent reply	other threads:[~2011-10-24 13:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18 17:13 [linux-lvm] Changing dev_t-devname mapping in lvmlib seems to be problematic Alexander Lyakas
2011-10-23  8:39 ` Zdenek Kabelac
2011-10-24  8:10   ` Matecki, Lukas
2011-10-24 12:16   ` Alexander Lyakas
2011-10-24 12:28     ` Zdenek Kabelac
2011-10-24 12:48       ` [linux-lvm] Remove a LUN from a LVM mirror cause logical volume not response Matecki, Lukas
2011-10-24 13:29         ` Hal Martin
2011-10-24 13:35         ` Bryn M. Reeves [this message]
2011-10-27  9:21       ` [linux-lvm] Changing dev_t-devname mapping in lvmlib seems to be problematic Alexander Lyakas
2011-10-27  9:56         ` Zdenek Kabelac
2011-10-24 17:52     ` Stuart D. Gathman
2011-10-27  9:23       ` Alexander Lyakas

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=4EA569A2.2010106@redhat.com \
    --to=bmr@redhat.com \
    --cc=Lukas.Matecki@lvr.de \
    --cc=alex.bolshoy@gmail.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).