All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kelly Sauke <ksauke@fastenal.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM and Device Mapper
Date: Fri, 16 Jun 2006 08:25:36 -0500	[thread overview]
Message-ID: <4492B150.8070604@fastenal.com> (raw)
In-Reply-To: <5485940d0606152014i4f309594o70efbe2568641b2a@mail.gmail.com>

Add "a|/dev/mapper/mpath.*|" to the filter= line of your lvm.conf as such.

filter = [ "a|/dev/sda2|", "a|/dev/mapper/mpath.*|", "r/.*/" ]

Then make sure your types= variable has device-mapper in it.

 types = [ "device-mapper", 1 ]

That should be all you need.


C'est Pierre wrote:
> Hello,
> 
> I've setup multipath with multipath-tools and I guess everything is OK
> there. However, I can't get lvm to recognize the multipath'ed devices:
> 
> # dmsetup ls
> 3600508b40010130d00006000011c0000p1     (253, 4)
> system-lv03     (253, 2)
> system-lv01     (253, 1)
> system-lv00     (253, 0)
> dm-3p2  (253, 7)
> dm-3p1  (253, 6)
> 
> cabtagdb01:~ # fdisk -l /dev/dm-3
> 
> Disk /dev/dm-3: 53.6 GB, 53687091200 bytes
> 64 heads, 32 sectors/track, 51200 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> 
>     Device Boot      Start         End      Blocks   Id  System
> /dev/dm-3p1               1           1        1008   83  Linux
> /dev/dm-3p2               2       51200    52427776   8e  Linux LVM
> cabtagdb01:~ # fdisk -l /dev/mapper/3600508b40010130d00006000011c0000
> 
> Disk /dev/mapper/3600508b40010130d00006000011c0000: 53.6 GB, 53687091200
> bytes
> 64 heads, 32 sectors/track, 51200 cylinders
> Units = cylinders of 2048 * 512 = 1048576 bytes
> 
>                                         Device Boot      Start
> End      Blocks   Id  System
> /dev/mapper/3600508b40010130d00006000011c0000p1               1
>   1        1008   83  Linux
> /dev/mapper/3600508b40010130d00006000011c0000p2               2
> 51200    52427776   8e  Linux LVM
> 
> 
> # pvcreate /dev/dm-3p2
>  Device /dev/dm-3p2 not found.
> 
> # pvcreate /dev/mapper/3600508b40010130d00006000011c0000p2
>  Device /dev/mapper/3600508b40010130d00006000011c0000p2 not found.
> 
> Does anyone have any guess on what the problem might be? I seem to be
> one-step from getting this solved and I am going through these
> hassles.
> 
> Thank you,
> Pierre
> 
> _______________________________________________
> 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:[~2006-06-16 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-16  3:14 [linux-lvm] LVM and Device Mapper C'est Pierre
2006-06-16 13:25 ` Kelly Sauke [this message]
2006-06-16 15:14   ` C'est Pierre
2006-06-16 15:20     ` Kelly Sauke
2006-06-17  0:42       ` Luca Berra
2006-06-20 13:02         ` C'est Pierre
2006-06-16 18:13 ` Zac Slade

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=4492B150.8070604@fastenal.com \
    --to=ksauke@fastenal.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.