[DRBD-user] drbd 0.7.23 freezes on initial sync

Alan Bourne Alan.Bourne at bbconsult.co.uk
Wed Mar 21 13:13:01 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.


Hello Ralf,

below is my drbd.conf

primary ~ # drbdadm dump
resource primary-secondary {
    protocol               C;
    on primary {
        device           /dev/drbd0;
        disk             /dev/sda3;
        address          192.168.0.17:7789;
        meta-disk        internal;
    }
    on secondary {
        device           /dev/drbd0;
        disk             /dev/sda8;
        address          192.168.0.19:7789;
        meta-disk        internal;
    }
    net {
        on-disconnect    reconnect;
    }
    disk {
        on-io-error      detach;
    }
    syncer {
        rate             100M;
        group              1;
    }
    startup {
        wfc-timeout       60;
        degr-wfc-timeout  60;
    }
}

primary ~ #


I suppose network connectivity is OK.
See the following log excerpt:

Mar 21 11:52:50 primary drbd0: drbd0_receiver [20966]: cstate Unconnected --> WFConnection
Mar 21 11:52:52 primary drbd0: drbd0_receiver [20966]: cstate WFConnection --> WFReportParams
Mar 21 11:52:52 primary drbd0: Handshake successful: DRBD Network Protocol version 74
Mar 21 11:52:52 primary drbd0: Connection established.
Mar 21 11:52:52 primary drbd0: I am(P): 1:00000003:00000001:000001b7:00000001:10
Mar 21 11:52:52 primary drbd0: Peer(S): 0:00000003:00000001:000001b6:00000001:01
Mar 21 11:52:52 primary drbd0: drbd0_receiver [20966]: cstate WFReportParams --> WFBitMapS
Mar 21 11:52:58 primary drbd0: [drbd0_receiver/20966] sock_sendmsg time expired, ko = 4294967295
Mar 21 11:53:01 primary drbd0: [drbd0_receiver/20966] sock_sendmsg time expired, ko = 4294967294
Mar 21 11:53:04 primary drbd0: [drbd0_receiver/20966] sock_sendmsg time expired, ko = 4294967293

-- 
Best regards,
 Alan


Wednesday, March 21, 2007, 1:17:51 PM, you wrote:

> Alan Bourne schrieb:
>> I faced a problem with drbd 0.7.23
>> It freezes during initial sync.
>> After  "drbdadm -- --do-what-I-say primary all" primary drbd gets into
>> "WFBitMapS" state, and secondary drbd gets into "WFBitMapT" state.
>> After   that   nothing   happens,  drbd just foods log on primary host
>> with the following error message:
>> 
>> drbd0: [drbd0_receiver/18409] sock_sendmsg time expired, ko = 4294967260


> How does your drbd.conf file look like? Can both hosts reach each
> other by the address/port you specified in the drbd.conf file?

> Ralf
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user









More information about the drbd-user mailing list