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

Enrico Morelli enrico.morelli at gmail.com
Thu Jan 18 10:02:48 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:

> drbdadm -- --discard-my-data connect all
>
> But use the "--discard-my-data" only on one side ;)
>
> -Phil
Sorry, but doesn't work.
on secondary:

newbeta2 ~ # drbdadm disconnect all
newbeta2 ~ # dmesg
drbd0: conn( Disconnecting -> StandAlone )
drbd0: receiver terminated
drbd1: conn( WFConnection -> Disconnecting )
drbd1: Discarding network configuration.
drbd1: tl_clear()
drbd1: Connection closed
drbd1: conn( Disconnecting -> StandAlone )
drbd1: receiver terminated

newbeta2 ~ # drbdadm -- --discard-my-data connect all
newbeta2 ~ # dmesg
drbd0: conn( StandAlone -> Unconnected )
drbd0: receiver (re)started
drbd0: conn( Unconnected -> WFConnection )
drbd1: conn( StandAlone -> Unconnected )
drbd1: receiver (re)started
drbd1: conn( Unconnected -> WFConnection )

newbeta2 ~ # more /proc/drbd
version: 8.0rc1 (api:86/proto:85)
SVN Revision: 2644 build by root at newbeta, 2007-01-16 05:04:46
 0: cs:WFConnection st:Secondary/Unknown ds:Inconsistent/DUnknown C r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0
 1: cs:WFConnection st:Secondary/Unknown ds:Inconsistent/DUnknown C r---
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0
        act_log: used:0/257 hits:0 misses:0 starving:0 dirty:0 changed:0

I don't understand what's happen.
Enrico



More information about the drbd-user mailing list