Re: LVM and Device Mapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 15 June 2006 22:14, 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:
Need to check that your /etc/lvm/lvm.conf file is accepting those 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.
So you need something like:
filter = [ "a|dm-.*|", <other rules here> ]

In the devices {} section of your /etc/lvm/lvm.conf file so it will accept the 
device.
-- 
Zac Slade
krakrjak@volumehost.net
ICQ:1415282 YM:krakrjak AIM:ttyp99

_______________________________________________
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/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux