[CentOS-devel] no drbd after update to 5.3

Mon Apr 13 21:05:09 UTC 2009
Akemi Yagi <amyagi at gmail.com>

On Mon, Apr 13, 2009 at 1:20 PM, Jerry Amundson <jamundso at gmail.com> wrote:
> On Mon, Apr 13, 2009 at 8:56 AM, Jerry Amundson <jamundso at gmail.com> wrote:
>> I have a dual xen/drbd cluster now broken after the 5.3 update Saturday.
>>  FATAL: Could not open
>> '/lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko': No
>> such file or directory
>
> Just to beat on this further, I ran into the the exact same problem
> when I upgraded the secondary server (note to self: update the
> secondary first next time :-).
>
> I'll leave this one "unfixed" for now, for the sake of investigating
> what may have caused the original problem.

Thank you.  That will help troubleshoot the current issue.

> [root at xenb ~]# uname -mr
> 2.6.18-92.1.22.el5xen i686
> [root at xenb ~]# rpm -qa kernel\* | sort
> kernel-headers-2.6.18-128.1.6.el5
> kernel-xen-2.6.18-128.1.6.el5
> kernel-xen-2.6.18-92.1.10.el5
> kernel-xen-2.6.18-92.1.22.el5
> [root at xenb ~]# rpm -qa \*drbd\* | sort
> drbd82-8.2.6-1.el5.centos
> kmod-drbd82-xen-8.2.6-1.2.6.18_92.1.10.el5
> kmod-drbd82-xen-8.2.6-2
> [root at xenb ~]# ls -l `find /lib/modules -name drbd.ko`
> lrwxrwxrwx 1 root root      54 Apr 13 13:57
> /lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko ->
> /lib/modules/2.6.18-92.1.6.el5xen/extra/drbd82/drbd.ko

This is not right.  kmod-drbd82-xen-8.2.6-2 is supposed to install:

/lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko

and the symlink should look like:

/lib/modules/2.6.18-128.1.6.el5xen/weak-updates/drbd82/drbd.ko ->
/lib/modules/2.6.18-92.1.13.el5xen/extra/drbd82/drbd.ko

Could you show us the output from:

rpm -ql kmod-drbd82-xen

rpm -q --scripts kmod-drbd82-xen

Akemi