[CentOS] Unable to use DRBD after a reboot

Akemi Yagi amyagi at gmail.com
Sat Mar 14 09:03:21 UTC 2009


On Sat, Mar 14, 2009 at 1:42 AM, Fabian Arrotin
<fabian.arrotin at arrfab.net> wrote:
> robert mena wrote:
>> Hi,
>>
>> I have two servers in a drbd primary/secondary setup.   Everything was
>> fine until I had to reboot both servers.

>> rpm -qa | grep drbd
>> drbd82-8.2.6-1.el5.centos
>> kmod-drbd82-8.2.6-2
>>
>> Kernel 2.6.18-92.1.22.el5 #1 SMP

> Is the drbd module loaded on the failing node ?
> kmod-drbd82-8.2.6-2 contains the drbd.ko module (in
> /lib/modules/2.6.18-92.1.13.el5/extra/drbd82/drbd.ko)
> When you update your kernel, a /sbin/weak-modules script is called to
> symlink the extras kmods from previous kernels to all install kernels.
> So that means that in your actual
> /lib/modules/2.6.18-92.1.22.el5/weak-updates/drbd82/ folder contains
> symlinks to the original one.
> It that the case ? have you manually deleted the old
> /lib/modules/2.6.18-92.1.13.el5/ directory ?

To find that out, issue the command:

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

and make sure all symlinks are there (no red-flashing link).

Akemi



More information about the CentOS mailing list