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

Reply via email to