[DRBD-user] 8.0.6 incon-degr-cmd not accepted by drbd?

Lars Ellenberg lars.ellenberg at linbit.com
Thu Oct 18 00:04:59 CEST 2007

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


On Wed, Oct 17, 2007 at 10:45:08PM +0200, Peter P GMX wrote:
> My drbd.conf starts with the following lines:
> 
> resource r0 {
> 
>  protocol C;
> 
>  incon-degr-cmd "echo '!DRBD! pri on incon-degr' | wall ; sleep 60 ; 
> halt -f";
> 
> 
> 
>  startup {
> 
>    wfc-timeout 0; degr-wfc-timeout     120;
> 
>  }
> 
> 
> 
> When I start drbd, I get the following error:
> 
> /etc/drbd.conf:3: Parse error: 'protocol | on | disk | net | syncer | 
> startup | handler' expected,
> 
>        but got 'incon-degr-cmd' (TK 278)

bug in documentation.
it is now
	handlers { pri-on-incon-degr "..."; }

btw, error message bug, too. it is in fact plural: "handlers", not handler.

> Same with "group" which I added to syncer part.

that now needs to be expressed as 
	syncer { after other-resource-name; }


-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :



More information about the drbd-user mailing list