<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<span style="font-size: 12pt; font-family: "Times New Roman";"
lang="EN-US">My drbd.conf starts with the following lines:<br>
<br>
</span>
<div style="border: 0.5pt solid windowtext; padding: 1pt 4pt;">
<p class="Listing2"><span style="" lang="EN-US">resource r0
{<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>protocol
C;<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>incon-degr-cmd
"echo '!DRBD! pri on
incon-degr' | wall ; sleep 60 ; halt -f";<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><!--[if !supportEmptyParas]--> <!--[endif]--><o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>startup
{<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>wfc-timeout
0; degr-wfc-timeout<span style=""> </span>120;<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>}<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><!--[if !supportEmptyParas]--><br>
<!--[endif]--><o:p></o:p></span></p>
</div>
<br>
When I start drbd, I get the following error:<br>
<div style="border: 0.5pt solid windowtext; padding: 1pt 4pt;">
<p class="Listing2"><span style="" lang="EN-US">/etc/drbd.conf:3:
Parse error: 'protocol | on | disk | net | syncer | startup | handler'
expected,<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>but
got 'incon-degr-cmd' (TK 278)<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US">Starting
DRBD resources:<span style=""> </span>/etc/drbd.conf:3:
Parse error: 'protocol | on | disk | net | syncer | startup | handler'
expected,<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>but
got 'incon-degr-cmd' (TK 278)<o:p></o:p></span></p>
</div>
<br>
So it doesn't recognize the "<span style="" lang="EN-US"><span style=""></span>incon-degr-cmd".<br>
<br>
</span><span style="" lang="EN-US">Same with "group"</span> which I
added to syncer part.<br>
<br>
My version is:<br>
<div style="border: 0.5pt solid windowtext; padding: 1pt 4pt;">
<p class="Listing2"><span style="" lang="EN-US">cat
/proc/drbd<o:p></o:p></span></p>
<p class="Listing2"><span lang="DE">version: 8.0.6 (api:86/proto:86)</span></p>
<p class="Listing2"><span style="" lang="EN-US">SVN
Revision: 3048 build by root@sip2, 2007-10-09 23:05:16<o:p></o:p></span></p>
</div>
<br>
Is my drbd broken?<br>
<br>
When I make drbd8 I see the following output, but "make" finishes
successfully:<br>
<div style="border: 0.5pt solid windowtext; padding: 1pt 4pt;">
<p class="Listing2"><span style="" lang="EN-US">make[1]:
Entering directory `/home/pst/drbd8/drbd-8.0.6/drbd'<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><!--[if !supportEmptyParas]-->
<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>Calling
toplevel makefile of kernel source
tree, which I believe is in<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>KDIR=/lib/modules/2.6.18-4-486/build<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><!--[if !supportEmptyParas]-->
<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US">test -f
../scripts/adjust_drbd_config_h.sh && \<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style="">
</span>KDIR=/lib/modules/2.6.18-4-486/build
O= /bin/bash ../scripts/adjust_drbd_config_h.sh<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US">/lib/modules/2.6.18-4-486/build
/home/pst/drbd8/drbd-8.0.6/drbd<o:p></o:p></span></p>
<p class="Listing2"><span lang="DE">make[3]:
/usr/src/linux-headers-2.6.18-4-486/scripts/kconfig/Makefile:
Datei oder Verzeichnis nicht gefunden</span></p>
<p class="Listing2"><span lang="DE">make[3]: *** Keine Regel, um
»/usr/src/linux-headers-2.6.18-4-486/scripts/kconfig/Makefile« zu
erstellen.<span style=""> </span></span><span style="" lang="EN-US">Schluss.<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US">make[2]: ***
[help] Fehler 2<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US">/home/pst/drbd8/drbd-8.0.6/drbd<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><!--[if !supportEmptyParas]-->
<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><span style=""> </span>Using
unmodified drbd_config.h<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US"><!--[if !supportEmptyParas]-->
<o:p></o:p></span></p>
<p class="Listing2"><span style="" lang="EN-US">make -C
/lib/modules/2.6.18-4-486/build SUBDIRS=/home/pst/drbd8/drbd-8.0.6/drbd<span
style=""> </span>modules<o:p></o:p></span></p>
</div>
<br>
It writes an error but the continues with "<span style="" lang="EN-US"><span
style=""></span>Using unmodified drbd_config.h".<br>
<br>
</span><br>
Best regards<br>
Peter<br>
<span style="font-size: 12pt; font-family: "Times New Roman";"
lang="EN-US"></span>
</body>
</html>