All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Drbd-dev] local-io-error parse error in drbd.conf
@ 2006-10-05 13:03 Montrose, Ernest
  2006-10-05 13:23 ` Philipp Reisner
  2006-10-06 12:45 ` Philipp Reisner
  0 siblings, 2 replies; 5+ messages in thread
From: Montrose, Ernest @ 2006-10-05 13:03 UTC (permalink / raw)
  To: Philipp Reisner, drbd-dev

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.

EM--
-----Original Message-----
From: drbd-dev-bounces@linbit.com [mailto:drbd-dev-bounces@linbit.com] On Behalf Of Philipp Reisner
Sent: Thursday, October 05, 2006 4:51 AM
To: drbd-dev@linbit.com
Subject: Re: [Drbd-dev] local-io-error parse error in drbd.conf

Am Mittwoch, 4. Oktober 2006 21:21 schrieb Montrose, Ernest:
> Hi,
> Is this configuration key word fully implemented yet?  It causes a parse
> error for now.
>

Hi Ernest,

I do not understand the question, I guess you mean:

  disk {
    on-io-error   detach;
  }

And drbdsetup tells us, that it will accept...

[root@wurzel:~]# drbdsetup help disk
USAGE:
 disk lower_dev meta_data_dev meta_data_index [{--size|-d} 0 ... 8587575296]
     [{--on-io-error|-e} pass_on call-local-io-error detach]
     [{--fencing|-f} dont-care resource-only resource-and-stonith] 
[{--use-bmbv|-b}]

pass_on, call-local-io-error or detach as values for on-io-error.

-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 :
_______________________________________________
drbd-dev mailing list
drbd-dev@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Drbd-dev] local-io-error parse error in drbd.conf
@ 2006-10-04 19:21 Montrose, Ernest
  2006-10-05  8:51 ` Philipp Reisner
  0 siblings, 1 reply; 5+ messages in thread
From: Montrose, Ernest @ 2006-10-04 19:21 UTC (permalink / raw)
  To: drbd-dev

[-- Attachment #1: Type: text/plain, Size: 104 bytes --]

Hi,
Is this configuration key word fully implemented yet?  It causes a parse
error for now.
 
EM--

[-- Attachment #2: Type: text/html, Size: 3635 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-06 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-05 13:03 [Drbd-dev] local-io-error parse error in drbd.conf Montrose, Ernest
2006-10-05 13:23 ` Philipp Reisner
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

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.