[DRBD-user] Split-Brain: how to solve?

Enrico Morelli enrico.morelli at gmail.com
Wed Jan 17 18:25:13 CET 2007

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


On 1/17/07, Philipp Reisner <philipp.reisner at linbit.com> wrote:
> Am Mittwoch, 17. Januar 2007 17:50 schrieb Enrico Morelli:
> > Dear all,
> >
> > I'm trying drbd-8.0rc1 and heartbeat 2. Nothing works well. But in
> > this moment I reached the Split-Brain condition, and I'm unable to
> > recovery the situation. I tried all command format without any result.
> > I found another message in the list with the same situation and the
> > suggestion was:
> > drbdadm ----discard-my-data connect all
> >
> > but drbdadm hasn't this flag, only drbdsetup has and doesn't works for me.
> >
> > How can I solve this situation?
>
> You just need to add a space! Use a mono space font to read this mail!
>
> drbdadm -- --discard-my-data connect ...
>
> The meaning of the first "--" is that the next options should be passed
> through to drbdsetup.
>

Oops... You are ready.

But the command give me an error:
on secondary:
newbeta2 ~ # drbdadm --- ---discard-my-data connect all
Failure: (125) HaveNetConfig
Command 'drbdsetup /dev/drbd0 net 192.168.0.2:7788 192.168.0.1:7788 C
--set-defaults --create-device --unplug-watermark=20480
--max-buffers=20480 --max-epoch-size=16384 --timeout=40
--discard-my-data' terminated with exit code 10
drbdsetup exited with code 10

on primary:
newbeta ~ # drbdadm -- --discard-my-data connect all
Failure: (123) --discard-my-data not allowed when primary.
Command 'drbdsetup /dev/drbd0 net 192.168.0.1:7788 192.168.0.2:7788 C
--set-defaults --create-device --unplug-watermark=20480
--max-buffers=20480 --max-epoch-size=16384 --timeout=40
--discard-my-data' terminated with exit code 10
drbdsetup exited with code 10

How can I do?
Thanks
Enrico



More information about the drbd-user mailing list