[DRBD-user] Please help with slow Replication / Syncing on debian squeeze 6.0, 8-disk RAID6

Uwe Schuerkamp uwe.schuerkamp at nionex.net
Tue Mar 13 13:17:51 CET 2012

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


On Tue, Mar 13, 2012 at 11:09:05AM +0100, Michael Schwartzkopff wrote:

> > # cat /proc/drbd
> > version: 8.3.7 (api:88/proto:86-91)
> > srcversion: EE47D8BF18AC166BE219757
> >  0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent C
> >  r----
> >     ns:873115000 nr:0 dw:2048 dr:873127461 al:1 bm:53289 lo:1 pe:3151
> >     ua:1699 ap:0 ep:1 wo:d oos:2281801072
> >     [====>...............] sync'ed: 25.6% (2228320/2992484)M
> >     finish: 32:20:18 speed: 19,396 (12,256) K/sec
> 
> Could you please show the /proc/drbd BEFORE and AFTER the drbdsetup command?
> Perhaps you switch the sync speed several times.
> 


Here you go (snipped for brevity): 
######################################################################
Current setting: 

drbdsetup /dev/drbd0 show | grep rate 
	  rate		    30720k; # bytes/second

/proc/drbd on Slave node: 

version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757
 0: cs:SyncTarget ro:Secondary/Secondary ds:Inconsistent/UpToDate C
 r----
    ns:0 nr:83468576 dw:83454884 dr:0 al:0 bm:5093 lo:3423 pe:57960
    ua:3423 ap:0
 ep:1 wo:b oos:2144478752
        [>....................] sync'ed:  3.8% (2094216/2175716)M
        finish: 46:07:34 speed: 12,912 (11,732) K/sec

######################################################################
Changing sync speed on master node: 

# drbdsetup /dev/drbd0  syncer -r 110M 
# drbdsetup /dev/drbd0 show | grep rate 
	       rate		    112640k; # bytes/second

/proc/drbd on client after waiting a couple of secs for stats to update: 

version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757
 0: cs:SyncTarget ro:Secondary/Secondary ds:Inconsistent/UpToDate C
 r----
    ns:0 nr:84252128 dw:84237136 dr:0 al:0 bm:5141 lo:3748 pe:57829
    ua:3748 ap:0
 ep:1 wo:b oos:2143696500
        [>....................] sync'ed:  3.8% (2093452/2175716)M
        finish: 41:21:07 speed: 14,360 (11,732) K/sec

######################################################################

As for updating, I'd rather stay with the version from the Debian
repos if possible. The old system runs with a much older drbd version
and performance there seems fine for the moment. 

All the best & thanks for your help, 

Uwe 

-- 
NIONEX --- Ein Unternehmen der Bertelsmann AG





More information about the drbd-user mailing list