[DRBD-user] system hang during initial sync

Alessandro Zummo azummo-lists-drbd-user at towertech.it
Thu Oct 14 00:38:03 CEST 2004

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


 Hello,

   I was installing drbd on a cluster but got a complete hang on the system 
 that was going to be Primary, just toward the end of the syncronization process.

 Kernel is 2.6.9-rc2 w/ drbd 0.7.5 . 

 Is a bug or maybe I've missed something?

 Hope someone can help, thanks in advance...

on primary:

Oct  9 14:30:58 nitro kernel: drbd0: Creating state block
Oct  9 14:30:58 nitro kernel: drbd0: resync bitmap: bits=1921137 words=60036
Oct  9 14:30:58 nitro kernel: drbd0: size = 7504 MB (7684548 KB)
Oct  9 14:30:58 nitro kernel: drbd0: Assuming that all blocks are out of sync (aka FullSync)
Oct  9 14:30:58 nitro kernel: drbd0: 7684548 KB now marked out-of-sync by on disk bit-map.
Oct  9 14:30:58 nitro kernel: drbd0: drbdsetup [2043]: cstate Unconfigured --> StandAlone
Oct  9 14:30:58 nitro kernel: drbd0: drbdsetup [2045]: cstate StandAlone --> Unconnected
Oct  9 14:30:58 nitro kernel: drbd0: drbd0_receiver [2046]: cstate Unconnected --> WFConnection
Oct  9 14:32:17 nitro kernel: drbd0: drbdsetup [2281]: cstate WFConnection --> Unconnected
Oct  9 14:32:17 nitro kernel: drbd0: Discarding network configuration.
Oct  9 14:32:17 nitro kernel: drbd0: worker terminated
Oct  9 14:32:17 nitro kernel: drbd0: drbd0_receiver [2046]: cstate Unconnected --> StandAlone
Oct  9 14:32:17 nitro kernel: drbd0: Connection lost.
Oct  9 14:32:17 nitro kernel: drbd0: drbd0_receiver [2046]: cstate StandAlone --> StandAlone
Oct  9 14:32:17 nitro kernel: drbd0: receiver terminated
Oct  9 14:32:17 nitro kernel: drbd0: drbdsetup [2281]: cstate StandAlone --> StandAlone
Oct  9 14:32:17 nitro kernel: drbd0: drbdsetup [2281]: cstate StandAlone --> Unconfigured
Oct  9 14:32:17 nitro kernel: drbd0: worker terminated
Oct  9 14:34:46 nitro kernel: drbd0: resync bitmap: bits=1921137 words=60036
Oct  9 14:34:46 nitro kernel: drbd0: size = 7504 MB (7684548 KB)
Oct  9 14:34:46 nitro kernel: drbd0: 7504 MB marked out-of-sync by on disk bit-map.
Oct  9 14:34:46 nitro kernel: drbd0: No usable activity log found.
Oct  9 14:34:46 nitro kernel: drbd0: drbdsetup [3313]: cstate Unconfigured --> StandAlone
Oct  9 14:34:46 nitro kernel: drbd0: drbdsetup [3315]: cstate StandAlone --> Unconnected
Oct  9 14:34:46 nitro kernel: drbd0: drbd0_receiver [3316]: cstate Unconnected --> WFConnection
Oct  9 14:34:50 nitro kernel: drbd0: drbd0_receiver [3316]: cstate WFConnection --> WFReportParams
Oct  9 14:34:50 nitro kernel: drbd0: Handshake successful: DRBD Network Protocol version 74
Oct  9 14:34:50 nitro kernel: drbd0: Connection established.
Oct  9 14:34:50 nitro kernel: drbd0: I am(S): 0:00000001:00000001:00000001:00000001:00
Oct  9 14:34:50 nitro kernel: drbd0: Peer(S): 0:00000001:00000001:00000001:00000001:00
Oct  9 14:34:50 nitro kernel: drbd0: drbd0_receiver [3316]: cstate WFReportParams --> Connected
Oct  9 14:34:50 nitro kernel: drbd0: I am inconsistent, but there is no sync? BOTH nodes inconsistent!
Oct  9 14:34:50 nitro kernel: drbd0: Secondary/Unknown --> Secondary/Secondary
Oct  9 14:39:08 nitro kernel: drbd0: Secondary/Secondary --> Primary/Secondary
Oct  9 14:39:08 nitro kernel: drbd0: I am(P): 1:00000002:00000001:00000001:00000001:11
Oct  9 14:39:08 nitro kernel: drbd0: Peer(S): 0:00000001:00000001:00000001:00000001:01
Oct  9 14:39:08 nitro kernel: drbd0: drbd0_receiver [3316]: cstate Connected --> WFBitMapS
Oct  9 14:39:10 nitro kernel: drbd0: drbd0_receiver [3316]: cstate WFBitMapS --> SyncSource
Oct  9 14:39:10 nitro kernel: drbd0: Resync started as SyncSource (need to sync 7684548 KB [1921137 bits set]).

