Started experimenting with 8.3.2 downloaded yesterday and compiled on a F11 x86_64 (kernel 2.6.29.5-191.fc11.x86_64) host I noticed these things:
- 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 [r...@virtfed ~]# drbdadm dump WARN: no normal resources defined for this host (virtfed.domainname.com)!? while [r...@virtfed ~]# drbdadm create-md r0 Segmentation fault [r...@virtfed ~]# echo $? 139 [r...@virtfed ~]# gdb -ex run -ex bt --args drbdadm create-md r0 GNU gdb (GDB) Fedora (6.8.50.20090302-27.fc11) 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: <http://www.gnu.org/software/gdb/bugs/>... 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 /usr/lib/debug/.build-id/cb/5481c697c4d91fceaf291c97616f3c61e37345.debug Missing separate debuginfo for /lib64/libc.so.6 Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/f4/3ed7b0ca9a9882a783f30596de30318a8a6d43.debug 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 [r...@virtfed ~]# drbdadm create-md r0 gave /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 Thanks Gianluca _______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
