[DRBD-user] Question: how to avoid full resync

Ziv Gabel ziv.gabel at mailvision.com
Mon May 18 09:25:20 CEST 2009


Hi Eli,

This is a guess, but  what is your sync rate ?
the default is usually too low so it might look like it's re syncing.
try to put:

        syncer {
                rate 40M;
        }

inside your resource in the drbd.conf file and than test again


Best regards,
Ziv Gabel


On Mon, May 18, 2009 at 9:12 AM, Lars Ellenberg
<lars.ellenberg at linbit.com>wrote:

> On Sun, May 17, 2009 at 05:12:50PM +0300, Eli Dorfman (Voltaire) wrote:
> > Lars Ellenberg wrote:
> > > On Thu, May 14, 2009 at 04:45:44PM +0300, Eli Dorfman (Voltaire) wrote:
> > >> Lars Ellenberg wrote:
> > >>> On Wed, May 13, 2009 at 06:35:43PM +0300, Eli Dorfman (Voltaire)
> wrote:
> > >>>> Hi,
> > >>>>
> > >>>> Assuming a setup of 2 nodes primary A and secondary B.
> > >>>> After primary node A reboot and B became primary, is there a way to
> avoid full resync
> > >>>> from B to A?
> > >>> Uhm, well, yes: just do nothing and let DRBD do its job ;)
> > >>> Bitmap based resync is the "normal" resync operation.
> > >>>
> > >> After A was rebooted and B had almost no changes -
> > >> yet when A goes up again it seems that B (drbd) performs full resync.
> > >
> > > what makes you think so?
> >
> > That's what I see in /proc/drbd.
> > we have a partition of 20GB and from the link speed and the time till
> process is completed,
> > it seems that drbd performs full resync.
> >
> > >> Is this correct?
> > >
> > > it would not be expected.
> >
> > So what could be the reason for this full resync?
>
> I still doubt the full sync, though.
> care to show logs?
>
> --
> : Lars Ellenberg
> : LINBIT HA-Solutions GmbH
> : DRBD®/HA support and consulting    http://www.linbit.com
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> __
> please don't Cc me, but send to list   --   I'm subscribed
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/drbd-user/attachments/20090518/58f45038/attachment.htm 


More information about the drbd-user mailing list