Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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)
Starting DRBD resources: /etc/drbd.conf:3: Parse error: 'protocol |
on | disk | net | syncer | startup | handler' expected,
but got 'incon-degr-cmd' (TK 278)
So it doesn't recognize the "incon-degr-cmd".
Same with "group" which I added to syncer part.
My version is:
cat /proc/drbd
version: 8.0.6 (api:86/proto:86)
SVN Revision: 3048 build by root at sip2, 2007-10-09 23:05:16
Is my drbd broken?
When I make drbd8 I see the following output, but "make" finishes
successfully:
make[1]: Entering directory `/home/pst/drbd8/drbd-8.0.6/drbd'
Calling toplevel makefile of kernel source tree, which I believe is in
KDIR=/lib/modules/2.6.18-4-486/build
test -f ../scripts/adjust_drbd_config_h.sh && \
KDIR=/lib/modules/2.6.18-4-486/build O= /bin/bash
../scripts/adjust_drbd_config_h.sh
/lib/modules/2.6.18-4-486/build /home/pst/drbd8/drbd-8.0.6/drbd
make[3]: /usr/src/linux-headers-2.6.18-4-486/scripts/kconfig/Makefile:
Datei oder Verzeichnis nicht gefunden
make[3]: *** Keine Regel, um
»/usr/src/linux-headers-2.6.18-4-486/scripts/kconfig/Makefile« zu
erstellen. Schluss.
make[2]: *** [help] Fehler 2
/home/pst/drbd8/drbd-8.0.6/drbd
Using unmodified drbd_config.h
make -C /lib/modules/2.6.18-4-486/build
SUBDIRS=/home/pst/drbd8/drbd-8.0.6/drbd modules
It writes an error but the continues with "Using unmodified drbd_config.h".
Best regards
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20071017/d74edc6b/attachment.htm>