on secondary:

Oct  9 14:34:50 localhost kernel: drbd0: Creating state block
Oct  9 14:34:50 localhost kernel: drbd0: resync bitmap: bits=1921137 words=60036
Oct  9 14:34:50 localhost kernel: drbd0: size = 7504 MB (7684548 KB)
Oct  9 14:34:50 localhost kernel: drbd0: Assuming that all blocks are out of sync (aka FullSync)
Oct  9 14:34:50 localhost kernel: drbd0: 7684548 KB now marked out-of-sync by on disk bit-map.
Oct  9 14:34:50 localhost kernel: drbd0: drbdsetup [2018]: cstate Unconfigured --> StandAlone
Oct  9 14:34:50 localhost kernel: drbd0: drbdsetup [2020]: cstate StandAlone --> Unconnected
Oct  9 14:34:50 localhost kernel: drbd0: drbd0_receiver [2021]: cstate Unconnected --> WFConnection
Oct  9 14:34:50 localhost kernel: drbd0: drbd0_receiver [2021]: cstate WFConnection --> WFReportParams
Oct  9 14:34:50 localhost kernel: drbd0: Handshake successful: DRBD Network Protocol version 74
Oct  9 14:34:50 localhost kernel: drbd0: Connection established.
Oct  9 14:34:50 localhost kernel: drbd0: I am(S): 0:00000001:00000001:00000001:00000001:00
Oct  9 14:34:50 localhost kernel: drbd0: Peer(S): 0:00000001:00000001:00000001:00000001:00
Oct  9 14:34:50 localhost kernel: drbd0: drbd0_receiver [2021]: cstate WFReportParams --> Connected
Oct  9 14:34:50 localhost kernel: drbd0: I am inconsistent, but there is no sync? BOTH nodes inconsistent!
Oct  9 14:34:50 localhost kernel: drbd0: Secondary/Unknown --> Secondary/Secondary
Oct  9 14:39:08 localhost kernel: drbd0: I am(S): 0:00000001:00000001:00000001:00000001:01
Oct  9 14:39:08 localhost kernel: drbd0: Peer(P): 1:00000002:00000001:00000001:00000001:11
Oct  9 14:39:08 localhost kernel: drbd0: drbd0_receiver [2021]: cstate Connected --> WFBitMapT
Oct  9 14:39:08 localhost kernel: drbd0: Secondary/Secondary --> Secondary/Primary
Oct  9 14:39:09 localhost kernel: drbd0: drbd0_receiver [2021]: cstate WFBitMapT --> SyncTarget
Oct  9 14:39:09 localhost kernel: drbd0: Resync started as SyncTarget (need to sync 7684548 KB [1921137 bits set]).
Oct  9 14:44:37 localhost kernel: drbd0: drbd0_asender [2031]: cstate SyncTarget --> Timeout
Oct  9 14:44:37 localhost kernel: drbd0: drbd0_receiver [2021]: cstate Timeout --> BrokenPipe
Oct  9 14:44:37 localhost kernel: drbd0: short read receiving data block: read 40 expected 4096
Oct  9 14:44:37 localhost kernel: drbd0: worker terminated
Oct  9 14:44:37 localhost kernel: drbd0: asender terminated
Oct  9 14:44:37 localhost kernel: drbd0: drbd0_receiver [2021]: cstate BrokenPipe --> Unconnected
Oct  9 14:44:37 localhost kernel: drbd0: Connection lost.
Oct  9 14:44:37 localhost kernel: drbd0: drbd0_receiver [2021]: cstate Unconnected --> WFConnection
Oct  9 16:14:47 localhost kernel: drbd0: drbdsetup [3668]: cstate WFConnection --> Unconnected
Oct  9 16:14:47 localhost kernel: drbd0: Discarding network configuration.
Oct  9 16:14:47 localhost kernel: drbd0: worker terminated
Oct  9 16:14:47 localhost kernel: drbd0: drbd0_receiver [2021]: cstate Unconnected --> StandAlone
Oct  9 16:14:47 localhost kernel: drbd0: Connection lost.
Oct  9 16:14:47 localhost kernel: drbd0: drbd0_receiver [2021]: cstate StandAlone --> StandAlone
Oct  9 16:14:47 localhost kernel: drbd0: receiver terminated
Oct  9 16:14:47 localhost kernel: drbd0: drbdsetup [3668]: cstate StandAlone --> StandAlone
Oct  9 16:14:47 localhost kernel: drbd0: drbdsetup [3668]: cstate StandAlone --> Unconfigured
Oct  9 16:14:47 localhost kernel: drbd0: worker terminated


-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it




More information about the drbd-user mailing list