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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
