[DRBD-user] DRBD 0.8rc2 deadlock "WFBitMap" ?

Philipp Reisner philipp.reisner at linbit.com
Wed Jan 24 11:18:29 CET 2007

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


Am Montag, 22. Januar 2007 19:09 schrieb Ralf Schenk:
> Philipp Reisner schrieb:
> > drbdadm down all ; drbdadm up all
>
> That doesn't work: Error is:
> Child process does not terminate!
> Exiting.
> No response from the DRBD driver! Is the module loaded ?
>
> (Of course the module is loaded)
>
> > But, please post your excerpts from the kernel logs (of both machines)
> > of the incident.
> > And tell us if the clocks of the machines are in sync (with NTP), or
> > what time difference you have there.
>
> Both nodes dates are in sync with ntp.
>
> Ok what I did now: created the meta-data completely from scratch on both
> nodes (drbdadm create-md vm0[1,2]). I started drbd (/etc/init.d/drbd
> start). I set each of the two nodes primary for one drbd device (drbdadm
> primary -o vm0[1,2]). I expected drbd to start a full resync...
>

Hi Ralf,

Is this issue still open ?

So far I can not find anything that gives a hint for a problem. 
It looks like the peer node is a tar-pit ;)

Could you please provide the kernel log excerpts of the peer
node as well ?

The reformatted log messages:

Jan 22 18:44:11 hosta kernel: drbd0: disk( Diskless -> Attaching )
Jan 22 18:44:11 hosta kernel: drbd0: No usable activity log found.
Jan 22 18:44:11 hosta kernel: drbd0: max_segment_size ( = BIO size ) = 32768
Jan 22 18:44:11 hosta kernel: drbd0: drbd_bm_resize called with capacity== 838860800
Jan 22 18:44:11 hosta kernel: drbd0: resync bitmap: bits=104857600 words=1638400
Jan 22 18:44:11 hosta kernel: drbd0: size = 400 GB (419430400 KB)
Jan 22 18:44:11 hosta kernel: drbd0: writing of bitmap took 14 jiffies
Jan 22 18:44:11 hosta kernel: drbd0: 400 GB marked out-of-sync by ondisk bit-map.
Jan 22 18:44:11 hosta kernel: drbd0: 419430400 KB now marked out-of-syncby on disk bit-map.
Jan 22 18:44:11 hosta kernel: drbd0: reading of bitmap took 15 jiffies
Jan 22 18:44:11 hosta kernel: drbd0: recounting of set bits tookadditional 2 jiffies
Jan 22 18:44:11 hosta kernel: drbd0: 400 GB marked out-of-sync by ondisk bit-map.
Jan 22 18:44:11 hosta kernel: drbd0: disk( Attaching -> Inconsistent )
Jan 22 18:44:11 hosta kernel: drbd0: Writing meta data super block now.
Jan 22 18:44:12 hosta kernel: drbd0: Writing meta data super block now.
Jan 22 18:44:12 hosta kernel: drbd0: conn( StandAlone -> Unconnected )
Jan 22 18:44:12 hosta kernel: drbd0: receiver (re)started
Jan 22 18:44:12 hosta kernel: drbd0: conn( Unconnected -> WFConnection )
Jan 22 18:44:19 hosta kernel: drbd0: conn( WFConnection -> WFReportParams )
Jan 22 18:44:19 hosta kernel: drbd0: Handshake successful: DRBD Network Protocol version 86
Jan 22 18:44:19 hosta kernel: drbd0: Peer authenticated using 20 bytesof 'sha1' HMAC
Jan 22 18:44:19 hosta kernel: drbd0: No resync, but bits in bitmap!
Jan 22 18:44:19 hosta kernel: drbd0: peer( Unknown -> Secondary ) conn(WFReportParams -> Connected ) pdsk( DUnknown -> Inconsistent )
Jan 22 18:44:19 hosta kernel: drbd0: Writing meta data super block now.
Jan 22 18:45:41 hosta kernel: drbd0: role( Secondary -> Primary ) disk(Inconsistent -> UpToDate )
Jan 22 18:45:41 hosta kernel: drbd0: Forced to conisder local data asUpToDate!
Jan 22 18:45:41 hosta kernel: drbd0: Creating new current UUID
Jan 22 18:45:41 hosta kernel: drbd0: Writing meta data super block now.
Jan 22 18:45:41 hosta kernel: drbd0: conn( Connected -> WFBitMapS )
Jan 22 18:49:50 hosta kernel: drbd0: role( Primary -> Secondary )

Jan 22 18:44:11 hosta kernel: drbd1: disk( Diskless -> Attaching )
Jan 22 18:44:11 hosta kernel: drbd1: No usable activity log found.
Jan 22 18:44:11 hosta kernel: drbd1: max_segment_size ( = BIO size ) = 32768
Jan 22 18:44:11 hosta kernel: drbd1: drbd_bm_resize called with capacity== 838860800
Jan 22 18:44:11 hosta kernel: drbd1: resync bitmap: bits=104857600words=1638400
Jan 22 18:44:11 hosta kernel: drbd1: size = 400 GB (419430400 KB)
Jan 22 18:44:11 hosta kernel: drbd1: writing of bitmap took 6 jiffies
Jan 22 18:44:11 hosta kernel: drbd1: 400 GB marked out-of-sync by ondisk bit-map.
Jan 22 18:44:11 hosta kernel: drbd1: 419430400 KB now marked out-of-syncby on disk bit-map.
Jan 22 18:44:12 hosta kernel: drbd1: reading of bitmap took 23 jiffies
Jan 22 18:44:12 hosta kernel: drbd1: recounting of set bits tookadditional 2 jiffies
Jan 22 18:44:12 hosta kernel: drbd1: 400 GB marked out-of-sync by ondisk bit-map.
Jan 22 18:44:12 hosta kernel: drbd1: disk( Attaching -> Inconsistent )
Jan 22 18:44:12 hosta kernel: drbd1: Writing meta data super block now.
Jan 22 18:44:12 hosta kernel: drbd1: Writing meta data super block now.
Jan 22 18:44:12 hosta kernel: drbd1: conn( StandAlone -> Unconnected )
Jan 22 18:44:12 hosta kernel: drbd1: receiver (re)started
Jan 22 18:44:12 hosta kernel: drbd1: conn( Unconnected -> WFConnection )
Jan 22 18:44:19 hosta kernel: drbd1: conn( WFConnection -> WFReportParams )
Jan 22 18:44:19 hosta kernel: drbd1: Handshake successful: DRBD NetworkProtocol version 86
Jan 22 18:44:19 hosta kernel: drbd1: Peer authenticated using 20 bytesof 'sha1' HMAC
Jan 22 18:44:19 hosta kernel: drbd1: No resync, but bits in bitmap!
Jan 22 18:44:19 hosta kernel: drbd1: peer( Unknown -> Secondary ) conn(WFReportParams -> Connected ) pdsk( DUnknown -> Inconsistent )
Jan 22 18:44:19 hosta kernel: drbd1: Writing meta data super block now.
Jan 22 18:45:55 hosta kernel: drbd1: peer( Secondary -> Primary ) pdsk(Inconsistent -> UpToDate )
Jan 22 18:45:55 hosta kernel: drbd1: Writing meta data super block now.
Jan 22 18:45:55 hosta kernel: drbd1: conn( Connected -> WFBitMapT )
Jan 22 18:45:55 hosta kernel: drbd1: Writing meta data super block now.



-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :



More information about the drbd-user mailing list