[DRBD-user] drbdsetup wait-sync don't wait forewer

Lars Ellenberg lars.ellenberg at linbit.com
Wed Nov 14 11:07:20 CET 2012

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


On Sat, Nov 10, 2012 at 04:41:58PM +0300, Dzianis Kahanovich wrote:
> Command:
> drbdsetup 0 wait-sync --wait-after-sb --outdated-wfc-timeout=0
> --degr-wfc-timeout=0 --wfc-timeout=0
> 
> - some waiting, but exiting while SyncTarget (so need additional checks in init
> script). To test - I reboot one of node & copy ~500M to degraded disk...
> 
> It may be result of previous wait-sync with non-zero short timeouts (I run it
> twice).

You may be syncing "too fast", and get a netlink buffer overrun, which
we do not handle properly in these long running drbdsetup calls yet.

Did you try with 8.3.14 yet?  It broadcasts "sync progress" no more than
once per second, which should prevent this overrun.


-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com



More information about the drbd-user mailing list