[Drbd-dev] RE: [DRBD-cvs] svn commit by phil - r2607 -trunk/drbd- The fix forthe "both nodes in WFBitMaps" issue, Ernest

Philipp Reisner philipp.reisner at linbit.com
Fri Dec 22 14:44:40 CET 2006


Am Donnerstag, 21. Dezember 2006 19:19 schrieben Sie:
> Phil,
> Thanks for looking at this.  I was just trying to remove all the cluter
> To help you out.  I include a tar ball here with the full messages file
> for both nodes. Search for "Split" as a starting point since the issue
> seems
> to occur after a split brian. There are two files in the tar ball:
> addams/Gomez/var/log/messages
> addams/morticia/var/log/messages
>
> Thanks!!
>

Hi Ernest,

With the full log, I got pointed to the bug rather quickly.

Dec 19 11:56:35 morticia kernel: drbd0: Handshake successful: DRBD Network Protocol version 85
Dec 19 11:56:35 morticia kernel: drbd0: drbd_sync_handshake:
Dec 19 11:56:35 morticia kernel: drbd0: self B53E750F0FDF5CD5:7CF87E16765B2990:A6CE234412D1AEF0:32225FC919BDC7B8
Dec 19 11:56:35 morticia kernel: drbd0: peer EA51CF76B39C65CF:7CF87E16765B2991:A6CE234412D1AEF1:32225FC919BDC7B9
Dec 19 11:56:35 morticia kernel: drbd0: uuid_compare()=100
Dec 19 11:56:35 morticia kernel: drbd0: Split-Brain detected, manually solved. Sync from this node
Dec 19 11:56:35 morticia kernel: drbd0: peer( Unknown -> Primary ) conn( WFReportParams -> WFBitMapS ) pdsk( DUnknown -> UpToDate )


Dec 19 11:56:35 gomez kernel: drbd0: Handshake successful: DRBD Network Protocol version 85
Dec 19 11:56:35 gomez kernel: drbd0: drbd_sync_handshake:
Dec 19 11:56:35 gomez kernel: drbd0: self EA51CF76B39C65CF:7CF87E16765B2991:A6CE234412D1AEF1:32225FC919BDC7B9
Dec 19 11:56:35 gomez kernel: drbd0: peer B53E750F0FDF5CD5:7CF87E16765B2990:A6CE234412D1AEF0:32225FC919BDC7B8
Dec 19 11:56:35 gomez kernel: drbd0: uuid_compare()=100
Dec 19 11:56:35 gomez kernel: drbd0: Split-Brain detected, manually solved. Sync from this node
Dec 19 11:56:35 gomez kernel: drbd0: peer( Unknown -> Secondary ) conn( WFReportParams -> WFBitMapS ) pdsk( DUnknown -> UpToDate )

Here are the lines that gave the hint.
It looks like you passed on both sides the option "--discard-my-data".

Now I fixed this. In the future it should disconnect if you pass
the "--discard-my-data" on both sides to the the net command.

-phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :
-------------- next part --------------
An embedded message was scrubbed...
From: drbd-cvs at lists.linbit.com
Subject: [DRBD-cvs] svn commit by phil - r2641 - trunk/drbd - Fixed an other
	bug That Ernest of Stratus pointed out. 
Date: Fri, 22 Dec 2006 14:39:18 +0100
Size: 2988
Url: http://lists.linbit.com/pipermail/drbd-dev/attachments/20061222/cde510cd/attachment.mht


More information about the drbd-dev mailing list