From: Philipp Reisner <philipp.reisner@linbit.com>
To: "Montrose, Ernest" <Ernest.Montrose@stratus.com>
Cc: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] local-io-error parse error in drbd.conf
Date: Thu, 5 Oct 2006 15:23:59 +0200 [thread overview]
Message-ID: <200610051524.00444.philipp.reisner@linbit.com> (raw)
In-Reply-To: <BD7042533C2F8943A6A4257A9E31C45439C7F5@EXNA.corp.stratus.com>
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 :
next prev parent reply other threads:[~2006-10-05 13:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-05 13:03 [Drbd-dev] local-io-error parse error in drbd.conf Montrose, Ernest
2006-10-05 13:23 ` Philipp Reisner [this message]
2006-10-06 12:45 ` Philipp Reisner
-- strict thread matches above, loose matches on Subject: below --
2006-10-04 19:21 Montrose, Ernest
2006-10-05 8:51 ` Philipp Reisner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200610051524.00444.philipp.reisner@linbit.com \
--to=philipp.reisner@linbit.com \
--cc=Ernest.Montrose@stratus.com \
--cc=drbd-dev@lists.linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.