[DRBD-user] I shall become SyncTarget, but I am primary!

Yannis Milios yannis.milios at gmail.com
Tue Dec 6 09:29:46 CET 2016

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


>
>
> >>I think this document might help:
> >>https://www.drbd.org/en/doc/users-guide-83/s-initial-full-sync
>
> >>or specifically, this command:
>
> *>>drbdadm -- --overwrite-data-of-peer primary resource*
>
>
I think that will work only for the initial sync and not in this case that
data/metadata already exists on the secondary.

I believe the correct approach is to use the 'invalidate' option on the
secondary node:

http://www.drbd.org/en/doc/users-guide-83/re-drbdadm

"invalidate
Forces DRBD to consider the data on the local backing storage device as
out-of-sync. Therefore DRBD will copy each and every block from its peer,
to bring the local storage device back in sync."

Y.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20161206/a2326853/attachment.htm>


More information about the drbd-user mailing list