[DRBD-user] drbd is not resyncing

Patrick van de lageweg patrick at BitWizard.nl
Tue Feb 21 09:50:21 CET 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,

I'm having problems with the drbd resync after a node failure. This is
what I do:

- Make sure the master and slave are in sync
- pull the power 
- Write some data to the slave that's became active
- shutdown the slave
- start the master. The master is waiting till the slave becomes online
- start the slave

Since I wrote data on the slave I expect the slave will sync to the
master. However that's not the case. Then slave thinks, as far as I can
see in the logs, that no blocks need to be sync. Anybody an idea what's
going wrong:

The (relevant) logs from the master:

Feb 20 11:55:33 (none) drbd0: drbd0_receiver [2371]: cstate WFConnection
--> WFReportParams
Feb 20 11:55:33 (none) drbd0: Handshake successful: DRBD Network
Protocol version 74
Feb 20 11:55:33 (none) drbd0: Connection established.
Feb 20 11:55:33 (none) drbd0: I am(S):
1:00000002:00000007:0000001b:00000018:00
Feb 20 11:55:33 (none) drbd0: Peer(S):
1:00000002:00000007:0000001b:00000019:00
Feb 20 11:55:33 (none) drbd0: drbd0_receiver [2371]: cstate
WFReportParams --> WFBitMapT
Feb 20 11:55:33 (none) drbd0: Secondary/Unknown --> Secondary/Secondary
Feb 20 11:55:33 (none) drbd0: drbd0_receiver [2371]: cstate WFBitMapT
--> SyncTarget
Feb 20 11:55:33 (none) drbd0: Resync started as SyncTarget (need to sync
0 KB [0 bits set]).
Feb 20 11:55:33 (none) drbd0: Resync done (total 1 sec; paused 0 sec; 0
K/sec)
Feb 20 11:55:33 (none) drbd0: drbd0_receiver [2371]: cstate SyncTarget
--> Connected
Feb 20 11:55:46 (none) drbd0: Secondary/Secondary --> Primary/Secondary



>From the slave:

Feb 20 11:54:02 (none) drbd: initialised. Version: 0.7.16
(api:77/proto:74)
Feb 20 11:54:02 (none) drbd: SVN Revision: 2066 build by
patrick at panoramix, 2006-02-16 12:59:58
Feb 20 11:54:02 (none) drbd: registered as block device major 147
Feb 20 11:54:02 (none) udev[2359]: creating device node '/dev/drbd0'
Feb 20 11:54:03 (none) drbd0: resync bitmap: bits=20070400 words=627200
Feb 20 11:54:03 (none) drbd0: size = 76 GB (80281600 KB)
Feb 20 11:54:03 (none) drbd0: 0 KB marked out-of-sync by on disk
bit-map.
Feb 20 11:54:03 (none) drbd0: Found 6 transactions (324 active extents)
in activity log.
Feb 20 11:54:03 (none) drbd0: drbdsetup [2370]: cstate Unconfigured -->
StandAlone
Feb 20 11:54:03 (none) drbd0: drbdsetup [2383]: cstate StandAlone -->
Unconnected
Feb 20 11:54:03 (none) drbd0: drbd0_receiver [2384]: cstate Unconnected
--> WFConnection
Feb 20 11:54:06 (none) drbd0: drbd0_receiver [2384]: cstate WFConnection
--> WFReportParams
Feb 20 11:54:06 (none) drbd0: Handshake successful: DRBD Network
Protocol version 74
Feb 20 11:54:06 (none) drbd0: Connection established.
Feb 20 11:54:06 (none) drbd0: I am(S):
1:00000002:00000007:0000001b:00000019:00
Feb 20 11:54:06 (none) drbd0: Peer(S):
1:00000002:00000007:0000001b:00000018:00
Feb 20 11:54:06 (none) drbd0: drbd0_receiver [2384]: cstate
WFReportParams --> WFBitMapS
Feb 20 11:54:06 (none) drbd0: Secondary/Unknown --> Secondary/Secondary
Feb 20 11:54:06 (none) drbd0: drbd0_receiver [2384]: cstate WFBitMapS
--> SyncSource
Feb 20 11:54:06 (none) drbd0: Resync started as SyncSource (need to sync
0 KB [0 bits set]).
Feb 20 11:54:06 (none) drbd0: Resync done (total 1 sec; paused 0 sec; 0
K/sec)
Feb 20 11:54:06 (none) drbd0: drbd0_receiver [2384]: cstate SyncSource
--> Connected
Feb 20 11:54:19 (none) drbd0: Secondary/Secondary --> Secondary/Primary



        Patrick
	



More information about the drbd-user mailing list