[DRBD-user] Error on Failback

Graham Wood drbd at spam.dragonhold.org
Thu Feb 15 11:52:47 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.


>    I ran both commands in 2 nodes, but still get:
>
> version: 8.0.0 (api:86/proto:86)
> SVN Revision: 2747 build by root at odin2, 2007-02-12 18:52:34
> 0: cs:WFConnection st:Secondary/Unknown ds:UpToDate/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
>
> Sorry if it is simple, but I did try to find a solution for this issue
> without success. :-(
If you don't mind the overhead of a rsync, the way I fixed this was:
* On both nodes: /etc/init.d/drbd stop
* On node to receive resync: drbdadm create-md <device>
* On both nodes: /etc/init.d/drbd start

What this does is "clears" one of the copies, and since the other is  
flagged as "UpToDate" it does a full resync to the other.  I believe  
the proper way to deal with this is to change the policy for handling  
split brain, but I'm happier dealing with it manually.

Graham



More information about the drbd-user mailing list