[DRBD-user] Recover from Split-Brain

Andreas Kurz andreas.kurz at gmail.com
Wed Sep 7 09:26:14 CEST 2011

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


On 09/07/2011 09:19 AM, Christian Völker wrote:
> Hi,
> 
> as I just send out I had a short outage which ended in a Split-Brain
> scenario.
> I'm trying to recover now from this and have all drbd devices back again.
> 
> Unfortunately I can't recover from split-brain. Could someone help me,
> please?
> This is the current state on the primary:
> [root at backuppc ~]# cat /proc/drbd
> version: 8.2.6 (api:88/proto:86-88)

please consider an update!

> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> buildsvn at c5-i386-build, 2008-10-03 11:42:32
>  0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown A r---
>     ns:0 nr:0 dw:68288 dr:820201 al:2641 bm:2636 lo:0 pe:0 ua:0 ap:0
> oos:582912
> 
> This is the state on the secondary:
> [root at drbd ~]# cat /proc/drbd
> version: 8.2.6 (api:88/proto:86-88)
> GIT-hash: 3e69822d3bb4920a8c1bfdf7d647169eba7d2eb4 build by
> buildsvn at c5-i386-build, 2008-10-03 11:42:32
>  0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown   r---
>     ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 oos:0
> 
> Now I tried to recover manually as shown on drbd documentation
> (http://www.drbd.org/users-guide/s-resolve-split-brain.html), but it

have a look at:

http://www.drbd.org/users-guide-legacy/s-resolve-split-brain.html

... for DRBD < 8.4 to get the old documentation with the old (still
supported) cmdline syntax.

Regards,
Andreas

> doesn't know this special parameter:
> [root at drbd ~]# drbdadm secondary drbd0
> [root at drbd ~]# drbdadm connect --discard-my-data drbd0
> drbdadm: unrecognized option `--discard-my-data'
> try 'drbdadm help'
> 
> So how can I recover now?
> 
> Greetings
> 
> Christian
> 
> 
> 
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list