AW: [DRBD-user] Fwd: performance of SYNC

Seuberth, Frank F.Seuberth at ing-diba.de
Wed Mar 23 12:47:30 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.


Hello,

as drbd is a RAID1 over Ethernet it alway syncs the whol disk at the first time.
During it's running "normal" RAID1 stuff is going on.

Frank
http://www.rentable-hardware.de


-----Ursprüngliche Nachricht-----
Von: drbd-user-bounces at lists.linbit.com
[mailto:drbd-user-bounces at lists.linbit.com]Im Auftrag von LM
Gesendet: Mittwoch, 23. März 2005 12:44
An: drbd-user at lists.linbit.com
Betreff: [DRBD-user] Fwd: performance of SYNC


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;
   }
 }
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden.



More information about the drbd-user mailing list