[DRBD-user] Problem with create-md

Lars Ellenberg lars.ellenberg at linbit.com
Fri Aug 24 14:22:10 CEST 2007


On Fri, Aug 24, 2007 at 09:41:53AM +0200, Pierguido wrote:
> Lars Ellenberg wrote:
> >do you have the netlink connector enabled?
> >does the kernel contain this:
> >7644d8b697ad46a666be8d254e4f89fd6a4b5b3e Fix callback bug in connector
> 
> About the connector...i see that in my systems is used by drbd...how is 
> related to it?
> Is it better to use it or not?

drbd 8 gets configured via the netlink connector.
if you don't have it, it won't work.

there are older kernel versions that do not yet have the connector,
so we provide some "backport connector" with drbd.
if you try to use the "backport connector" with a recent kernel that
could have a native connector, but has it disabled, it will either just
not work, or show "interessting" problems...

why we use the connector?
we used to configure via ioctls on the device itself.
that is evil, because we have to allow an "open" on a unconfigured
device, just to allow the ioctl to configure it...

to avoid that, we could have use a separate character device for the
configuration ioctls, like devmapper does. but we chose netlink.

-- 
: Lars Ellenberg                            Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list