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

RobH hahnraths at gmx.de
Fri Nov 19 11:57:28 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,

Yesterday I have tried to get DRBD 0.7.5 work on a RHEL 3 machine the 
system crashed while syncing, 30 seconds after starting it.

What I have done now is to Compile DRBD 0.6.13 but this doesn't work 
also.
Kernel is 2.4.21-15EL Compile when with out any problems, have use the 
described Red hat procedure to compile drbd .

1. go to /boot and cp config-2.4.xxxx /usr/src/linux-2.4/
2. change to /usr/src/linux-2.4/
3. make mrproper
4. vi Makefile and remove the custom text
5. make -s oldconfig_nonint
6. make dep
7. make modules
8. make modules_install
9. tar -xvzf drbd-0.6.13.tar.gz to /usr/src
10. change to /usr/src/drbd-0.6.13/
11. vi drbd_config.h and edit the #define SIGHAND_HACK
12. change to /usr/src/drbd-0.6.13
13. make clean all
14. make
15. make install

insmod drbd with out any problems.

Here is the messages log
Maschine #1

Nov 19 11:10:45 cluster01 drbd: ===> drbd start <===
Nov 19 11:10:45 cluster01 drbd: modprobe -s drbd minor_count=1
Nov 19 11:10:45 cluster01 kernel: drbd: initialised. Version: 0.6.13 
(api:64/proto:62)
Nov 19 11:10:45 cluster01 drbd: drbdsetup /dev/nb0 disk /dev/sda2 
--do-panic
Nov 19 11:10:45 cluster01 drbd: drbdsetup /dev/nb0 net 10.0.0.1:7788 
10.0.0.2:7788 C --sync-rate=10M --tl-size=256 --timeout=60 --c
onnect-int=10 --ping-int=10
Nov 19 11:10:46 cluster01 drbd: drbdsetup /dev/nb0 wait_connect -t 0
Nov 19 11:10:46 cluster01 kernel: drbd0: Connection established. 
size=417657870 KB / blksize=4096 B
Nov 19 11:10:46 cluster01 kernel: klogd 1.4.1, ---------- state change 
----------
Nov 19 11:10:46 cluster01 kernel: drbd0: FULL Synchronisation started 
blks=15
Nov 19 11:10:46 cluster01 drbd: 'drdb0' SyncingAll, but I have the good 
data. No need to wait.
Nov 19 11:10:46 cluster01 drbd: WARNING: a cluster manager should not 
failover yet!
Nov 19 11:10:50 cluster01 kernel: drbd0: [drbd_syncer_0/4690] 
sock_sendmsg timeout count down: ko=4294967295
Nov 19 11:15:03 cluster01 syslogd 1.4.1: restart.

Maschine2

Nov 19 12:08:32 cluster02 drbd: ===> drbd start <===
Nov 19 12:08:32 cluster02 drbd: modprobe -s drbd minor_count=1
Nov 19 12:08:32 cluster02 kernel: drbd: initialised. Version: 0.6.13 
(api:64/proto:62)
Nov 19 12:08:32 cluster02 drbd: drbdsetup /dev/nb0 disk /dev/sda2 
--do-panic
Nov 19 12:08:32 cluster02 drbd: drbdsetup /dev/nb0 net 10.0.0.2:7788 
10.0.0.1:7788 C --sync-rate=10M --tl-size=256 --
timeout=60 --connect-int=10 --ping-int=10
Nov 19 12:08:32 cluster02 drbd: drbdsetup /dev/nb0 wait_connect -t 0
Nov 19 12:08:39 cluster02 drbd: Operator forced primary status on drdb0 
(/dev/nb0)
Nov 19 12:08:39 cluster02 drbd: drbdsetup /dev/nb0 primary --human
Nov 19 12:08:39 cluster02 drbd: ERROR: drbdsetup /dev/nb0 primary 
--human [21]:
Nov 19 12:08:39 cluster02 drbd: ERROR: ioctl() failed: Input/output 
error Local replica is inconsistent (--do-what-I-
say ?)
Nov 19 12:08:45 cluster02 kernel: drbd0: Connection established. 
size=417657870 KB / blksize=4096 B
Nov 19 12:08:45 cluster02 kernel: klogd 1.4.1, ---------- state change 
----------
Nov 19 12:08:45 cluster02 kernel: drbd0: FULL Synchronisation started 
(target)
Nov 19 12:12:36 cluster02 syslogd 1.4.1: restart.

Hope someone can help me.
Regards
RobH





More information about the drbd-user mailing list