/ 2006-03-09 10:54:17 -0800
\ Gary W. Smith:
> We started the process of upgrading some of our dev clusters from 0.7.10 to
> 0.7.17 today and found that the config file that worked under .0.7.10 throws
> errors under 0.7.17. There is also an oddity in /proc/drbd.
>
> It seems to be a trivial work around but I was wondering if this is expected
> behavior or something else. I had to put a space in incon-degr-cmd statement
>
> service drbd start:
>
> Starting DRBD resources: /etc/drbd.conf:8: string terminator
> missing
> or string too long.
>
> /etc/drbd.conf:8: string terminator missing or string too long.
>
> /etc/drbd.conf contains:
> resource drbd0 {
> protocol C;
> incon-degr-cmd ""; < -- there is no space in there.
incon-degr-cmd ":";
(or incon-degr-cmd "killall -9 heartbeat"; [<-- nice one, eh?])
would probably solve this, or just comment it out completely.
this has nothing to do with 0.7.17, but is a bug fix for huge comment
blocks that segfaulted the config parser of the drbdadm user space tool
(I think that fix has been in 0.7.11)
I'll need to have a look at the parser code again.
> cat /proc/drbd shows:
>
> version: 0.7.17 (api:77/proto:74)
>
> SVN Revision: 2093 build by [email protected],
> 2006-03-04 11:20:30
>
> 0: cs:Connected st:Secondary/Primary ld:Consistent
>
> ns:0 nr:40 dw:40 dr:0 al:0 bm:3 lo:0 pe:0 ua:0 ap:0
>
> 1: cs:Unconfigured
>
> Item 1 is showing unconfigured. There is no item 1 in the config file to
> configure.
>
> The last item, the unconfigured node, seems to be a little concerning as all
> of
> the other clusters have no unconfigured nodes (and the machines are all
> identical, but running 0.7.10).
>
> Any advice on this would be greatly appreciated.
no worries here, you probably loaded the drbd module before starting
drbd, so it used the default of two resources (not nodes).
the drbd init script counts the configured resources, and loads the
module with the "minor_count=N" parameter (unless you specify that you
want more in the global {} section).
--
: Lars Ellenberg Tel +43-1-8178292-0 :
: LINBIT Information Technologies GmbH Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe http://www.linbit.com :
__
please use the "List-Reply" function of your email client.
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user