Coda File System

starting over

From: Gabriel B. <>
Date: Fri, 11 Mar 2005 18:26:40 -0300
I decided to start over. I wiped all coda and venus conf

vice-setup was praticaly this:
yes, scm
scm id 1
user codaroot with uid 1075
/vice/LOG 20M
/vice/DATA 90M

then vice-setip-srvdir
use /vicepa
2M files

> nu bossnes
> ng www 1076 (bossnes id)

createvol_rep / camboinha.servers/vicepa -3
that didn't worked. i waite 2hours and ctrl_Clled.

volutil create_rep /vicepa / 00001
(a valid workaround?)

the strange thing is that /vice/db/VRList is empty
"volutil dumpvrdb <any existing file>" tells me it cant write to file
"volutil dumpvrdb <any new file>" gives an empty one
(after it i stoped following the createvol_rep...)

camboinha# volutil getvolumelist
V_BindToServer: binding to host camboinha
P/vicepa Hcamboinha T1b619d8 F102f424
W/ I1000001 H1 P/vicepa m0 M0 U3 W1000001 C4231f585 D4231f585 B0 A0
GetVolumeList finished successfully

now to the client.
bossnes# venus -init
Date: Fri 03/11/2005
17:11:08 Coda Venus, version 6.0.8
17:11:09 /usr/coda/LOG size is 8015477 bytes
17:11:10 /usr/coda/DATA size is 32061908 bytes
17:11:10 Initializing RVM data...
17:11:13 ...done
17:11:13 Loading RVM data
17:11:13 Starting RealmDB scan
17:11:13        Found 1 realms
17:11:13 starting VDB scan
17:11:13        0 volume replicas
17:11:13        0 replicated volumes
17:11:14        0 CML entries allocated
17:11:14        0 CML entries on free-list
17:11:23 starting FSDB scan (12500, 300000) (25, 75, 4)
17:11:23        0 cache files in table (0 blocks)
17:11:23        12500 cache files on free-list
17:11:28 starting HDB scan
17:11:28        0 hdb entries in table
17:11:28        0 hdb entries on free-list
17:11:28 Initial LRDB allocation
17:11:28 Mounting root volume...
17:11:28 Venus starting...
17:11:28 /coda now mounted.

bossnes# clog codaroot
username: codaroot_at_camboinha.servers
bossnes# ctokens 
Tokens held by the Cache Manager for root:
        Coda user id:    1075
        Expiration time: Sat Mar 12 18:13:29 2005
bossnes# l /coda/
total 4.5k
dr-xr-xr-x    2 root     nogroup      2.0k Mar 11 17:11 ./
drwxr-xr-x   24 root     root          616 Mar 10 11:56 ../
drwxrwxrwx    2 root     nogroup      2.0k Mar 11 16:54 camboinha.servers/

seems fine also.

now, lets make some mount points for the future volumes:
bossnes# mkdir /coda/camboinha.servers/htdocs

and that's it. it will hang in there pratically forever. until i ctrl+c it.

then. i restart both server and client, and sometimes it shows the
server inside /coda. others time it simply shows an empty /coda

i then created two more volumes. now venus report  "2 volume replicas"
but i still don't see the server inside /coda [update while writing
the email :) now the number of volumes is random. sometimes zero and
sometimes 2]

the logs have nothing even with the highest debuglevel.
the times i have no dir in the /coda i type
cfs lv /coda/camboinha.servers and it magicaly appears there
...with the file the creating i ctrl+Celed before when it hang. so, it
probably is the cache. the weird part is that i delete all rvm files
on the client, and every time i start it up with -init. anyhow, as
soon as i create anything it hangs.

tcpdump udp [port 2432] on the server shows nothing

i'm, again, clueless
Received on 2005-03-11 16:27:29