[Drbd-dev] local-io-error parse error in drbd.conf
Philipp Reisner
philipp.reisner at linbit.com
Thu Oct 5 15:23:59 CEST 2006
Am Donnerstag, 5. Oktober 2006 15:03 schrieb Montrose, Ernest:
> Hi Phil,
> OK I was not very clear. It was a little late in the day so forgive me.
> Here are the details:
>
> In /etc/drbd.conf I set:
> handlers{
> local-io-error "echo 0> /proc/sysrq-trigger; halt -f";
> }
>
> In disk I just have:
> Disk{
> on-io-error detach;
> }
>
> If I now do a "drbdadm -d state all" for example I get:
> /etc/drbd.conf:31: Parse eror: 'an option keyword' expected,
> but got 'local-io-error'.
>
> It seems like the implementation is in the driver but not in drbdsetup(1).
>
> Thanks.
Oh, yes right. You are right, I forgot to add this to drbdadm, and
to drbdadm's scanner/parser. I will do this on Friday, please comment
the handler out of your config file in the mean time.
You should be able to see the event in the output of
'drbdsetup /dev/drbd0 events -a'.
-Phil
--
: Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :
More information about the drbd-dev
mailing list