[DRBD-user] Recover from Split-Brain

Christian Völker cvoelker at knebb.de
Wed Sep 7 09:19:58 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.


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








More information about the drbd-user mailing list