[DRBD-user] Slow Sync rate, then fail

Dan Didier dan at mapolce.com
Fri Sep 24 05:04:31 CEST 2004

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


I setup a very small partition for testing....  Sync reate starts out
high, and slowly works it's way down to zero.
I did format the partition first, and I'm using internal meta-data
setting.  I don't know if any of this matters or not.  I will include my
config file and output of dmesg and /proc/drbd

[root at linux2 root]# cat /proc/drbd
version: 0.7.2 (api:75/proto:74)
SVN Revision: 1483:1485 build by root at linux2.romestripsteel.local,
2004-09-20 10:49:43
 0: cs:SyncTarget st:Secondary/Secondary ld:Inconsistent
    ns:0 nr:1592 dw:1592 dr:0 al:0 bm:0 lo:1 pe:0 ua:1 ap:0
        [>...................] sync'ed:  2.5% (165380/166100)K
        finish: 0:06:53 speed: 0 (8) K/sec
 1: cs:Unconfigured
[root at linux2 root]# cat /proc/drbd
version: 0.7.2 (api:75/proto:74)
SVN Revision: 1483:1485 build by root at linux2.romestripsteel.local,
2004-09-20 10:49:43
 0: cs:SyncTarget st:Secondary/Secondary ld:Inconsistent
    ns:0 nr:1592 dw:1592 dr:0 al:0 bm:0 lo:1 pe:0 ua:1 ap:0
        [>...................] sync'ed:  2.5% (165380/166100)K
        finish: 0:06:53 speed: 0 (4) K/sec
 1: cs:Unconfigured

drbd0: drbd0_receiver [5954]: cstate Unconnected --> WFConnection
drbd0: drbd0_receiver [5954]: cstate WFConnection --> WFReportParams
drbd0: Handshake successful: DRBD Network Protocol version 74
drbd0: Connection established.
drbd0: I am(S): 0:00000002:00000001:00000008:00000001:01
drbd0: Peer(S): 1:00000002:00000001:00000008:00000001:01
drbd0: drbd0_receiver [5954]: cstate WFReportParams --> WFBitMapT
drbd0: Secondary/Unknown --> Secondary/Secondary
drbd0: drbd0_receiver [5954]: cstate WFBitMapT --> SyncTarget
drbd0: Resync started as SyncTarget (need to sync 166100 KB [41525 bits
set]).
[root at linux2 root]#


[root at linux1 testing]# cat /etc/drbd.conf

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 {
   
     max-buffers     2048;

  }

  syncer {
   
    rate 10M;
    group 1;
    al-extents 257;
  }

  on linux1.romestripsteel.local {
    device     /dev/drbd0;
    disk       /dev/sdb2;
    address    10.10.10.100:7788;
    meta-disk  internal;

  
  }

  on linux2.romestripsteel.local {
    device    /dev/drbd0;
    disk      /dev/sdb2;
    address   10.10.10.200:7788;
    meta-disk internal;
  }
}

The obvious question is what am I not doing right, or what other
information do you need to have from me?

Thanks,
Dan




More information about the drbd-user mailing list