[DRBD-user] multipathd ignores my drbd0

Kaloyan Kovachev kkovachev at varna.net
Tue Apr 10 15:53:28 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I think you can't use DRBD device directly with multipath, but if you
export it via iSCSI and then import it back it is possible.

Another option is LVM over DRBD -> device in /dev/mapper
Another one is just a symlink in /dev/mapper from udev rule

On Tue, 10 Apr 2012 09:41:13 -0400, "Dan Barker" <dbarker at visioncomm.net>
wrote:
> How do I get multipathd to notice my drbd block devices?
> 
> RHEL5 (Oracle VM 3.0.3.127, actually), 2.6.32.21-45xen.
> Drbd 8.4.1:
> multipath-tools says v0.4.9. I can't seem to find the multipath version.
> 
> resource r0 {
>     on OVMPam {
>         volume 0 {
>             device       /dev/drbd0 minor 0;
>             disk         /dev/sdb;
>             meta-disk    internal;
>         }
>         address          ipv4 172.30.0.167:7789;
>     }
>     on DRPam {
>         volume 0 {
>             device       /dev/drbd0 minor 0;
>             disk         /dev/sdb;
>             meta-disk    internal;
>         }
>         address          ipv4 172.30.0.170:7789;
>     }
>     startup {
>         become-primary-on OVMPam;
>     }
> }
> 
> As-distributed global.
> 
> All multipath commands reply "Apr 09 08:10:50 | DM multipath kernel
driver
> not loaded", as if no devices were detected at boot time.
> 
> I have drbd start before multipathd.
> 
> Relax, I have no plans to multipath to this device, Oracle VM looks only
in
> /dev/mapper for repository candidates.
> 
> New 10 April: Ping! Anyone have any ideas? Even a different forum in
which
> to ask?
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user



More information about the drbd-user mailing list