From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Multipath / LVM2
Date: Tue, 16 Mar 2010 11:08:20 -0700 [thread overview]
Message-ID: <20100316180820.GA30188@us.ibm.com> (raw)
In-Reply-To: <4ec1d19a71ad4c8a10b487a3cf49840f.squirrel@trans.am>
blub@trans.am [blub@trans.am] wrote:
> hello
>
> I have troubles to get multipathing working on gentoo. I have an identical
> setup working on a debian box.
> The problem is that LVM does not detect labels on the multipath device
> node; instead it does try to use a physical path (eg /dev/sda1)
One easy way to avoid using the paths rather than actual multipath
devices is to use filtering in /etc/lvm/lvm.conf. Like below:
# Use only names from /dev/mapper directory
filter = [ "a|/dev/mapper/.*|", "r/.*/" ]
> the device nodes /dev/dm-X are not automaticaly created like they get on
> debian, I did run dmsetup mknodes which did not create /dev/dm-X nodes, so
> i created /dev/dm-0 with the minor/major of the corresponding /dev/mapper/
> node. I don't know if this is a problem.
This is odd, maybe something to do with udev rules? Anyway, you don't
need /dev/dm-X nodes if you use LVM filtering.
prev parent reply other threads:[~2010-03-16 18:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 16:40 [linux-lvm] Multipath / LVM2 blub
2010-03-16 18:06 ` Luca Berra
2010-03-16 19:09 ` blub
2010-03-16 19:44 ` malahal
2010-03-16 19:45 ` Luca Berra
2010-03-16 21:35 ` blub
2010-03-16 18:08 ` malahal [this message]
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=20100316180820.GA30188@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 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).