[DRBD-user] DRBD's startup script waits for the peer node(s) to appear. But nothing heapend.

MP mpullmann at centrum.cz
Thu Aug 10 11:37:25 CEST 2006

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


Hi all,

after restart "node1" the drbd will not start. DRBD's startup script
waits for the peer node(s) to appear. But nothing heapend.
Ping OK, no firewall

please help, thanks

node2 (at this time master) log (/var/log/messages):

Aug 10 11:33:09 hpedi2 kernel: drbd0: drbd0_receiver [6011]: cstate 
WFConnection --> WFReportParams
Aug 10 11:33:09 hpedi2 kernel: drbd0: Handshake successful: DRBD Network 
Protocol version 74
Aug 10 11:33:09 hpedi2 kernel: drbd0: Connection established.
Aug 10 11:33:09 hpedi2 kernel: drbd0: I am(P): 
1:00000012:00000002:00000054:00000010:10
Aug 10 11:33:09 hpedi2 kernel: drbd0: Peer(S): 
1:00000018:00000002:0000004f:00000010:00
Aug 10 11:33:09 hpedi2 kernel: drbd0: Current Primary shall become sync 
TARGET! Aborting to prevent data corruption.
Aug 10 11:33:09 hpedi2 kernel: drbd0: drbd0_receiver [6011]: cstate 
WFReportParams --> StandAlone
Aug 10 11:33:09 hpedi2 kernel: drbd0: error receiving ReportParams, l: 72!
Aug 10 11:33:09 hpedi2 kernel: drbd0: worker terminated
Aug 10 11:33:09 hpedi2 kernel: drbd0: asender terminated
Aug 10 11:33:09 hpedi2 kernel: drbd0: drbd0_receiver [6011]: cstate 
StandAlone --> StandAlone
Aug 10 11:33:09 hpedi2 kernel: drbd0: Connection lost.
Aug 10 11:33:09 hpedi2 kernel: drbd0: receiver terminated


node1 log (/var/log/messages):

Aug 10 11:32:57 hpedi1 kernel: drbd: initialised. Version: 0.7.14 
(api:77/proto:74)
Aug 10 11:32:57 hpedi1 kernel: drbd: SVN Revision: 1990 build by 
root at descartes, 2006-01-21 01:50:56
Aug 10 11:32:57 hpedi1 kernel: drbd: hijacking NBD device major!
Aug 10 11:32:57 hpedi1 kernel: drbd: registered as block device major 43
Aug 10 11:32:57 hpedi1 /etc/hotplug/block.agent[6623]: try 1 while 
waiting for /block/drbd0's bus_id
Aug 10 11:32:57 hpedi1 kernel: drbd0: resync bitmap: bits=14595072 
words=456096
Aug 10 11:32:57 hpedi1 kernel: drbd0: size = 55 GB (58380288 KB)
Aug 10 11:32:57 hpedi1 kernel: klogd 1.4.1, ---------- state change 
----------
Aug 10 11:32:58 hpedi1 /etc/hotplug/block.agent[6623]: try 2 while 
waiting for /block/drbd0's bus_id
Aug 10 11:32:59 hpedi1 /etc/hotplug/block.agent[6623]: try 3 while 
waiting for /block/drbd0's bus_id
Aug 10 11:33:00 hpedi1 /etc/hotplug/block.agent[6623]: try 4 while 
waiting for /block/drbd0's bus_id
Aug 10 11:33:01 hpedi1 /etc/hotplug/block.agent[6623]: try 5 while 
waiting for /block/drbd0's bus_id
Aug 10 11:33:01 hpedi1 /USR/SBIN/CRON[6651]: (actis) CMD (/bin/sh 
/edi/tools/provespace)
Aug 10 11:33:03 hpedi1 /etc/hotplug/block.agent[6623]: new block device 
/block/drbd0
Aug 10 11:33:09 hpedi1 kernel: drbd0: 1094 MB marked out-of-sync by on 
disk bit-map.
Aug 10 11:33:09 hpedi1 kernel: drbd0: Found 6 transactions (324 active 
extents) in activity log.
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbdsetup [6645]: cstate 
Unconfigured --> StandAlone
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbdsetup [6678]: cstate 
StandAlone --> Unconnected
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
Unconnected --> WFConnection
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
WFConnection --> WFReportParams
Aug 10 11:33:09 hpedi1 kernel: drbd0: Handshake successful: DRBD Network 
Protocol version 74
Aug 10 11:33:09 hpedi1 kernel: drbd0: Connection established.
Aug 10 11:33:09 hpedi1 kernel: drbd0: I am(S): 
1:00000018:00000002:0000004f:00000010:00
Aug 10 11:33:09 hpedi1 kernel: drbd0: Peer(P): 
1:00000012:00000002:00000054:00000010:10
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
WFReportParams --> WFBitMapS
Aug 10 11:33:09 hpedi1 kernel: drbd0: sock_sendmsg returned -32
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
WFBitMapS --> BrokenPipe
Aug 10 11:33:09 hpedi1 kernel: drbd0: short sent ReportBitMap size=4096 
sent=0
Aug 10 11:33:09 hpedi1 kernel: drbd0: Secondary/Unknown --> 
Secondary/Primary
Aug 10 11:33:09 hpedi1 kernel: drbd0: meta connection shut down by peer.
Aug 10 11:33:09 hpedi1 kernel: drbd0: asender terminated
Aug 10 11:33:09 hpedi1 kernel: drbd0: sock was shut down by peer
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
BrokenPipe --> BrokenPipe
Aug 10 11:33:09 hpedi1 kernel: drbd0: short read expecting header on 
sock: r=0
Aug 10 11:33:09 hpedi1 kernel: drbd0: worker terminated
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
BrokenPipe --> Unconnected
Aug 10 11:33:09 hpedi1 kernel: drbd0: Connection lost.
Aug 10 11:33:09 hpedi1 kernel: drbd0: drbd0_receiver [6679]: cstate 
Unconnected --> WFConnection



drbd.conf:

  on hpedi1 {
    device     /dev/nb0;
    disk       /dev/vg00/lv_edi;
    address    192.168.1.1:7788;
    meta-disk  internal;
  }

  on hpedi2 {
    device    /dev/nb0;
    disk      /dev/vg00/lv_edi;
    address   192.168.1.2:7788;
    meta-disk internal;
  }








More information about the drbd-user mailing list