drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] drbd1: The peer's disk size is too sm

Re: [DRBD-user] drbd1: The peer's disk size is too small!

From: Lars Ellenberg <lars.ellenberg_at_nospam>
Date: Wed Mar 24 2010 - 09:53:56 GMT
To: drbd-user@lists.linbit.com

On Wed, Mar 24, 2010 at 10:14:07AM +0100, Michael Schwartzkopff wrote:
> Am Dienstag, 23. März 2010 18:13:54 schrieb Qwerty-1:
> > Hi All,
> >
> > When i start my HA system, My Primary server is not able to make tcp
> > conection with Secondary Server for replication of one of the resource. It
> > is able to make TCP Connection for other resource that is replicated
> > between Primary and Secondary Server.
> > I have captured the logs and found the following errors in logs:
> >
> > Mar 23 14:41:56 YYuu kernel: drbd1: drbd1_receiver [30407]: cstate
> > WFConnection --> WFReportParams
> > Mar 23 14:41:56 YYuu kernel: drbd1: Handshake successful: DRBD Network
> > Protocol version 74
> > Mar 23 14:41:56 YYuu kernel: drbd1:
> > /usr/src/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_receiver.c:1478:
> > bitmap already locked by
> > /usr/src/drbd-0.7.25/dist/BUILD/drbd-0.7.25/drbd/drbd_receiver.c:1478
> > Mar 23 14:41:56 YYuu kernel: drbd1: The peer's disk size is too small!
> > Mar 23 14:41:56 YYuu kernel: drbd1: drbd1_receiver [30407]: cstate
> > WFReportParams --> StandAlone
> > Mar 23 14:41:56 YYuu kernel: drbd1: error receiving ReportParams, l: 72!
> > Mar 23 14:41:56 YYuu kernel: drbd1: worker terminated
> > Mar 23 14:41:56 YYuu kernel: drbd1: asender terminated
> > Mar 23 14:41:56 YYuu kernel: drbd1: drbd1_receiver [30407]: cstate
> > StandAlone --> StandAlone
> > Mar 23 14:41:56 YYuu kernel: drbd1: Connection lost.
> > Mar 23 14:41:56 YYuu kernel: drbd1: receiver terminated
> >
> > I googled lot for this error and found this error occures when there is
> > mismatch of hard-drive mapping between Primary Server and Secondary Server.
> > But i did not find the solution for the same. Please help me out by telling
> > the solution for the same.
> >
> > Thanks in Advance
>
> Set the size option in the disk section to the value of the smaller disk.

Yeah sure.
And thereby truncate the existing data.

Having a bad day again?

-- : 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 _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user