[DRBD-user] Manuall split brain recovery

Lars Ellenberg lars.ellenberg at linbit.com
Mon Apr 19 21:23:22 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.

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

More information about the drbd-user mailing list