[DRBD-user] SyncingAll at any drbd startup

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Jun 1 10:22:30 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.


/ 2004-05-31 01:50:40 +0200
\ Paolo Morandi:
> Lars Ellenberg wrote:
> 
> >/ 2004-05-30 10:03:26 +0200
> >\ Paolo Morandi:
> >
> >>Is my first installation of drbd.
> >>I use the latest stable version of drbd: 0.6.12.
> >>I have followed the howto instruction and drbd work, but have this 
> >>problem:
> >>at any startup of drbd it go  in SyncingAll status. The filesystem in 
> >>replication is very large (70Gb) and so, for sync, need 20h.
> >>After the sync the filesystem are not mounted.
> >
> >
> >http://www.drbd.org/drbd-article.html#when_synchronization_is_needed
> >
> >	Lars Ellenberg
> 
> 
> Thank for the answare.
> I have read the article.
> So:
> - for shutdown the cluster i must before stopping drbd on primary node 
> and after shutdown the two machine (graceful shutdown): a question, but 
> shutting down are not executed the 'drbd stop' ?

depending on your setup. most likely it is.
but you may have a race, if you shutdown both at the same time.

> - for mounting the filesystem i must make this manually or use datadisk
> - never i can mount the filesystem on the secondary machine

not "on the secondary machine", but "on *A* machine in Secondary *state*".
just to explicitly point out one of the most common misunderstandings
about what *you* (the administrator) think of as the primary and backup
servers, and what *state* the cluster nodes are currently in...

> An other question:
> 
> are possible to increase the speed of syncronization? For syncing 73Gb 
> needs 20h! So is very difficult to probe the mechanism.

73G / 20h == 73*1024*1024 k / 20*3600sec == 1063 k/sec
this is slooow.
I have seen sync speeds of >= 50000 k/sec == 50M/sec

so the answer obviously is yes.  how you do this depends from your
particular hardware and configuration.
double check sync-max please, and whether DMA is enabled for your disks, and ...
just do your homework and find your bottleneck :)

	Lars Ellenberg



More information about the drbd-user mailing list