linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: blub@trans.am
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Multipath / LVM2
Date: Tue, 16 Mar 2010 20:09:16 +0100	[thread overview]
Message-ID: <f6105209d6067f820f119b0f157890d0.squirrel@trans.am> (raw)
In-Reply-To: <20100316180619.GC15884@maude.comedia.it>

hello
thanks for trying to help :)

I've changed the filter and preferred_names variables to

preferred_names="^/dev/mapper/"
filter=["a|/dev/mapper/.*|", "r/.*/"]

without luck :(

new pvscan output:
http://pastebin.com/5PysR0rD


> On Tue, Mar 16, 2010 at 05:40:20PM +0100, 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)
>>
>>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.
>>
>>anyway, I've pasted alot of output to http://pastebin.com/wheL4nyE
>>
> change the preferred_names in /etc/lvm.conf to reference /dev/mapper
> entries before /dev/sd
>
> eg:
> preferred_names = [ "^/dev/mapper/" ]
>
> L.
>
>
> --
> Luca Berra -- bluca@comedia.it
>          Communication Media & Services S.r.l.
>   /"\
>   \ /     ASCII RIBBON CAMPAIGN
>    X        AGAINST HTML MAIL
>   / \
>
> _______________________________________________
> 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/
>

  reply	other threads:[~2010-03-16 19:09 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 [this message]
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

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=f6105209d6067f820f119b0f157890d0.squirrel@trans.am \
    --to=blub@trans.am \
    --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).