[DRBD-user] incon-degr-cmd "halt -f";-Error

Nate Seif seifn at rstechnicalservices.com
Thu Feb 21 20:05:16 CET 2008

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


Florian - I seem to remember getting the same error when I upgraded DRBD 
from the 0.7.x versions to 8.0.x. I solved this problem by starting with 
the new default drbd.conf file that came with the 8.0.x software and 
merging the relevant sections of my 0.7.x config file with the new config 
file.

Nate


On Thu, 21 Feb 2008, Schmidt, Florian wrote:

> Good evening everybody,
>
> I receive an error when starting DRBD:
>
> [root at noderz ~]# /etc/init.d/drbd start
> /etc/drbd.conf:7: Parse error: 'protocol | on | disk | net | syncer |
> startup | handlers' expected,
>        but got 'incon-degr-cmd' (TK 278)
> Starting DRBD resources:    /etc/drbd.conf:7: Parse error: 'protocol |
> on | disk | net | syncer | startup | handlers' expected,
>        but got 'incon-degr-cmd' (TK 278)
>
> I cannot determine, what his problem with  incon-degr-cmd "halt -f"; is.
> In other configs this is exactly the same...without this line the DRBD
> works as expected.
>
>
> Here's my drbd.conf
>
> global  {
>        usage-count no;
> }
>
> resource r0 {
>        protocol C;
>       incon-degr-cmd "halt -f";
>
> startup {
>        wfc-timeout 120;
>        degr-wfc-timeout 60;
>            }
> disk {
>        on-io-error detach;
>        fencing resource-only;
>        }
>
>
>        net {
>        cram-hmac-alg sha1;
>        shared-secret ########;;
>        after-sb-0pri disconnect;
>        after-sb-1pri disconnect;
>        after-sb-2pri disconnect;
>        rr-conflict disconnect;
>        }
>
>        syncer {
>        rate 10M;
>        }
>
>        on noderz {
>                device    /dev/drbd0;
>                disk      /dev/sdb1;
>                address   193.30.176.196:7789;
>                meta-disk internal;
>        }
>        on nodekrz {
>                device    /dev/drbd0;
>                disk      /dev/sdb1;
>                address   193.30.176.197:7789;
>                meta-disk internal;
>        }
> }
>
> common  {
>        handlers {
>        outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater";
>        }
> }
>
> Thanks in advance
>
> Florian
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>



More information about the drbd-user mailing list