[DRBD-user] DRBD lockup

Taylor, Jonn jonnt at taylortelephone.com
Mon Dec 19 13:59:10 CET 2011

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


version: 8.2.6 (api:88/proto:86-88)
GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by 
buildsvn at c5-x8664-build, 2008-10-03 11:30:17
  0: cs:Connected st:Primary/Primary ds:UpToDate/UpToDate C r---
     ns:751292 nr:1980980 dw:2732272 dr:5108445 al:8607 bm:513 lo:0 pe:0 
ua:0 ap:0 oos:0
  1: cs:Connected st:Primary/Primary ds:UpToDate/UpToDate C r---
     ns:2283864 nr:2064436 dw:4348300 dr:18735777 al:19076 bm:563 lo:0 
pe:0 ua:0 ap:0 oos:0

dmesg

drbd: initialised. Version: 8.2.6 (api:88/proto:86-88)
drbd: GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by 
buildsvn at c5-x8664-build, 2008-10-03 11:30:17
drbd: registered as block device major 147
drbd: minor_table @ 0xffff8101201bb680
drbd0: disk( Diskless -> Attaching )
drbd0: Starting worker thread (from cqueue/0 [235])
drbd0: Found 6 transactions (324 active extents) in activity log.
drbd0: max_segment_size ( = BIO size ) = 32768
drbd0: drbd_bm_resize called with capacity == 143301472
drbd0: resync bitmap: bits=17912684 words=279886
drbd0: size = 68 GB (71650736 KB)
drbd0: reading of bitmap took 33 jiffies
drbd0: recounting of set bits took additional 3 jiffies
drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map.
drbd0: Marked additional 1028 MB as out-of-sync based on AL.
drbd0: disk( Attaching -> UpToDate )
drbd0: Writing meta data super block now.
drbd0: Barriers not supported on meta data device - disabling
drbd1: disk( Diskless -> Attaching )
drbd1: Starting worker thread (from cqueue/0 [235])
drbd1: Found 6 transactions (324 active extents) in activity log.
drbd1: max_segment_size ( = BIO size ) = 32768
drbd1: drbd_bm_resize called with capacity == 286668296
drbd1: resync bitmap: bits=35833537 words=559900
drbd1: size = 137 GB (143334148 KB)
drbd1: reading of bitmap took 88 jiffies
drbd1: recounting of set bits took additional 5 jiffies
drbd1: 0 KB (0 bits) marked out-of-sync by on disk bit-map.
drbd1: Marked additional 1028 MB as out-of-sync based on AL.
drbd1: disk( Attaching -> UpToDate )
drbd1: Writing meta data super block now.
drbd1: Barriers not supported on meta data device - disabling
drbd0: conn( StandAlone -> Unconnected )
drbd1: conn( StandAlone -> Unconnected )
drbd1: Starting receiver thread (from drbd1_worker [3902])
drbd1: receiver (re)started
drbd1: conn( Unconnected -> WFConnection )
drbd0: Starting receiver thread (from drbd0_worker [3894])
drbd0: receiver (re)started
drbd0: conn( Unconnected -> WFConnection )
drbd0: Handshake successful: Agreed network protocol version 88
drbd0: Peer authenticated using 20 bytes of 'sha1' HMAC
drbd0: conn( WFConnection -> WFReportParams )
drbd0: Starting asender thread (from drbd0_receiver [3918])
drbd1: Handshake successful: Agreed network protocol version 88
drbd1: Peer authenticated using 20 bytes of 'sha1' HMAC
drbd1: conn( WFConnection -> WFReportParams )
drbd1: Starting asender thread (from drbd1_receiver [3916])
drbd0: data-integrity-alg: <not-used>
drbd1: data-integrity-alg: <not-used>
drbd0: peer( Unknown -> Secondary ) conn( WFReportParams -> WFBitMapT ) 
pdsk( DUnknown -> UpToDate )
drbd0: Writing meta data super block now.
drbd1: peer( Unknown -> Secondary ) conn( WFReportParams -> WFBitMapT ) 
pdsk( DUnknown -> UpToDate )
drbd1: Writing meta data super block now.
drbd0: Requested state change failed by peer: TOO_SMALL
drbd1: conn( WFBitMapT -> WFSyncUUID )
drbd0: Requested state change failed by peer: TOO_SMALL
drbd0: State change failed: State changed was refused by peer node
drbd0:   state = { cs:WFBitMapT st:Secondary/Secondary 
ds:UpToDate/UpToDate r--- }
drbd0:  wanted = { cs:WFBitMapT st:Primary/Secondary 
ds:UpToDate/UpToDate r--- }
drbd1: helper command: /sbin/drbdadm before-resync-target
drbd1: conn( WFSyncUUID -> SyncTarget ) disk( UpToDate -> Inconsistent )
drbd1: Began resync as SyncTarget (will sync 2064384 KB [516096 bits set]).
drbd1: Writing meta data super block now.
drbd0: conn( WFBitMapT -> WFSyncUUID )
drbd0: peer( Secondary -> Primary )
drbd0: helper command: /sbin/drbdadm before-resync-target
drbd0: conn( WFSyncUUID -> SyncTarget ) disk( UpToDate -> Inconsistent )
drbd0: Began resync as SyncTarget (will sync 1978368 KB [494592 bits set]).
drbd0: Writing meta data super block now.
drbd1: peer( Secondary -> Primary )
drbd0: Resync done (total 56 sec; paused 0 sec; 35328 K/sec)
drbd0: conn( SyncTarget -> Connected ) disk( Inconsistent -> UpToDate )
drbd0: helper command: /sbin/drbdadm after-resync-target
drbd0: Writing meta data super block now.
drbd1: Resync done (total 61 sec; paused 0 sec; 33840 K/sec)
drbd1: conn( SyncTarget -> Connected ) disk( Inconsistent -> UpToDate )
drbd1: helper command: /sbin/drbdadm after-resync-target
drbd1: Writing meta data super block now.
drbd0: local disk flush failed with status -95
drbd1: local disk flush failed with status -95
drbd0: role( Secondary -> Primary )
drbd1: role( Secondary -> Primary )

There are no other error messages.

Jonn

On 12/19/2011 05:20 AM, Andreas Kurz wrote:
> Hello,
>
> On 12/18/2011 05:02 PM, Taylor, Jonn wrote:
>> I am having problems with drbd locking up randomly. I am using CentOS
>> 5.7 on a HP DL385 G5 x86_64 server. I am using gvfs, ctdb and samba 3.6.
>> Here are my configs. I used this setup.
> Without any further error description or logs ... and you use a really
> ancient version of DRBD (elrepo has latest rpms for your distro ...) ...
> you might want to check if you suffer from activity log starvation from
> time to time ("starving" counter in /proc/drbd) ... but only a wild
> guess ...
>
> Regards,
> Andreas
>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20111219/0e385619/attachment.htm>


More information about the drbd-user mailing list