[DRBD-user] block drbd0: bio would need to, but cannot, be split error on physical device

Vadym Chepkov chepkov at yahoo.com
Tue Dec 8 04:26:46 CET 2009

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

--- On Mon, 12/7/09, Lars Ellenberg <lars.ellenberg at linbit.com> wrote:
> hm. ugly.
> no one should not submit 64k bios to DRBD, as we
> unfortunately have a
> stupid badly chosen and someday to be fixed limit at 32k
> per bio.
> and we _do_ announce this limit.

I never specified any block size or modified any non-default parameters during compilation. Should I compile drbd differently and include some flags to reduce per bio size?

> > I am lost. drbd 8.2.6 was working on this server, by
> the way, but I
> > can't make 8.3 to work, no matter what. Could anybody
> help, please?
> interessting.
> may I have the kernel log from modprobe to first attach of
> drbd?
> specifically I'm looking for "drbd0: max_segment_size",
> which may be adjusted while attaching,
> as well as during connection handshake.

This is from dmesg output

drbd: initialized. Version: 8.3.5 (api:88/proto:86-91)
drbd: GIT-hash: ded8cdf09b0efa1460e8ce7a72327c60ff2210fb build by vchepkov at ashlin02, 2009-12-05 19:33:37
drbd: registered as block device major 147
drbd: minor_table @ 0xc0000000ea5e7380
blk_queue_max_segment_size: set to minimum 65536
block drbd0: Starting worker thread (from cqueue/0 [292])
block drbd0: disk( Diskless -> Attaching ) 
block drbd0: No usable activity log found.
block drbd0: Method to ensure write ordering: barrier
blk_queue_max_sectors: set to minimum 128
blk_queue_max_segment_size: set to minimum 65536
block drbd0: max_segment_size ( = BIO size ) = 65536
block drbd0: drbd_bm_resize called with capacity == 143367808
block drbd0: resync bitmap: bits=17920976 words=280016
block drbd0: size = 68 GB (71683904 KB)
block drbd0: recounting of set bits took additional 11 jiffies
block drbd0: 0 KB (0 bits) marked out-of-sync by on disk bit-map.
block drbd0: disk( Attaching -> UpToDate ) 
block drbd0: conn( StandAlone -> Unconnected ) 
block drbd0: Starting receiver thread (from drbd0_worker [10546])
block drbd0: receiver (re)started
block drbd0: conn( Unconnected -> WFConnection ) 
block drbd0: Handshake successful: Agreed network protocol version 91
block drbd0: conn( WFConnection -> WFReportParams ) 
block drbd0: Starting asender thread (from drbd0_receiver [10560])
block drbd0: data-integrity-alg: <not-used>
block drbd0: drbd_sync_handshake:
block drbd0: self 79D6001F66F608BE:0000000000000000:0000000000000000:0000000000000000 bits:0 flags:0
block drbd0: peer 9201686E423E8624:79D6001F66F608BF:0000000000000000:0000000000000000 bits:0 flags:0
block drbd0: uuid_compare()=-1 by rule 50
block drbd0: peer( Unknown -> Secondary ) conn( WFReportParams -> WFBitMapT ) pdsk( DUnknown -> UpToDate ) 
block drbd0: conn( WFBitMapT -> WFSyncUUID ) 
block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0
block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0 exit code 0 (0x0)
block drbd0: conn( WFSyncUUID -> SyncTarget ) disk( UpToDate -> Inconsistent ) 
block drbd0: Began resync as SyncTarget (will sync 0 KB [0 bits set]).
block drbd0: Resync done (total 1 sec; paused 0 sec; 0 K/sec)
block drbd0: conn( SyncTarget -> Connected ) disk( Inconsistent -> UpToDate ) 
block drbd0: helper command: /sbin/drbdadm after-resync-target minor-0
block drbd0: helper command: /sbin/drbdadm after-resync-target minor-0 exit code 0 (0x0)
block drbd0: peer( Secondary -> Primary ) 

Thank you,
Vadym Chepkov

More information about the drbd-user mailing list