[DRBD-user] Manuall split brain recovery

Zemke, Kai Kai.Zemke at smartnet.de
Tue Apr 20 08:50:31 CEST 2010

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

Thanks a lot.
I should have noticed this on my own.
The config for this DRBD Cluster mentioned some helper scripts that someone else wrote here in this company a year ago. This script caused the error and stopped DRBD from syncing. I corrected the script and now everything is syncing fine. I'm relieved ;-)
Thanks again for showing me this.

With kind regards
Kai Zemke

-----Ursprüngliche Nachricht-----
Von: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] Im Auftrag von Lars Ellenberg
Gesendet: Montag, 19. April 2010 21:23
An: drbd-user at lists.linbit.com
Betreff: Re: [DRBD-user] Manuall split brain recovery

On Mon, Apr 19, 2010 at 04:37:53PM +0200, Zemke, Kai wrote:
> Peer says this:
> drbd0: helper command: /sbin/drbdadm before-resync-target minor-0
> drbd0: helper command: /sbin/drbdadm before-resync-target minor-0 exit code 2 (0x200)
> drbd0: before-resync-target handler returned 2, dropping connection.

That's your problem.

Make sure user space and kernel module version match.

Have a look at your config.
Is there a before-resync-target handler configured?
Does that script exist?
Does it log something?
What happens if you do
  drbdadm -d before-resync-target minor-0
  drbdadm -v before-resync-target minor-0 ; echo $?

Do you need that script?
Do you need to install that script?
Do you need to fix the script or configuration?

: Lars Ellenberg
: LINBIT | Your Way to High Availability
: 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

More information about the drbd-user mailing list