Hi All,
I am a new user of DRBD. I am trying to use DRBD to send disk updates to a
backup disk at a configuration rate in an asynchronous manner. From the DRBD
documentation it looks like i should be able to do this if i use Protocol A. 


But when i write a file onto the partition that is being backed up by DRBD i
continue to see that the network traffic is very high inspite of me setting
the sync rate.

Here is my /etc/drbd.d/global_common.conf 
global {
        usage-count yes;
}

common {
}

and /etc/drbd.d/r0.res 
resource r0 {
 protocol A;
 syncer {
        rate 1M;
  }
  on obelix27 {
    device    /dev/drbd1;
    disk      /dev/sda1;
    address   192.168.245.27:7789;
    meta-disk internal;
  }
  on obelix28 {
    device    /dev/drbd1;
    disk      /dev/sda1;
    address   192.168.245.28:7789;
    meta-disk internal;
  }
}

I have ubuntu 11.10 with linux kernel 3.0.0-12-generic. I installed the
userland part of DRBD using apt-get which is version 8.3.

I have tried issuing the drbdadm syncer r0 command. I am writing data on the
partition using 

dd if=/dev/zero of=/mnt/more/file.dat count=1024 bs=1048576 and i am
measuring the network traffic using ifstat. Inspite of my setting the sync
rate to 1MB i continue to see 10 MB traffic.

What am i doing wrong ?

Thanking you,
Rahul 
-- 
View this message in context: 
http://old.nabble.com/Unable-to-rate-limit-synchronization-traffic-with-DRBD-tp34158136p34158136.html
Sent from the DRBD - User mailing list archive at Nabble.com.

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to