[DRBD-user] another please help ( DRBD cannot sync )

David Hansel hanselzen at gmail.com
Fri Dec 14 03:28:27 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.


Hi All,

I'm trying to sync between 2 different version of drbd. In my debian
box 1 drbd0.7 (Installed from apt-get install) and the other box i use
drbd8.2.1. Primary node using drbd8.2.1.

Evertime i try to start drbd in both box they cannot sync.

= Box 1 drbd status =
version: 8.0.3 (api:86/proto:86)
SVN Revision: 2881 build by root at axsrnd2, 2007-12-13 16:42:30
 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/127 hits:0 misses:0 starving:0 dirty:0 changed:0

= Box 2 drbd status =
SVN Revision: 2020 build by root at axsrnd, 2007-12-13 04:55:50
 0: cs:StandAlone st:Secondary/Unknown ld:Consistent
    ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0

If i restart drbd service in box 2. cs status will become WFConnection
and box 1 status become StandAlone.

My drbd.conf
resource db
{
protocol C;
startup { wfc-timeout 0; degr-wfc-timeout 120; }
disk { on-io-error detach; } # or panic, ...
syncer {
rate 5M;
}
on axsrnd2 {
device /dev/drbd0;
disk /dev/axsrnd/mysql;
address 10.0.4.144:9999;
#flexible-meta-disk /dev/system/drbdmeta-home;
meta-disk internal;
}
on axsrnd {
device /dev/drbd0;
disk /dev/axsrnd/mysql;
address 10.0.4.143:9999;
#flexible-meta-disk /dev/axsrnd/drbdmeta-mysql;
meta-disk internal;
}
}


Another please help :)
Thank you.



More information about the drbd-user mailing list