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

Peter P GMX Prometheus001 at gmx.net
Mon Oct 22 22:10:02 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.


Thanks, it works.

Lars Ellenberg schrieb:
> 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; }
>
>
>   



More information about the drbd-user mailing list