(Illustration by Gaich Muramatsu)
We've hit our first server-server conflict and I've tried everything, but I can't seem to resolve it. It's possible my attempts to resolve it have backfired and I need to reinitialize the volume (and I'd appreciate a pointer to the reference material on this if anyone has it). Pretty much no matter what I do I seem to get this error message: VIOC_REPAIR /coda/director/httpd/html: Resource temporarily unavailable. The server is up and strongly connected and other volumes are humming along. Here's the quickest example: # repair /coda/director/httpd/html /tmp/fix -owner 500 -mode 755 Server-server directory repair session started. Available commands: comparedirs removeinc dorepair sophos.last was removed at some sites; should it be REMOVED at ALL sites? [N]: y The fix file may be empty but .... You still need a dorepair because the Version state is different VIOC_REPAIR /coda/director/httpd/html: Resource temporarily unavailable Repair failed. Repair session completed. And here's the strace of that starting from the "should it be REMOVED" question: Process 13207 attached - interrupt to quit read(0, "y", 1) = 1 write(1, "y \r", 3) = 3 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(0, "\r", 1) = 1 write(1, "\33[Asophos.last was removed at so"..., 87) = 87 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGINT, {0x8049c88, [INT], SA_RESTORER|SA_RESTART, 0xb74398d8}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGTSTP, {SIG_DFL}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGTTOU, {SIG_DFL}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGTTIN, {SIG_DFL}, {0xb75d58a4, [], SA_RESTORER, 0xb74398d8}, 8) = 0 rt_sigaction(SIGWINCH, {SIG_DFL}, {0xb75d59b0, [], SA_RESTORER, 0xb74398d8}, 8) = 0 open("/coda/.CONTROL", O_RDONLY) = 4 ioctl(4, 0x401456d0, 0xbfffae80) = -1 ENOENT (No such file or directory) close(4) = 0 open("/coda/.CONTROL", O_RDONLY) = 4 ioctl(4, 0x401456d0, 0xbfffae80) = -1 ENOENT (No such file or directory) close(4) = 0 brk(0x806d000) = 0x806d000 fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73ac000 write(3, "\nreplica dir129 1000002 \n\tremove"..., 244) = 244 close(3) = 0 munmap(0xb73ac000, 4096) = 0 open("/coda/.CONTROL", O_RDONLY) = 3 ioctl(3, 0x401456c5, 0xbfffc740) = 0 close(3) = 0 open("/coda/.CONTROL", O_RDONLY) = 3 ioctl(3, 0x401456c5, 0xbfffc740) = 0 close(3) = 0 write(1, "The fix file may be empty but .."..., 101) = 101 munmap(0xb73d8000, 163840) = 0 open("/coda/.CONTROL", O_RDONLY) = 3 ioctl(3, 0x401456c5, 0xbfffc9d0) = -1 EINVAL (Invalid argument) close(3) = 0 stat64("/tmp/fix", {st_mode=S_IFREG|0644, st_size=244, ...}) = 0 open("/tmp/fix", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73ff000 read(3, "\nreplica dir129 1000002 \n\tremove"..., 4096) = 244 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb73ff000, 4096) = 0 gettimeofday({1115321963, 507979}, NULL) = 0 getpid() = 13207 lstat64("/tmp/REPAIR.IdQDmJ", 0xbfffa970) = -1 ENOENT (No such file or directory) open("/tmp/REPAIR.IdQDmJ", O_WRONLY|O_CREAT|O_EXCL, 0) = 3 write(3, "\0\0\0\2", 4) = 4 write(3, "\1\0\0\2", 4) = 4 write(3, "\0\0\0\1", 4) = 4 write(3, "\2\0\0\2", 4) = 4 write(3, "\0\0\0\4", 4) = 4 write(3, "\0\2\250\366", 4) = 4 write(3, "sophos.last", 11) = 11 write(3, "\n", 1) = 1 write(3, "", 0) = 0 write(3, "\n", 1) = 1 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\2\250\362", 4) = 4 write(3, "clamav", 6) = 6 write(3, "\n", 1) = 1 write(3, "", 0) = 0 write(3, "\n", 1) = 1 write(3, "\177\0\0\1", 4) = 4 write(3, "\0\0\0\7", 4) = 4 write(3, "\0\0\0\4", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\2\250\362", 4) = 4 write(3, "threatwall", 10) = 10 write(3, "\n", 1) = 1 write(3, "", 0) = 0 write(3, "\n", 1) = 1 write(3, "\177\0\0\1", 4) = 4 write(3, "\0\0\0\t", 4) = 4 write(3, "\0\0\0\5", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\2\250\362", 4) = 4 write(3, "sophos", 6) = 6 write(3, "\n", 1) = 1 write(3, "", 0) = 0 write(3, "\n", 1) = 1 write(3, "\177\0\0\1", 4) = 4 write(3, "\0\0\0\177", 4) = 4 write(3, "\0\0\20\274", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\2\250\362", 4) = 4 write(3, "scm", 3) = 3 write(3, "\n", 1) = 1 write(3, "", 0) = 0 write(3, "\n", 1) = 1 write(3, "\177\0\0\1", 4) = 4 write(3, "\0\0\0\227", 4) = 4 write(3, "\0\0\5\f", 4) = 4 write(3, "\0\0\0\0", 4) = 4 write(3, "\0\0\0\0", 4) = 4 close(3) = 0 open("/coda/.CONTROL", O_RDONLY) = 3 ioctl(3, 0x401456c2, 0xbfffa1c0) = -1 EAGAIN (Resource temporarily unavailable) close(3) = 0 write(2, "VIOC_REPAIR /coda/director/httpd"..., 87) = 87 open("/coda/.CONTROL", O_RDONLY) = 3 ioctl(3, 0x401456c1, 0xbfffd9e0) = 0 close(3) = 0 write(1, "Repair session completed.\n", 26) = 26 munmap(0xb75e7000, 4096) = 0 _exit(0) = ? Process 13207 detached -- Patrick Walsh eSoft Incorporated 303.444.1600 x3350 http://www.esoft.com/Received on 2005-05-05 15:49:28