All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: boot from san & lvm
Date: Mon, 7 Jan 2008 07:44:18 -0800	[thread overview]
Message-ID: <20080107154418.GA29532@us.ibm.com> (raw)
In-Reply-To: <64e30f320801070736o62ec8b42q9db45f616f076a17@mail.gmail.com>

Urs Golla [urs.golla@gmail.com] wrote:
> Hi
> 
> I would like to boot RHEL5 from SAN. If I install with the "mpath"
> parameter I can see the mapper/mpath0 device and the installation
> completes without any errors.
> 
> It boots from SAN and everything looks ok (well, lets say its
> working). If i add this lines to /etc/lvm/lvm.conf
> 
> types = [ "device-mapper", 1]
> "filter = [ "a/dev/mpath/.*/", "r/.*/" ]"

Try "mapper" instead of "mpath" above to handle partitions on your
devices.

> and remove the blacklist lines from /etc/multipath.conf as described
> in the "Native Multipath Failover Based on DM-MPIO for v2.6.x Linux
> Kernel and EMC(R) Storage Arrays" manual the pvscan command returns
> with " No matching physical volumes found". Why?
> 
> If I remove the filter line from lvm.conf the pvscan & pvdisplay
> command returns:
> 
> (...)
> PV Name               /dev/mapper/mpath0p2
> (...)
> 
> Why is it using mpath0p2 and not mpath0? /dev/mapper/mpath0 does exist
> and points to the right disks, because "multipath -ll" gives me
> something like that:

You must be having partitions on your disk (either you did or the
installer did for you).

  reply	other threads:[~2008-01-07 15:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07 15:36 boot from san & lvm Urs Golla
2008-01-07 15:44 ` malahal [this message]
2008-01-07 16:02   ` Urs Golla
2008-01-07 16:12     ` Urs Golla

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=20080107154418.GA29532@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=dm-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.