Coda File System

Re: VLDBLookup: No or bad vldb.

From: Jerry Amundson <jerry_at_pbs.com>
Date: Sat, 23 Oct 2004 13:12:56 -0500
On Sat October 23 2004 10:19 am, Jan Harkes wrote:
> On Sat, Oct 23, 2004 at 02:34:47AM -0500, Jerry Amundson wrote:
> > 02:29:21 VLDBLookup: No or bad vldb.
> > 02:34:01 VAttachVolumeById: vol 1000006 (vol1) attached and online
> > 02:34:01 create: volume 1000006 (vol1) created
> >
> > I have a brand new install - Fedora Core 2. I assume the above is
> > my problem, but I can't find what to put into VLDB, nor it's
> > format.
>
> If this is your SCM, the VLDB errors are normal until at least one
> volume has been created, if it is a second server then check if the
> updateclnt daemon is running.
>
> The vldb is created on the SCM, you can run bldbvldb.sh to rebuild it
> this is normally run by createvol_rep whenever a volume has been
> created.
>
> Jan

Right now, I have only an SCM, and am trying to put some files out to /coda 
on it, running venus as well, obviously. My inexperience showing, I guess. 
What I've figured out so far...

[root_at_uhura root]# cfs lv /coda
  Status of volume 0xff000001 (4278190081) named "CodaRoot"
  Volume type is Backup
  Connection State is Connected
  Minimum quota is 0, maximum quota is unlimited
  Current blocks used are 0
  The partition has 0 blocks available out of 0

Not sure where that came from, as I have not had success using /coda yet...

[root_at_uhura root]# volutil getvolumelist
V_BindToServer: binding to host uhura.pbs.com
P/vicepa Huhura.pbs.com Tac560c F74589c
Wcoda:root I1000005 H1 P/vicepa m0 M0 U2 W1000005 C417a052e D417a052e B0 A0
Wvol1 I1000006 H1 P/vicepa m0 M0 U2 W1000006 C417a0969 D417a0969 B0 A0
GetVolumeList finished successfully

I've figured out I can "volutil create" and "volutil purge" to manipulate 
this list, but beyond that...??

A restart of *.init (auth2 first, and is ok) give this for update:

[root_at_uhura srv]# tail -12 ../misc/UpdateClntLog 
13:08:29 Fetch failed for 'db/VRDB' with No such file or directory
13:08:29 Fetch failed for 'db/VRList' with No such file or directory
13:08:29 Fopen failed for file /vice/srv/pid with No such file or directory
13:08:59 Fetch failed for 'db/VLDB' with No such file or directory
13:08:59 Fetch failed for 'db/VRDB' with No such file or directory
13:08:59 Fetch failed for 'db/VRList' with No such file or directory

... codasrv looks ok:
13:10:38 Starting SmonDaemon timer
13:10:38 File Server started Sat Oct 23 13:10:38 2004

... and venus (with clog'd as coda):
13:12:31 Loading RVM data
13:12:31 Last init was Sat Oct 23 00:10:52 2004
13:12:31 Last shutdown was clean
13:12:31 Starting RealmDB scan
13:12:31        Found 3 realms
13:12:31 starting VDB scan
13:12:31        2 volume replicas
13:12:31        0 replicated volumes
13:12:31        0 CML entries allocated
13:12:31        0 CML entries on free-list
13:12:31 starting FSDB scan (8333, 200000) (25, 75, 4)
13:12:31        3 cache files in table (0 blocks)
13:12:31        8330 cache files on free-list
13:12:31 starting HDB scan
13:12:31        0 hdb entries in table
13:12:31        0 hdb entries on free-list
13:12:31 Mounting root volume...
13:12:31 Venus starting...
13:12:32 /coda now mounted.
13:12:40 worker::main Got a bogus opcode 36
13:13:33 root acquiring Coda tokens!
13:13:33 Resolved realm 'pbs.com'

And then I'm supposed to mount a volume?

[root_at_uhura root]# cfs mkm /coda/pbs.com/mail coda:root
/coda/pbs.com: No such file or directory

Thanks for the help,
jerry
Received on 2004-10-23 14:14:40