[CentOS] Problems loading drbd after upgrade

Akemi Yagi amyagi at gmail.com
Wed Jan 13 19:30:25 UTC 2010


On Tue, Jan 12, 2010 at 7:04 PM, robert mena <robert.mena at gmail.com> wrote:
> Hi,
> I've upgrade the kernel to the latest version (C5) and after the update the
> drbd is not being loaded at reboot time.
> My previous running kernel was 2.6.18-164.el5.
> I've checked the /lib/modules/ and
> /lib/modules/2.6.18-164.10.1.el5/weak-updates/drbd82/drbd.ko ->
> /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
> And /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko exists
> 2004 -rw-r--r-- 1 root root 2047377 Jan 12 22:52
> /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko
> And the contents (at least the size) is the same of the kmod-drbd82
> rpm -ql kmod-drbd82
> /lib/modules/2.6.18-92.1.13.el5
> /lib/modules/2.6.18-92.1.13.el5/extra
> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82
> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
> ls -lsa /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
> 2004 -rw-r--r-- 1 root root 2047377 Oct  3  2008
> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
> If I insmod the drbd I can load it and if I start (service drbd start) I can
> access the shares so something is wrong :)

Could you show us the output of the following?

rpm -qa | grep drbd

ls -l `find /lib/modules -name drbd.ko`

/sbin/modinfo drbd

Akemi


More information about the CentOS mailing list