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: Michael Schwartzkopff <misch_at_nospam>
Date: Wed Mar 24 2010 - 09:14:07 GMT
To: drbd-user@lists.linbit.com

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.

Greetings,

-- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 _______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user