drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] DRBD module won't load

Re: [DRBD-user] DRBD module won't load

From: Matt Graham <danceswithcrows_at_nospam>
Date: Thu Mar 18 2010 - 19:27:10 GMT
To: <drbd-user@lists.linbit.com>

From: Wood.Chris@tatravelcenters.com
> I'm trying to start drbd on an Oracle Virtual Server (Xen) machine.
> Starting DRBD resources: Can not load the drbd module.
> $ rpm -qa|grep drbd
> drbd-8.3.6-1.el5
> kmod-drbd-8.0.16-5.el5_3

drbd 8.3.6, drbd kernel module 8.0.16. The two really should match, no?
And which /lib/modules/2.6.* dir did the module get installed in? If it
got put in the wrong dir (possible) then modprobe won't find it. Where
did the kernel module RPM come from? It has to be built against the
kernel that's running, otherwise it won't work.

> Any help would be much appreciated - do I have to build the module from
> scratch?

Building the kernel module from source should be pretty easy; just go
into the drbd source dir and do "make rpm KDIR=/usr/src/kernels/2.6.18-blah"
and you should get RPMs for userland and kernelspace drbd components.
Not applicable to very recent kernels since drbd is now in the vanilla
kernel source, but CentOS 5 doesn't have a recent kernel.

-- Matt G / Dances With Crows The Crow202 Blog: http://crow202.org/wordpress/ There is no Darkness in Eternity/But only Light too dim for us to see _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user