Re: Problem kernel module DRBD on CentOS 5.3

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



Alan Sparks wrote:
> 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
>
>   
Alan,
You're right
$ uname -r
2.6.18-128.7.1.el5PAE

Wes, i had binutils installed and lastest version..
$ sudo rpm -qa | grep binutils
binutils-2.17.50.0.6-9.el5

Akemi,
Now DRBD already with kmod-DRBD83*
$ sudo rpm -qa | grep drbd
kmod-drbd83-8.3.2-6.el5_3
kmod-drbd83-PAE-8.3.2-6.el5_3
drbd83-8.3.2-6.el5_3
kmod-drbd83-xen-8.3.2-6.el5_3



-- 
Regards,
David
------------------------------------------------------------------------
./nobody
_______________________________________________
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