Hi All,<br>Iam using the <b>drbd-8.2.6.tar </b>to install drbd on my redhat linux system.<br><br># uname -r<br>2.6.9-5.EL<br><br> ls /usr/src/kernels/<br>2.6.9-5.EL-hugemem-i686 2.6.9-5.EL-i686 2.6.9-5.EL-smp-i686<br><br>
make rpm KDIR=/usr/src/kernels/2.6.9-5.EL-smp-i686<br>make rpm KDIR=/usr/src/kernels/2.6.9-5.EL-i686<br>make rpm KDIR=/usr/src/kernels/2.6.9-5.EL-hugemem-i686<br>I have build the following rpms for the latest available kernel.<br>
You have now:<br>-rw-r--r-- 1 root root 190137 Jan 3 13:47 dist/RPMS/i386/drbd-8.2.6-3.i386.rpm<br>-rw-r--r-- 1 root root 106468 Jan 3 13:47 dist/RPMS/i386/drbd-debuginfo-8.2.6-3.i386.rpm<br>-rw-r--r-- 1 root root 737293 Jan 3 13:46 dist/RPMS/i386/drbd-km-2.6.9_5.EL-8.2.6-3.i386.rpm<br>
-rw-r--r-- 1 root root 739120 Jan 3 13:47 dist/RPMS/i386/drbd-km-2.6.9_5.ELhugemem-8.2.6-3.i386.rpm<br>-rw-r--r-- 1 root root 739101 Jan 3 13:44 dist/RPMS/i386/drbd-km-2.6.9_5.ELsmp-8.2.6-3.i386.rpm<br><br>and installed these RPMS and configured the drdb.<br>
<br>however,when I try to start the drbd iam getting the following error.<br><b>Starting DRBD resources: Can not load the drbd module.</b><br><br>drbd.conf:<br>-------------------<br>cat /etc/drbd.conf<br>#<br>global {<br>
#<br> minor-count 2;<br> usage-count ask;<br>}<br><br>common {<br> syncer { rate 10M; }<br>}<br><br>resource "drbd_mysql"{<br> protocol C;<br> startup {<br> wfc-timeout 0; ## Infinite!<br>
degr-wfc-timeout 120; ## 2 minutes.<br> }<br><br> disk {<br> on-io-error detach;<br> }<br><br> net {<br> max-buffers 2048;<br> }<br><br> syncer {<br> rate 10M;<br> al-extents 257;<br> }<br>
<br> # It is valid to move device, disk and meta-disk to the<br> # resource level.<br> on node1{<br> address x.x.x.x:7789; ##eth1<br> device /dev/drbd0;<br> disk /dev/sdc4;<br> meta-disk internal;<br>
}<br><br> on node2 {<br> address x.x.x.x:7789; ##eth1<br> device /dev/drbd0;<br> disk /dev/sdc5;<br> meta-disk internal;<br> }<br>}<br><br><pre class="programlisting">drbdadm create-md drbd_mysql ---done.</pre>
<br>Please help in resolving the issue.<br>Not sure what is causing the problem.<br><br>Thankyou.<br>kris.<br><br><br>