[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#648963: drbd8-modules-2.6.26-2-xen-amd64: initial sync failed for new drbd device



On Wed, 2011-11-16 at 16:54 +0400, Giovanni V. wrote:
> Package: drbd8-modules-2.6.26-2-xen-amd64
> Version: 2.6.26+8.0.14-6+lenny3
> Severity: normal
> 
> Hello,
> 
> I am using Debian GNU/Linux "Lenny" on servers with xen and drbd.
> Since upgrade to 5.0.9, it's impossible to synchronise a new drbd device.
> All works well until upgrade to 5.0.9.

Are you using a RAID or LVM device under drbd?

I applied fixes to the way the md and dm drivers determine I/O limits,
which in some cases will reduce those limits (and avoid the potential
for data loss).  This appears to have exposed a bug in drbd.

[...]
> Nov 14 14:38:51 gaia kernel: [ 1600.044222] drbd0: alloc_ee:
> bio_add_page(s=0,data_size=32768,ds=28672) failed
> Nov 14 14:38:51 gaia kernel: [ 1600.044319] drbd0: bio->bi_max_vecs = 16 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:253
> Nov 14 14:38:51 gaia kernel: [ 1600.044454] drbd0: bio->bi_vcnt = 1 in /build
> /buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:254
> Nov 14 14:38:51 gaia kernel: [ 1600.044562] drbd0: bio->bi_size = 4096 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:255
> Nov 14 14:38:51 gaia kernel: [ 1600.044689] drbd0: bio->bi_phys_segments = 1 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:256
> Nov 14 14:38:51 gaia kernel: [ 1600.044798] drbd0: bio->bi_hw_segments = 1 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:257
> Nov 14 14:38:51 gaia kernel: [ 1600.044910] drbd0: error receiving
> RSDataRequest, l: 24!
[...]

I wonder whether drbd assumes that the I/O limits are the same on both
machines.  Were both machines using the drbd device upgraded?

Ben.

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: