Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Ralf Gross said: > [meta-disk on raid device md1] > meta-disk /dev/md1 [0]; > ... > meta-disk /dev/md1 [1]; > ... > meta-disk /dev/md1 [2]; > > > But now drbd does not start at all - no error messages. > > # /etc/init.d/drbd start > Starting DRBD resources: [ d0 > Here's part of a strace output. read(3, "/sbin/drbdsetup /dev/drbd0 disk "..., 128) = 128 read(3, "--on-io-error=detach \n/sbin/drbd"..., 128) = 128 read(3, "er --rate=100M --group=1 --al-ex"..., 128) = 128 brk(0x5e9000) = 0x5e9000 read(3, "etup /dev/drbd2 syncer --rate=10"..., 128) = 128 read(3, "C --max-buffers=8192 --sndbuf-si"..., 128) = 128 read(3, "2.168.0.1:7789 C --max-buffers=8"..., 128) = 128 read(3, "168.0.2:7790 192.168.0.1:7790 C "..., 128) = 108 read(3, "", 128) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 5539 wait4(-1, 0x7fffbe813ea4, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn(0x8) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x436600, [], SA_RESTORER, 0x2b86ec63d510}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x436600, [], SA_RESTORER, 0x2b86ec63d510}, 8) = 0 write(1, "[ ", 2[ ) = 2 brk(0x5ea000) = 0x5ea000 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 pipe([3, 4]) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0 rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b86ec84db70) = 5543 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 close(4) = 0 close(4) = -1 EBADF (Bad file descriptor) rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b86ec84db70) = 5544 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 close(3) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0 rt_sigaction(SIGINT, {0x436600, [], SA_RESTORER, 0x2b86ec63d510}, {SIG_DFL}, 8) = 0 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5543 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5544 rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0 rt_sigaction(SIGINT, {SIG_DFL}, {0x436600, [], SA_RESTORER, 0x2b86ec63d510}, 8) = 0 close(3) = -1 EBADF (Bad file descriptor) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- wait4(-1, 0x7fffbe813f84, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn(0x8) = 0 write(1, "d0 ", 3d0 ) = 3 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b86ec84db70) = 5545 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x436600, [], SA_RESTORER, 0x2b86ec63d510}, {SIG_DFL}, 8) = 0 wait4(-1, 0x7fffbe814294, 0, NULL) = ? ERESTARTSYS (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- wait4(-1, 0x7fffbe814294, 0, NULL) = ? ERESTARTSYS (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- wait4(-1, 0x7fffbe814294, 0, NULL) = ? ERESTARTSYS (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- wait4(-1, 0x7fffbe814294, 0, NULL) = ? ERESTARTSYS (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- wait4(-1, 0x7fffbe814294, 0, NULL) = ? ERESTARTSYS (To be restarted) --- SIGWINCH (Window changed) @ 0 (0) --- wait4(-1, Maybe I missing something in my config, but drbd was running fine with internal meta data. I just changed the meta-disk lines in the config file. Is it possible that it's just not working with an md device? Kernel 2.6.17, drbd 0.7.20 Ralf