* [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
* Re: [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, 0 replies; 5+ messages in thread
From: Philipp Reisner @ 2006-10-05 8:51 UTC (permalink / raw)
To: drbd-dev
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 :
^ permalink raw reply [flat|nested] 5+ messages in thread
* 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
* Re: [Drbd-dev] local-io-error parse error in drbd.conf
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
1 sibling, 0 replies; 5+ messages in thread
From: Philipp Reisner @ 2006-10-05 13:23 UTC (permalink / raw)
To: Montrose, Ernest; +Cc: drbd-dev
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 :
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Drbd-dev] local-io-error parse error in drbd.conf
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
1 sibling, 0 replies; 5+ messages in thread
From: Philipp Reisner @ 2006-10-06 12:45 UTC (permalink / raw)
To: drbd-dev
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, for pointing it out. I have just commited the missing implementaion.
See http://lists.linbit.com/pipermail/drbd-cvs/2006-October/001305.html
-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 :
^ 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.