[DRBD-user] DRBD module won't load

Matt Graham danceswithcrows at usa.net
Thu Mar 18 20:27:10 CET 2010

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


From: Wood.Chris at 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





More information about the drbd-user mailing list