[DRBD-user] Initializing shortcut

Carson Gaspar carson at taltos.org
Wed May 10 18:39:12 CEST 2006

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


--On Wednesday, May 10, 2006 6:32 PM +0200 Lars Ellenberg 
<Lars.Ellenberg at linbit.com> wrote:

> but then again, once we implement the online
> verification, we would _need_ to have this initial
> sync, because the drives _have_ to be bitwise identical
> (that's one of our "guarantees", after all).

Actually, no - you don't have to do a network sync. You can just write 
zeros on both sides. That allows you to:

- prevent users from creating an inconsistent mirror
- avoid the network traffic of the initial sync

Preventing the network traffic seems to be the reason everyone asks for 
this. The only other reason I can see would be to avoid the disk I/O 
performance hit at startup (In a DR mode or some such), or to do an initial 
mirror with dd and sneakernet the initial sync.

-- 
Carson




More information about the drbd-user mailing list