[DRBD-user] drbd.conf 0.7.6 Gigabit Ethernet

Vasiliy Boulytchev vasiliy at lohankin.com
Tue Apr 19 20:08:29 CEST 2005

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


Ladies and Gents,
	I have a crossover cable running between two gig E cards.  dmesg shows
that both nics come up with full duplex 1000 mode.  when doing a resync,
i get this performance:


0: cs:SyncTarget st:Secondary/Primary ld:Inconsistent
    ns:0 nr:4110400 dw:4110400 dr:0 al:0 bm:6202 lo:345 pe:1835 ua:345
ap:0
        [>...................] sync'ed:  4.3% (91206/95218)M
        finish: 0:33:21 speed: 46,592 (19,660) K/sec


What am I doing wrong?

Here is my drbd.conf



resource r0 {
        protocol C;
        incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep
60 ; halt -f";
        startup {
                wfc-timeout 10; degr-wfc-timeout     120;
                }
        disk {
                on-io-error   detach;
                }
        net {
                timeout         60;
                connect-int     10;
                ping-int        10;
                #max-buffers    2048;
                max-epoch-size  2048;
                }
        syncer {
                rate 100M;
                group 1;
                #al-extents 257;
                }

        on box1 {
                device   /dev/drbd0;
                disk     /dev/hda4;
                address  192.168.30.30:7788;
                meta-disk       internal;
                }

        on box2 {
                device   /dev/drbd0;
                disk     /dev/hda4;
                address  192.168.30.31:7788;
                meta-disk       internal;
                }
}


THANKS!





More information about the drbd-user mailing list