[DRBD-user] please don't mix different drbd series ubuntu

Lars Ellenberg lars.ellenberg at linbit.com
Wed Nov 18 09:49:01 CET 2009

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


On Tue, Nov 17, 2009 at 07:21:22PM -0600, Scott Inderlied wrote:
> I'll save time and trouble and perform another clean install. I won't enable
> any extra repos besides the linbit one and see what happens.
> On Tue, Nov 17, 2009 at 7:08 PM, Scott Inderlied <
> scott at northwestcomputer.biz> wrote:
> 
> > i never installed the 8.0.11...i took great care to install the correct
> > ones after adding the repo. I performed a rmmod before
> > uninstalling/reinstalling. it's doing it on both of my nodes too, and both
> > show the proper versions installed under apt-show-versions. dmesg has this:

"linux-ubuntu-modules-*-*" on hardy includes DRBD 8.0,
and it is hard to avoid installing those ;)

find /lib/modules/`uname -r` -name "drbd*"

usually, it installs into 
/lib/modules/2.6.24-*/ubuntu/block/drbd/drbd.ko
and if depmod does what I think it does,
that should sort later than 
/lib/modules/2.6.24-*/kernel/block/drbd/drbd.ko
(where the drbd 8.3.5 module should install to),
so in theory, it should "just work",
at least after depmod -a.

if it does not,
you need to rename/remove/dpkg-divert the drbd.ko from
linux-ubuntu-modules, so it does not interfere.
I think we try to do so in the .postinst script
of the module package, but apparently that does not
work reliably enough.

> >
> > [   69.310121] drbd: initialised. Version: 8.0.11 (api:86/proto:86)
> > [   69.310126] drbd: GIT-hash: b3fe2bdfd3b9f7c2f923186883eb9e2a0d3a5b1b
> > build by phil at mescal, 2008-02-12 11:56:43
> > [   69.310128] drbd: registered as block device major 147
> >
> >    68  apt-get remove drbd8-module-2.6.24-24-server
> >    69  updatedb
> >    70  modprobe drbd
> >    71  lsmod
> >    72  rmmod drbd
> >    73  locate drb
> >    74  apt-cache search drbd
> >    75  apt-cache showpkg drbd8-utils
> >    76  apt-get remove drbd8-utils
> >    77  updatedb
> >    78  lcoate drbd
> >    79  locate drbd
> >    80  apt-get remove drbd
> >  109  apt-get install drbd8-module-2.6.24-24-server drbd8-utils
> >
> > .
> >
> >
> > On Tue, Nov 17, 2009 at 6:59 PM, Mike Lovell <mike at dev-zero.net> wrote:
> >
> >> Scott Inderlied wrote:
> >>
> >>> I'm running ubuntu 8.04 server and i installed drbd from the official
> >>> repos i have through my contract. I've taken great care to specify the
> >>> correct drbd-module kernel version and the drbd8 utils. I've uninstalled and
> >>> resinstalled, yet i continue to receive this:
> >>>
> >>> DRBD module version: 8.0.11
> >>>   userland version: 8.3.5
> >>> please don't mix different DRBD series.
> >>>
> >>> apt-show-versions:
> >>> drbd8-module-2.6.24-24-server/hardy uptodate 2:8.3.5-0+2.6.24-24.53
> >>> drbd8-utils/hardy uptodate 2:8.3.5-0
> >>>
> >>> uname-r:
> >>> 2.6.24-25-server
> >>>
> >>
> >> this might sound like a silly question, but did have the 8.0.11 kernel
> >> module loaded when you installed/reinstalled 8.3.5 and then not unload and
> >> reload the modules? that would be my first guess as to what is going on.
> >>
> >> mike
> >>
> >
> >
> >
> > --
> > Scott Inderlied
> > Northwest Computer Service
> > 580 727 5170
> > scott at northwestcomputer.biz
> >
> > This message is intended only for the use of the individual or entity to
> > which it is addressed and may contain information that is privileged,
> > confidential, and exempt from disclosure under applicable law.  If you
> > have received this message in error, you are hereby notified that we do
> > not consent to any reading, dissemination, distribution, or copying of
> > this message.  If you have received this communication in error, Please
> > notify the sender immediately and destroy the transmitted information.
> >
> >
> 
> 
> -- 
> Scott Inderlied
> Northwest Computer Service
> 580 727 5170
> scott at northwestcomputer.biz
> 
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain information that is privileged,
> confidential, and exempt from disclosure under applicable law.  If you
> have received this message in error, you are hereby notified that we do
> not consent to any reading, dissemination, distribution, or copying of
> this message.  If you have received this communication in error, Please
> notify the sender immediately and destroy the transmitted information.

> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list