[DRBD-user] Manuall split brain recovery

Zemke, Kai Kai.Zemke at smartnet.de
Mon Apr 19 12:35:43 CEST 2010

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


Hello Forum,

I'm currently strugeling with a DRBD related problem. We have a two node cluster running. These to nodes share their data via DRBD.
Last week we had a power failure in our datacenter. One of the nodes crashed and rebooted. From this point on cat /proc/drbd shows the following output:

NODE1:
----------------------------------------------------------
version: 8.3.0 (api:88/proto:86-89)
GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by root at xen0, 2009-06-04 09:17:59
 0: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:93 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:6607464
 1: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown   r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:95 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:2392872

NODE2:
-----------------------------------------------------------
version: 8.3.0 (api:88/proto:86-89)
GIT-hash: 9ba8b93e24d842f0dd3fb1f9b90e8348ddb95829 build by root at xen0, 2009-06-04 09:17:59
 0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/Inconsistent C r---
    ns:0 nr:0 dw:2039644193 dr:270667732 al:2559052 bm:2150165 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:6647004
 1: cs:WFConnection ro:Primary/Unknown ds:UpToDate/Inconsistent C r---
    ns:0 nr:0 dw:613150072 dr:392361024 al:111384 bm:4395 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:2394624

On node 2 are running severell virtuall maschines hosted by XEN.
The data on node 2 is up to date and I want to keep this data.
Now I try to sync all data from node2 to node1.

I followed the "Manuall split brain recovery" from drbd.org and did the following:

On Node1:

drbdadm secondary all
drbdadm -- --descard-my-data connect all

Now node1 was waiting for connection

On Node2:

drbdadm connect all

Nothin happened now. But node1 went from waiting for connection to Standalone.
Am I missing something? I thought that the cluster would connect now and all data would be synced from node2 to node1.

What am I doing wrong here?

With kind regards
Kai Zemke

===========================================================
smartnet Online Service GmbH, Schnackenburgallee 177, 22525 Hamburg
===========================================================
Geschäftsführer: Christian Suding, Claus Masch
Ust.IdNr.:DE191136350
Handelsregister HRB 66463
Steuernummer: FA: Hamburg 54/855/01047
Fon: +49 (0) 40 5540-0
Fax: +49 (0) 40 5540-1040
kai.zemke at smartnet.de<mailto:kai.zemke at smartnet.de>
Weitere Informationen siehe: http://www.smartnet.de<http://www.smartnet.de/>
===========================================================

Hinweis:
Diese Email kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der beabsichtigte
Empfänger sind oder diese Email irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender telefonisch oder
per Email und löschen Sie diese Email aus Ihrem System.
Das unerlaubte Kopieren, sowie die unbefugte Weitergabe
dieser Email ist nicht gestattet.Wir haften nicht für die
Unversehrtheit von Emails, nachdem sie unseren Einfluss-
Bereich verlassen haben.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100419/ec966f65/attachment.htm>


More information about the drbd-user mailing list