[DRBD-user] Linux VServer + DRBD

Edward Capriolo edlinuxguru at gmail.com
Thu Sep 18 18:00:43 CEST 2008

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


I think that is the issue. The logs show.
'helper command: /sbin/drbdadm before-resync-target'
But I am not using /etc/drbd.conf
/sbin/drbdadm -c /opt/jtg/conf/www2/drbd/www3-drbd.conf
before-resync-target www3 ; echo $?
0
Is anything special needed to pass the argument to the helper
commands. That is what is going on,(I think) it is looking at the
default configuration file rather then the one I specified.

Edward
On Wed, Sep 17, 2008 at 7:20 PM, Lars Ellenberg
<lars.ellenberg at linbit.com> wrote:
> On Wed, Sep 17, 2008 at 05:42:14PM -0400, Edward Capriolo wrote:
>> drbdadm help
>> Version: 8.2.6 (api:88)
>>
>> [root at jtg113 jdk]# cat /proc/drbd
>> version: 8.2.6 (api:88/proto:86-88)
>>
>> They seem to be. Is there another way to check?
>
> drbd module calls out to userland:
>
>        helper command: /sbin/drbdadm before-resync-target
>
> userland returns "exit code 10":
>
>        before-resync-target handler returned 10, dropping connection.
>
> typically a result of userland not knowing this handler,
> as it was only "recently" (iirc in 8.2.6) introduced.
>
> try "drbdadm before-resync-target minor-0"
> and see what error message it spits out.
>
> --
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
>
> DRBD(R) and LINBIT(R) 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
>



More information about the drbd-user mailing list