Coda File System

Repair error 95 and VGetVnode: vnode 27000009.37 is not allocated

From: Troy Benjegerdes <hozer_at_hozed.org>
Date: Mon, 27 Sep 2004 08:41:48 -0500
I was copying a bunch of digital camera photos (around 3.7GB worth of
1-2MB files) into a couple of coda volumes, and managed to trigger one
of the cases we can get what appear to be bogus conflicts, and now I
can't seem to repair it.

This is with the latest CVS build with the patches I posted earlier this
week.


hozer_at_narn 2004$ cfs br 121canon
hozer_at_narn 2004$ ls -l 121canon/local/
total 0
hozer_at_narn 2004$ ls -l 121canon/
total 3
lrw-r--r--    1 root     nogroup        38 Sep 27 08:18 global ->
@7f00000b.00000037.0000000f_at_hozed.org
drwxr-xr-x    2 maur     nogroup      2048 May 21 12:10 local
hozer_at_narn 2004$ removeinc 121canon/
121canon/ is a directory - must be removed manually
hozer_at_narn 2004$ removeinc 121canon/local
Error 95 for repair              <================================
hozer_at_narn 2004$ removeinc 121canon/global
121canon/global is a directory - must be removed manually
hozer_at_narn 2004$ rm -r 121canon/local/
rm: cannot remove directory `121canon/local/': Read-only file system
hozer_at_narn 2004$ filerepair 12
120canon  121canon  122canon  123canon
hozer_at_narn 2004$ filerepair 121canon/
Usage: filerepair <inc-file-name> <merged-file-name>
hozer_at_narn 2004$ filerepair 121canon/local/
Usage: filerepair <inc-file-name> <merged-file-name>
hozer_at_narn 2004$ cfs er 121canon/

/var/log/coda.log entry:
[ W(755) : 0000 : 08:26:05 ] MARIA: VIOC_REPAIR calls volent::Repair
which returns 95

server1 log entries:
08:26:09 VGetVnode: vnode 27000009.37 is not allocated
08:26:09 VGetVnode: vnode 27000009.37 is not allocated
08:26:10 VGetVnode: vnode 27000009.37 is not allocated
08:26:10 VGetVnode: vnode 27000009.37 is not allocated

server2 log entries:
08:26:09 VGetVnode: vnode 29000008.37 is not allocated
08:26:09 VGetVnode: vnode 29000008.37 is not allocated
08:26:10 VGetVnode: vnode 29000008.37 is not allocated
08:26:10 VGetVnode: vnode 29000008.37 is not allocated


'repair' also fails.

repair > beginrepair 121canon
Too few directory entries
Could not allocate replica list
beginrepair failed.
repair > endrepair 121canon
There is no repair session to end
repair > endrepair
There is no repair session to end
repair > hozer_at_narn 2004$ cfs er 121canon/
hozer_at_narn 2004$ cfs er 121canon/
Received on 2004-09-27 09:44:42