[DRBD-user] notes on 8.3.2

Gianluca Cecchi gianluca.cecchi at gmail.com
Fri Jul 17 13:13:30 CEST 2009

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

Started experimenting with 8.3.2 downloaded yesterday and compiled on
a F11 x86_64 (kernel host I noticed these

- drbdadm create-md r0 segfaults when the command "hostname" on the
server contains the fully qualified domain name but you have put only
the hostname part in drbd.conf
Instead, the command "drbdadm dump" correctly gives you a warning in
this case (suggesting how to correct the error you made....):

suppose complete hostname is virtfed.domainname.com and you put
virtfed alone in drbd.conf
[root at virtfed ~]# drbdadm dump
WARN: no normal resources defined for this host (virtfed.domainname.com)!?

[root at virtfed ~]# drbdadm create-md r0
Segmentation fault
[root at virtfed ~]# echo $?

[root at virtfed ~]# gdb -ex run -ex bt --args drbdadm create-md r0
GNU gdb (GDB) Fedora (
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
Starting program: /sbin/drbdadm create-md r0
warning: Unable to open "librpm.so" (librpm.so: cannot open shared
object file: No such file or directory), missing debuginfos
notifications will not be displayed
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: yum --enablerepo='*-debuginfo' install
Missing separate debuginfo for /lib64/libc.so.6
Try: yum --enablerepo='*-debuginfo' install

Program received signal SIGSEGV, Segmentation fault.
0x0000000000409095 in convert_after_option ()
#0  0x0000000000409095 in convert_after_option ()
#1  0x000000000040d813 in main ()

- inside default drbd.conf installed there are these lines in syncer section

    # Normally all devices are resynchronized parallel.
    # To achieve better resynchronisation performance you should resync
    # DRBD resources which have their backing storage on one physical
    # disk sequentially. The express this use the "after" keyword.
    after "r2";

so that I didn't notice and the command
[root at virtfed ~]# drbdadm create-md r0

/etc/drbd.conf:100: in resource r0:
	resource 'r2' mentioned in 'after' option is not known.

perhaps it would be better to mantain the line  <<after "r2";>> but
commented .... (as in the CPU affinity lines, for example)
but perhaps the line is there explicitly because at the end there are
several resources defined (that I deleted) and between them there is
also r2.... donna


More information about the drbd-user mailing list