[DRBD-user] newbie question about DRBD

Dominik Klein dk at in-telegence.net
Thu Nov 29 08:22:10 CET 2007

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

> Thank you very much.  I did read the URL today.  I
> tried to follow it and I did "make all".  Both "make
> module" and "make tools" were successful.  I did see
> /usr/src/drbd-8.2.1/drbd/drbd.ko was built
> successfully.  Since I'm new to Linux kernel build
> also, I'm really not sure what else I need to do to
> install the drbd module to kernel, so I did "make
> install", I assume it should take care updating kernel
> and it reported successful also.  I didn't do "patch
> DRBD to kernel" since I saw it's an alternative to
> "make all", so I assume I don't need to do it.

find /lib/modules/`uname -r`/ -name drbd.ko

and if drbd.ko is not in /lib/modules/`uname -r`/kernel/drivers/block, 
then copy/move it there. You may also need "depmod -a", but I'm not sure 
about that.

On my xen Boxes, the module always ends up in the wrong directory after 
"make install" and I have to manually copy it to the right place.


More information about the drbd-user mailing list