[DRBD-user] Really slow speeds

Daniel Andersson daniel at themutual.net
Tue Aug 9 17:29:24 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.


hi everyone

just discovered the beauty called drbd and playing around with a test  
setup right now, but i'm receiving very very slow speeds (and nothing in  
the archives seem to cover this problem)

i created two one gig partitions, one on each machine. i also sorted out  
one partition on each machine to hold the meta data

it's now doing the initial sync and this is what i see:

version: 0.7.11 (api:77/proto:74)
SVN Revision: 1807 build by root at amy.themutual.net, 2005-08-09 15:20:30
  0: cs:SyncTarget st:Secondary/Primary ld:Inconsistent
     ns:0 nr:910184 dw:910184 dr:0 al:0 bm:38 lo:0 pe:6 ua:9 ap:0
         [================>...] sync'ed: 81.6% (144736/774976)K
         finish: 0:06:01 speed: 320 (236) K/sec
  1: cs:Unconfigured

it's a 100mbit network so i expected it to be quite a bit quicker

and it's not because the machine is loaded  (18:30:46 up  3:08,  1 user,   
load average: 0.00, 0.00, 0.00)

the idea is to setup drbd on a 300 GB partition, but at that speed it'll  
take weeks to sync :-/

grateful for any help/ideas! :)


my config:

resource r0 {
   protocol C;

   startup {
     degr-wfc-timeout 360;    # 2 minutes.
   }

   disk {
     on-io-error   detach;
   }

   net {
     max-buffers     16384;
     max-epoch-size  2048;
     ko-count 6;
     on-disconnect reconnect;
   }

   syncer {
     group 1;
     al-extents 257;
   }

   on keila {
     device     /dev/drbd0;
     disk       /dev/sda8;
     address    192.168.254.183:7788;
     meta-disk  /dev/sda7[0];
   }

   on amy {resource r0 {
   protocol C;

   startup {
     degr-wfc-timeout 360;    # 2 minutes.
   }

   disk {
     on-io-error   detach;
   }

   net {
     max-buffers     16384;
     max-epoch-size  2048;
     ko-count 6;
     on-disconnect reconnect;
   }

   syncer {
     group 1;
     al-extents 257;
   }

   on keila {
     device     /dev/drbd0;
     disk       /dev/sda8;
     address    192.168.254.183:7788;
     meta-disk  /dev/sda7[0];
   }

   on amy {
     device     /dev/drbd0;
     disk       /dev/sda3;
     address    192.168.254.184:7788;
     meta-disk  /dev/sda5[0];
   }
}

cheers,
daniel



More information about the drbd-user mailing list