[DRBD-user] Upgrade .7.10 -> 0.7.17 config error

Gary W. Smith gary at primeexalia.com
Thu Mar 9 19:54:17 CET 2006

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


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.
		  syncer {
		    rate 20M;
		    group 1;
		    al-extents 257;
		  }

		  on servera {
		    device    /dev/drbd0;
		    disk      /dev/sdb1;
		    address   10.254.254.25:7790;
		    meta-disk /dev/sdb2[1];
		  }

		  on serverb {
		    device    /dev/drbd0;
		    disk      /dev/sdb1;
		    address   10.254.254.26:7790;
		    meta-disk /dev/sdb2[1];
		  }
		}


cat /proc/drbd shows:

		version: 0.7.17 (api:77/proto:74)
		SVN Revision: 2093 build by
gary at pxtbendev02.primeexalia.com, 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.

Gary Wayne Smith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20060309/19eae710/attachment.htm>


More information about the drbd-user mailing list