[DRBD-user] drbd storage size

Philipp Reisner philipp.reisner at linbit.com
Thu Oct 23 15:17:56 CEST 2014

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


Am Donnerstag, 23. Oktober 2014, 08:55:03 schrieb Digimer:
> On 23/10/14 04:00 AM, Philipp Reisner wrote:
> > 2a) Initialize both backend devices to a known state.
> > 
> >      I.e. dd if=/dev/zero of=/dev/sdb1 bs=$((1024*1024)) oflag=direct
> 
> Question;
> 
>    What I've done in the past to speed up initial sync is to create the
> DRBD device, pause-sync, then do your 'dd if=/dev/zero ...' trick to
> /dev/drbd0. This effectively drives the resync speed to the max possible
> and ensures full sync across both nodes. Is this a sane approach?
> 

Yes, sure that is a way to do it. (I have the impression that is something
form the drbd-8.3 world.)

I do not know from the top of the head if that will be faster than the
built-in background resync in drbd-8.4.

Best,
 Phil




More information about the drbd-user mailing list