Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
I try to use drdb with heartbeat. I use 2 nodes, node1 and node2. node1 is the main node in heartbeat configuration. When node1 dies, node2 becomes Primary. It's normal. When node1 reboots ,on this node, drbd start correctly, but dies immediatly. However, after the boot, drdb start very well with the command /etc/init.d/drbd start Could someone help me to solve this problem ? In /var/log/messages, the traces are: 09:47:53 network: Bringing up interface eth0: succeeded 09:47:57 network: Bringing up interface eth1: succeeded --------------------------------------------------------------------------------- 09:48:08 drbd: Starting DRBD resources: 09:48:08 kernel: drbd: initialised. Version: 0.7.21 (api:79/proto:74) 09:48:08 kernel: drbd: registered as block device major 147 09:48:14 kernel: drbd0: resync bitmap: bits=2411112 words=75348 09:48:14 kernel: drbd0: size = 9418 MB (9644448 KB) 09:48:15 kernel: drbd0: 0 KB marked out-of-sync by on disk bit-map. 09:48:15 kernel: drbd0: Found 6 transactions (324 active extents) in activity log. --------------------------------------------------------------------------------- 09:48:15 kernel: drbd0: drbd0_receiver [3544]: cstate Unconnected --> WFConnection --------------------------------------------------------------------------------- 09:48:16 kernel: drbd0: drbd0_receiver [3544]: cstate WFConnection --> WFReportParams 09:48:16 kernel: drbd0: Handshake successful: DRBD Network Protocol version 74 09:48:16 kernel: drbd0: Connection established. 09:48:16 kernel: *drbd0: I am(S): 1:00000003:00000030:00000099:00000009:00* 09:48:16 kernel:* drbd0: Peer(P): 1:00000003:00000030:0000009a:00000009:10* 09:48:16 kernel: drbd0: drbd0_receiver [3544]: cstate WFReportParams --> WFBitMapT 09:48:16 kernel: drbd0: Secondary/Unknown --> Secondary/Primary *09:48:16 rc: Starting drbd: succeeded* 09:48:16 kernel: drbd0: drbd0_receiver [3544]: cstate WFBitMapT --> SyncTarget 09:48:16 kernel: drbd0: Resync started as SyncTarget (need to sync 0 KB [0 bits set]). 09:48:16 kernel: drbd0: Resync done (total 1 sec; paused 0 sec; 0 K/sec) 09:48:16 kernel: drbd0: drbd0_receiver [3544]: cstate SyncTarget --> Connected --------------------------------------------------------------------------------- 09:48:16 iptables: succeeded --------------------------------------------------------------------------------- 09:48:17 kernel: drbd0: drbdsetup [3639]: cstate Connected --> Unconnected 09:48:17 kernel: drbd0: drbd0_receiver [3544]: cstate Unconnected --> BrokenPipe 09:48:17 kernel: drbd0: short read expecting header on sock: r=-512 09:48:17 kernel: drbd0: worker terminated 09:48:17 kernel: drbd0: asender terminated 09:48:17 kernel: drbd0: drbd0_receiver [3544]: cstate BrokenPipe --> StandAlone 09:48:17 kernel: *drbd0: Connection lost.* 09:48:17 kernel: drbd0: receiver terminated 09:48:17 kernel: drbd0: drbdsetup [3639]: cstate StandAlone --> StandAlone 09:48:17 kernel: drbd0: drbdsetup [3639]: cstate StandAlone --> Unconfigured 09:48:17 kernel: drbd0: worker terminated 09:48:17 kernel: drbd: module cleanup done. --------------------------------------------------------------------------------- -- ================================================================== | Régis Gras | http://www-ledss.ujf-grenoble.fr | | D.C.M. | mailto:Regis.Gras at ujf-grenoble.fr | | 301, rue de la chimie | -------------- | | DU BP 53 | Tel 04 76 51 41 76 | | 38041 Grenoble Cedex 9 | Fax 04 76 51 40 89 | ==================================================================