[DRBD-user] Re: RHEL 3 System crashes while syncing can someone help out??

RobH hahnraths at gmx.de
Fri Nov 19 14:24:39 CET 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi,

First I start drbd on maschine 1 then on maschine 2 the following text 
appears on screen

root at cluster01 init.d]# ./drbd start
drbd: pre-parsed needs update, parsing /etc/drbd.conf
.................................
Setting up 'drdb0' .. disk ok .. net .. OK
drbd:  drdb0  done.
drbd: 'drdb0' SyncingAll, but I have the good data. No need to wait.
drbd: WARNING: a cluster manager should not failover yet!
drbd: 'drdb0' still not in Connected state, but SyncingAll
        [>...................] sync'ed:  0.1% (400390/400390)M
        finish: 379:38:45h speed: 296 (296) K/sec
[root at cluster01 init.d]#

Then both systems crash on console screen 1 drbd_syncer_0/4511 
sock_sendmsg returned -32 appears
And so on
I guess that it will not work, did something went wrong during 
compiling?? There where no error messages or warnings.
Regards

RobH


"RobH" <hahnraths at gmx.de> wrote in message 
news:5B7A6FE2B5DCD6119C9000065B3AF5F3CCABC1 at HERAKLES:
> <html><head><meta HTTP-EQUIV="Content-Type" CONTENT="text/html;
> CHARSET=iso-8859-1"><link
> href="file:///c:/program%20files/newshound/newshound.css" type="text/css"
> rel="stylesheet"></head><body class="q0" style="MARGIN: 0px 8px 0px
> 8px;">Hi,<br><br>Yesterday I have tried to get DRBD 0.7.5 work on a RHEL 3
> machine the  <br class="sb">system crashed while syncing, 30 seconds after
> starting it.<br><br>What I have done now is to Compile DRBD 0.6.13 but this
> doesn't work  <br class="sb">also.<br>Kernel is 2.4.21-15EL Compile when
> with out any problems, have use the  <br class="sb">described Red hat
> procedure to compile drbd .<br><br>1. go to /boot and cp config-2.4.xxxx
> /usr/src/linux-2.4/<br>2. change to /usr/src/linux-2.4/<br>3. make
> mrproper<br>4. vi Makefile and remove the custom text<br>5. make -s
> oldconfig_nonint<br>6. make dep<br>7. make modules<br>8. make
> modules_install<br>9. tar -xvzf drbd-0.6.13.tar.gz to /usr/src<br>10. change
> to /usr/src/drbd-0.6.13/<br>11. vi drbd_config.h and edit the #define
> SIGHAND_HACK<br>12. change to /usr/src/drbd-0.6.13<br>13. make clean
> all<br>14. make<br>15. make install<br><br>insmod drbd with out any
> problems.<br><br>Here is the messages log<br>Maschine #1<br><br>Nov 19
> 11:10:45 cluster01 drbd: ===&gt; drbd start &lt;===<br>Nov 19 11:10:45
> cluster01 drbd: modprobe -s drbd minor_count=1<br>Nov 19 11:10:45 cluster01
> kernel: drbd: initialised. Version: 0.6.13  <br
> class="sb">(api:64/proto:62)<br>Nov 19 11:10:45 cluster01 drbd: drbdsetup
> /dev/nb0 disk /dev/sda2  <br class="sb">--do-panic<br>Nov 19 11:10:45
> cluster01 drbd: drbdsetup /dev/nb0 net 10.0.0.1:7788  <br
> class="sb">10.0.0.2:7788 C --sync-rate=10M --tl-size=256 --timeout=60
> --c<br>onnect-int=10 --ping-int=10<br>Nov 19 11:10:46 cluster01 drbd:
> drbdsetup /dev/nb0 wait_connect -t 0<br>Nov 19 11:10:46 cluster01 kernel:
> drbd0: Connection established.  <br class="sb">size=417657870 KB /
> blksize=4096 B<br>Nov 19 11:10:46 cluster01 kernel: klogd 1.4.1, ----------
> state change  <br class="sb">----------<br>Nov 19 11:10:46 cluster01 kernel:
> drbd0: FULL Synchronisation started  <br class="sb">blks=15<br>Nov 19
> 11:10:46 cluster01 drbd: 'drdb0' SyncingAll, but I have the good  <br
> class="sb">data. No need to wait.<br>Nov 19 11:10:46 cluster01 drbd:
> WARNING: a cluster manager should not  <br class="sb">failover yet!<br>Nov
> 19 11:10:50 cluster01 kernel: drbd0: [drbd_syncer_0/4690]  <br
> class="sb">sock_sendmsg timeout count down: ko=4294967295<br>Nov 19 11:15:03
> cluster01 syslogd 1.4.1: restart.<br><br>Maschine2<br><br>Nov 19 12:08:32
> cluster02 drbd: ===&gt; drbd start &lt;===<br>Nov 19 12:08:32 cluster02
> drbd: modprobe -s drbd minor_count=1<br>Nov 19 12:08:32 cluster02 kernel:
> drbd: initialised. Version: 0.6.13  <br class="sb">(api:64/proto:62)<br>Nov
> 19 12:08:32 cluster02 drbd: drbdsetup /dev/nb0 disk /dev/sda2  <br
> class="sb">--do-panic<br>Nov 19 12:08:32 cluster02 drbd: drbdsetup /dev/nb0
> net 10.0.0.2:7788  <br class="sb">10.0.0.1:7788 C --sync-rate=10M
> --tl-size=256 --<br>timeout=60 --connect-int=10 --ping-int=10<br>Nov 19
> 12:08:32 cluster02 drbd: drbdsetup /dev/nb0 wait_connect -t 0<br>Nov 19
> 12:08:39 cluster02 drbd: Operator forced primary status on drdb0  <br
> class="sb">(/dev/nb0)<br>Nov 19 12:08:39 cluster02 drbd: drbdsetup /dev/nb0
> primary --human<br>Nov 19 12:08:39 cluster02 drbd: ERROR: drbdsetup /dev/nb0
> primary  <br class="sb">--human [21]:<br>Nov 19 12:08:39 cluster02 drbd:
> ERROR: ioctl() failed: Input/output  <br class="sb">error Local replica is
> inconsistent (--do-what-I-<br>say ?)<br>Nov 19 12:08:45 cluster02 kernel:
> drbd0: Connection established.  <br class="sb">size=417657870 KB /
> blksize=4096 B<br>Nov 19 12:08:45 cluster02 kernel: klogd 1.4.1, ----------
> state change  <br class="sb">----------<br>Nov 19 12:08:45 cluster02 kernel:
> drbd0: FULL Synchronisation started  <br class="sb">(target)<br>Nov 19
> 12:12:36 cluster02 syslogd 1.4.1: restart.<br><br>Hope someone can help
> me.<br>Regards<br>RobH</body></html>





More information about the drbd-user mailing list