[DRBD-user] multipathd ignores my drbd0

Kushnir, Michael (NIH/NLM/LHC) [C] michael.kushnir at nih.gov
Tue Apr 10 19:23:17 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.


Did you check multipath blacklists?

-Michael 

-----Original Message-----
From: Dan Barker [mailto:dbarker at visioncomm.net] 
Sent: Tuesday, April 10, 2012 12:40 PM
To: 'drbd List'
Subject: Re: [DRBD-user] multipathd ignores my drbd0

I've tried everything I can think of to get mapper to pick up the drbd0 device, and all failed. I put in a symlink (ln -s /dev/drbd0 /dev/mapper/DRBD0) but Oracle VM doesn't see it. I'm guessing it's requiring multipath to access the resource.

I'll try some Logical Volumes and see if I can make Oracle VM see those. I know I can build a PV/VG/LV from a drbd resource.

Running an iSCSI target and initiator on localhost on this machine is getting a bit too weird, even for Oracle<g>.

Thanks for the tips!

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

_______________________________________________
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