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 :)
On Tue, Jan 12, 2010 at 7:04 PM, robert mena robert.mena@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
Hi,
Thanks.
1) kmod-drbd82-8.2.6-2 drbd83-8.3.2-6.el5_3
2) lrwxrwxrwx 1 root root 52 Aug 6 17:28 /lib/modules/2.6.18-128.4.1.el5/weak-updates/drbd82/drbd.ko -> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko -rw-r--r-- 1 root root 2047377 Oct 26 15:07 /lib/modules/2.6.18-164.10.1.el5/extra/drbd82/drbd.ko lrwxrwxrwx 1 root root 48 Jan 12 22:19 /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 lrwxrwxrwx 1 root root 48 Nov 9 14:02 /lib/modules/2.6.18-164.6.1.el5/weak-updates/drbd82/drbd.ko -> /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko lrwxrwxrwx 1 root root 48 Dec 19 11:18 /lib/modules/2.6.18-164.9.1.el5/weak-updates/drbd82/drbd.ko -> /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko -rw-r--r-- 1 root root 2047377 Jan 12 22:52 /lib/modules/2.6.18-164.el5/extra/drbd82/drbd.ko lrwxrwxrwx 1 root root 52 Oct 8 23:26 /lib/modules/2.6.18-164.el5/weak-updates/drbd82/drbd.ko -> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko -rw-r--r-- 1 root root 2047377 Oct 3 2008 /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko
3) /sbin/modinfo drbd modinfo: could not find module drbd
On Wed, Jan 13, 2010 at 3:30 PM, Akemi Yagi amyagi@gmail.com wrote:
On Tue, Jan 12, 2010 at 7:04 PM, robert mena robert.mena@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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Jan 13, 2010 at 6:02 PM, robert mena robert.mena@gmail.com wrote:
Hi, Thanks.
kmod-drbd82-8.2.6-2 drbd83-8.3.2-6.el5_3
You have drbd83 but the kernel module is for drbd82. I would uninstall kmod-drbd82 and install kmod-drbd83. However, I'm not using drbd myself. Fabian? Ralph? anyone?
At any rate, once you have sorted out the 82/83 issue, run the find command again and make sure the current kernel points to the drbd83 module.
/sbin/modinfo drbd modinfo: could not find module drbd
This is weird. It is supposed to find the drbd module.
Akemi
On Wed, Jan 13, 2010 at 7:05 PM, Akemi Yagi amyagi@gmail.com wrote:
On Wed, Jan 13, 2010 at 6:02 PM, robert mena robert.mena@gmail.com wrote:
Hi, Thanks.
kmod-drbd82-8.2.6-2 drbd83-8.3.2-6.el5_3
You have drbd83 but the kernel module is for drbd82. I would uninstall kmod-drbd82 and install kmod-drbd83. However, I'm not using drbd myself. Fabian? Ralph? anyone?
If you are still having difficulties, read these instructions written by Johnny Hughes:
http://centosnow.blogspot.com/2009/08/drbd-packages-in-centos-4-and-centos-5...
Akemi