[DRBD-user] Centos5 DRBD 8.3 protocol C very slow

Coert Waagmeester lgroups at waagmeester.co.za
Tue Jul 28 10:52:40 CEST 2009

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


Hello all DRBDers,

Great product!

My DRBD setup is as follows:

2 hosts with each:
2x 1TB seagate SATA software RAID1
LVM on top of that
crossover gigabit link between the two.

My drbd.conf is attached.

the problem I am experiencing is that the maximum transfer rate is too
slow.

as in the config file drbd7 mirrors a logical volume mounted on dom0
when i run dd on that lv:
# dd if=/dev/zero of=300meg.file bs=1M count=300 oflag=direct
300+0 records in
300+0 records out
314572800 bytes (315 MB) copied, 39.5295 seconds, 8.0 MB/s


Any tips would be greatly appreciated!

Kind regards,
Coert
-------------- next part --------------
global { 
  usage-count yes; 
}
common {
  protocol C;
  syncer { rate 50M; }
  net {
  startup { wfc-timeout 0 ; }
}
resource xenfilesrv {
  device    /dev/drbd1;
  disk      /dev/vg0/xenfilesrv;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7788;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7788;
  }
}
resource xenfilesrvdata {
  device    /dev/drbd2;
  disk      /dev/vg0/xenfilesrvdata;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7789;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7789;
  }
}
resource xenmail {
  device    /dev/drbd3;
  disk      /dev/vg0/xenmail;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7790;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7790;
  }
}
resource xenipcop {
  device    /dev/drbd4;
  disk      /dev/vg0/xenipcop;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7791;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7791;
  }
}
resource xenbvgdc1 {
  device    /dev/drbd5;
  disk      /dev/vg0/xenbvgdc1;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7792;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7792;
  }
}
resource xenotrs {
  device    /dev/drbd6;
  disk      /dev/vg0/xenotrs;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7793;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7793;
  }
}
resource testlv {
  device    /dev/drbd7;
  disk      /dev/vg0/testlv;
  meta-disk internal;

  on baldur.mydomain.local {
    address   10.99.99.1:7794;
  }
  on thor.mydomain.local {
    address   10.99.99.2:7794;
  }
}


More information about the drbd-user mailing list