[DRBD-user] Fwd: performance of SYNC

LM longming.lee at gmail.com
Wed Mar 23 12:43:34 CET 2005

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


dear sirs,

 I have started drbd system OK. The speed of SYNC is only 64,344KB/sec for
 GIGA NICs. It is good.

 But DRBD sync whole partition(523,291,644KB).  How can I only sync the
 data file(10,571,500KB)?

 regards,

 Longming 3/23

 ===============================================================

[root at as1 root]# df
 Filesystem           1K-blocks      Used Available Use% Mounted on
 /dev/sda1              8254240    243596   7591352   4% /
 none                    513704         0    513704   0% /dev/shm
 /dev/sda2             10317860   1246628   8547112  13% /usr
 /dev/drbd0           562433136  10571500 523291644   2% /raid

 [root at as1 root]# cat /proc/drbd
 version: 0.7.10 (api:77/proto:74)
 SVN Revision: 1743 build by root at baumeister, 2005-01-31 13:08:05
  0: cs:SyncSource st:Primary/Secondary ld:Consistent
     ns:138689960 nr:44 dw:56 dr:138700749 al:1 bm:43333 lo:358
pe:1417 ua:2026 ap:0
         [=>..................] sync'ed:  6.8% (422450/452890)M
         finish: 1:51:57 speed: 64,344 (57,936) K/sec
  1: cs:Unconfigured
 ===================== drbd.conf  ===============================
 skip{
 }
 resource r0 {
   protocol C;
   incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; halt -f";

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

 disk {
     on-io-error   detach;
   }

   net {
   }

   syncer {
     rate 700000K;
     group 1;
     al-extents 257;
   }

   on as1{
     device     /dev/drbd0;
     disk       /dev/hda4;            # /var
     address    192.168.0.1:7788;
     meta-disk  internal;
   }

   on as2 {
     device    /dev/drbd0;
     disk      /dev/hda4;            # /var
     address   192.168.0.2:7788;
     meta-disk internal;
   }
 }



More information about the drbd-user mailing list