[DRBD-user] multipathd ignores my drbd0

Dan Barker dbarker at visioncomm.net
Tue Apr 10 20:39:43 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.


Kaloyan: I can't get Oracle VM to look at the Logical Volume either (building a lv on drbd was dirt-simple). I think I'm hosed. I'll return to the Oracle forum and see what they say about LVM, but unless I can get the drbd resource to be presented by multipath, I don't think Oracle VM will use it.

Thanks for the help, none the less.

Dan

-----Original Message-----
From: Kaloyan Kovachev [mailto:kkovachev at varna.net] 
Sent: Tuesday, April 10, 2012 9:53 AM
To: Dan Barker
Cc: drbd List
Subject: Re: [DRBD-user] multipathd ignores my drbd0

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