[DRBD-user] Heartbeat Failover - Outdated disk

Stefan Lesicnik stefan at lsd.co.za
Fri Sep 14 18:08:36 CEST 2007

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


Hi all,

Me again!  Heh.

Maybe im missing a concept here, but this isnt working as expected (for
me anyways!  :)     )


Ubuntu 7.04
Heartbeat (from gutsy backport - 2.1.2 (i wanted dopd and
drbd-peer-outdater)
drbd 8.0.6 kernel module and userspace tools

Node1 and Node2.  drbd working in Primary / Secondary all mounted
working fine.

I pull the network cable from Node 1. Node 2 detects, migrates
resources, mounts drive, becomes primary. yay!

I plug the network cable back in, i expect heartbeat to return to Node
1, and it mostly does, just the disk state is as follows


>From Node 1

root at lsd-server:/var/log# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at lsd-server, 2007-09-14 17:27:39
 0: cs:StandAlone st:Primary/Unknown ds:UpToDate/Outdated   r---
    ns:20 nr:0 dw:112 dr:1772 al:2 bm:2 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:26 misses:2 starving:0 dirty:0 changed:2


and on Node 2

root at candyflip:/var/log# cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at candyflip, 2007-09-13 12:17:47
 0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown   r---
    ns:1003960 nr:20 dw:116 dr:1004880 al:0 bm:64 lo:0 pe:0 ua:0 ap:0
        resync: used:0/31 hits:62686 misses:62 starving:0 dirty:0 changed:62
        act_log: used:0/257 hits:24 misses:0 starving:0 dirty:0 changed:0


It has returned back to Node 1 correctly though (mounted fs etc)


What exactly should I be doing now in this situation and how can i get
the drbd talking again. I may be mistaken, but in my playing, the only
way to fix it was to restart drbd.

both sides report

root at candyflip:/var/log# drbdadm cstate r0
StandAlone

thanks a lot :)

stefan





More information about the drbd-user mailing list