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

Michael Schwartzkopff misch at multinet.de
Wed Mar 24 10:58:30 CET 2010


Am Mittwoch, 24. März 2010 10:53:56 schrieb Lars Ellenberg:
> 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?

No. I did assume that this DRBD was never running and thus no data were on the 
partition. As far as my experiance show it is quite hard to get DRBD with 
different disk sizes to work without using the size option.

Of, course if there are data on the disk, the user hase to backup first.

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 at 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


More information about the drbd-user mailing list