----- Original Message -----
> From: "vferon" <[email protected]>
> To: [email protected]
> Sent: Friday, October 14, 2011 9:13:12 AM
> Subject: [DRBD-user] DRBD sync speed is too fast comparing to my conf
>
> Hello,
>
> In my config file I specified a sync rate of 30M but in reality, when
> a
> create a file on the master, it replicates it at more thant 70M/s and
> using most of my bandwidth.
Syncer rate only applies to background sync i.e. when one node is not
"uptodate" it will bring it back "uptodate" at that rate. If you are talking
about creating a file on one node when both are "uptodate" then that is
foreground replication and that goes as fast as the stack/IO/bandwidth will
allow. If you tried to change that speed it would negatively impact the
application speed. You do have the replication on a seperate link right?
HTH
Jake
>
> Here is my config file :
> /****************************************************************************************************/
> global { usage-count no; }
> resource r0 {
> protocol C;
> startup {
> wfc-timeout 15; # wfc-timeout can be dangerous
> (http://forum.proxmox.com/threads/3465-Is-it-safe-to-use-wfc-timeout-in-DRBD-configuration)
> degr-wfc-timeout 60;
> }
> net {
> cram-hmac-alg sha1;
> shared-secret "sdlkjSFcqseazecj3345Sd";
> after-sb-0pri discard-zero-changes;
> after-sb-1pri discard-secondary;
> after-sb-2pri disconnect;
> max-buffers 80000;
> max-epoch-size 20000;
> unplug-watermark 16;
> sndbuf-size 10485760;
>
> }
> syncer {
> rate 30M;
> }
> on plmbnas01 {
> device /dev/drbd0;
> disk /dev/sda4;
> address 10.0.0.11:7788;
> meta-disk internal;
> }
> on plmanas01 {
> device /dev/drbd0;
> disk /dev/sda4;
> address 10.0.0.10:7788;
> meta-disk internal;
> }
> }
> /****************************************************************************************************/
>
>
> Did someone has the same problem and how dit he solve it?
>
> Thanks
>
> Valentin Feron
>
> _______________________________________________
> drbd-user mailing list
> [email protected]
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user