[DRBD-user] Questions about syncing

Florian Haas florian.haas at linbit.com
Wed May 11 17:21:54 CEST 2011

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


On 2011-05-11 09:36, Felix Frank wrote:
> Hi,
> 
> On 05/10/2011 03:17 PM, Lyre wrote:
>> Hi all:
>>
>> I'm concerning some details about syncing. For example,  the secondary
>> was disconnected while new data were wrote to the primary, and then I
>> connect the secondary.
>>
>> Does drbd sync only  the different parts or all data on the disk ? And
> 
> Only (4k-)blocks that contain changes are synced.
> 
>> what if I specify --discard-my-data options while connecting?
> 
> A full sync is performed. The node on which you discarded the data
> receives all the content from the other peer.

Actually, it receives only the content from the other peer *that is
currently out of sync*, after a split brain.

Forcing a full sync is drbdadm invalidate or drbdadm invalidate-remote.

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20110511/7b6a7140/attachment.pgp>


More information about the drbd-user mailing list