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

Schmidt, Florian florian.schmidt at altroconsult.de
Thu Feb 21 19:57:08 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.


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



More information about the drbd-user mailing list