Re: Problem kernel module DRBD on CentOS 5.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



David Suhendrik wrote:
> Alan Sparks wrote:
>   
>> David Suhendrik wrote:
>>   
>>     
>>> Alan Sparks wrote:
>>>   
>>>     
>>>       
>>>> David Suhendrik wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Thanks Alan,
>>>>>
>>>>> This is error message when start service DRBD
>>>>> $ sudo /etc/init.d/drbd start
>>>>> Starting DRBD resources: Can not load the drbd module.
>>>>>
>>>>> I don't get any error message, and i think problem is DRBD kernel
>>>>> module, not ??
>>>>> $ sudo cat /proc/drbd  
>>>>> cat: /proc/drbd: No such file or directory
>>>>>
>>>>> -- 
>>>>> Regards,
>>>>> David
>>>>> ------------------------------------------------------------------------
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> And you've checked dmesg, and /var/log/messages?  And you created a
>>>> correct /etc/drbd.conf?
>>>> What have you actually done to this point?
>>>> -Alan
>>>>
>>>> _______________________________________________
>>>> CentOS mailing list
>>>> CentOS@xxxxxxxxxx
>>>> http://lists.centos.org/mailman/listinfo/centos
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>>> Alan,
>>> Please let me know your estimate?
>>> Im sure with my drbd.conf and i don't get any message about drbd both on 
>>> dmesg and message.
>>> I concern with this error message:
>>> $ sudo /etc/init.d/drbd start
>>> Starting DRBD resources: Can not load the drbd module.
>>>
>>> Indicate if DRBD module not loaded by kernel, may be missing module or 
>>> anything i don't know..., what do you think?
>>>
>>>   
>>>     
>>>       
>> Can you run "/sbin/modprobe -v drbd" as root and report results?
>> -Alan
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>   
>>     
> Alan,
> $ sudo /sbin/modprobe -v drbd
> FATAL: Module drbd not found.
>
> Akemi,
> $ sudo rpm -qa --qf "%{name}-%{version}-%{release}.%{arch}\n" kernel\* | 
> sort
> kernel-2.6.18-128.7.1.el5.i686
> kernel-debug-2.6.18-128.1.16.el5.i686
> kernel-debug-2.6.18-128.2.1.el5.i686
> kernel-debug-2.6.18-128.4.1.el5.i686
> kernel-debug-2.6.18-128.7.1.el5.i686
> kernel-headers-2.6.18-128.7.1.el5.i386
> kernel-PAE-2.6.18-128.1.14.el5.i686
> kernel-PAE-2.6.18-128.1.16.el5.i686
> kernel-PAE-2.6.18-128.2.1.el5.i686
> kernel-PAE-2.6.18-128.4.1.el5.i686
> kernel-PAE-2.6.18-128.7.1.el5.i686
> kernel-PAE-devel-2.6.18-128.1.14.el5.i686
> kernel-PAE-devel-2.6.18-128.1.16.el5.i686
> kernel-PAE-devel-2.6.18-128.2.1.el5.i686
> kernel-PAE-devel-2.6.18-128.4.1.el5.i686
> kernel-PAE-devel-2.6.18-128.7.1.el5.i686
>  
> $ sudo rpm -qa --qf "%{name}-%{version}-%{release}.%{arch}\n" | grep drbd
> drbd83-8.3.2-6.el5_3.i386
>
> ls -l `find /lib/modules -name drbd.ko`
> -rwxr--r-- 1 root root 242152 Sep  3 11:22 /lib/modules/2.6.18-128.1.16.el5PAE/kernel/drivers/block/drbd.ko
>
> That's all, next?
>
>
>   


So, if you run 'uname -a', do you see kernel 2.6.18-128.1.16.el5PAE
running?  I'm betting not, I'm betting you have installed the module for
that PAE kernel but you're running the 2.6.18-128.7.1.el5 kernel, and
that's why you can't find the module.
-Alan

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux