[DRBD-user] DRBD not syncing with new secondary

Lars Ellenberg lars.ellenberg at linbit.com
Wed Sep 17 10:42:22 CEST 2014

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

On Tue, Aug 26, 2014 at 06:01:59PM +0200, Christian Koschmieder wrote:
> Hello!
> I found the problem.
> Even though i created the partitions underlying the DRBD with
> exactly the same size as on the old server and the still running

Verify that.
Check "cat /proc/partitions"

> primary it seems to have been too small.
> Maybe the newer version of drbd uses more space for the meta data?

Certainly not.

> But what made it difficult to find was that although nearly all log
> messages went to /var/log/messages, the vital message only went to
> the syslog:

Please do not ugly-wrap log lines.

> block drbd1: conn( StandAlone -> Unconnected )
> block drbd1: Starting receiver thread (from drbd1_worker [1733])
> block drbd1: receiver (re)started
> block drbd1: conn( Unconnected -> WFConnection )
> block drbd1: Handshake successful: Agreed network protocol version 91
> block drbd1: conn( WFConnection -> WFReportParams )
> block drbd1: Starting asender thread (from drbd1_receiver [22671])
> block drbd1: data-integrity-alg: <not-used>
> block drbd1: The peer's disk size is too small!

That's an "error" level message.
It should go to where your syslog is configured to
record kern.err level messages.

> block drbd1: conn( WFReportParams -> Disconnecting )
> block drbd1: error receiving ReportSizes, l: 32!
> block drbd1: asender terminated
> block drbd1: Terminating drbd1_asender
> block drbd1: Connection closed
> block drbd1: conn( Disconnecting -> StandAlone )
> block drbd1: receiver terminated
> block drbd1:
> After resizing the partitions everythings running smoothly.


: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
please don't Cc me, but send to list   --   I'm subscribed

More information about the drbd-user mailing list