[ubuntu-cloud] DRBD Kernel Module?

Scott Moser smoser at ubuntu.com
Tue Nov 15 13:35:33 UTC 2011

On Mon, 14 Nov 2011, Adroit Technologies wrote:

> On Mon, 2011-11-14 at 19:34 -0500, Scott Moser wrote:

> > for 10.10 and 11.04, the -server kernel *may* provide you with what you
> > need. The -virtual first began as just the -server kernel with a subset of
> > modules, but then moved a bit away.  I think they both install into the
> > same /lib/modules directory, and the drdb module might "just work".
> >
> > Other than that, you'll have to basically re-build the kernel from the
> > -virtual config, but enable the drdb module.  Might be some other way of
> > doing that also.  The -extra package is a nice feature add for -virtual.
> Just for Clarification, is there anything for 10.04 Scott?  Or is there
> other issues with 10.04 not support drbd or the meethods described?

There were no explicit issues.  The -virtual kernel was just originally
cleaned out, and the original whitelists needed some tweaking.  IIRC the
-virtual kernel package of 10.04 is a proper subset of the -server kernel.
However, if you're using EC2, you will be needing the linux-ec2 source
package, which does not have the same superset module list. (I wasn't sure
if you were doing this on EC2 or just on -virtual kernel).

I outlined the process for re-building an in-kernel module under bug
428692 [1].  You can probably walk through that for either of the cases.
Essentially the easiest path is really to just re-build the kernel the
only change being the enabling of your module, and then save off that
module.  There is a README.txt at [2] that gives an outline.

For 10.04 on EC2, you will want to make sure you get the 'linux-ec2'
source package.

[1] http://pad.lv/428692
[2] http://people.canonical.com/~smoser/bugs/428692/

More information about the Ubuntu-cloud mailing list