Coda File System

Re: Setting up coda 5.3.6 on Red Hat Linux 6.1 with 2.2.14 kernel.

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Wed, 29 Mar 2000 11:52:44 -0500
On Wed, Mar 29, 2000 at 12:37:37PM +0200, Robin Hunt wrote:
> Hi
> 
> I have been trying to setup coda (server) on the above system for a while
> now with no success. I installed coda-server via rpm's. I can get neither
> client nor server to work.
> 
> We are behind a firewall, but there are no restrictions on in/out traffic

Masquerading firewalls are unable to handle the Coda bulk transfers. So
you probably did connect to the testserver, but as soon as your client
tries to fetch the contents of /coda the transfer fails and the whole
thing disconnects.

> On the client side:
> 
> Attempting to cmon to the CMU test server results in "No binding" being
> displayed, nothing changes beyond that.  venus-setup seems to run with no
> problems. I also can't connect to any servers on my local network.

Well, looking at your descriptions below, no wonder, there are probably
no working servers on your local network.

> On the server side:
> 
> Rdsinit will initialize data and log.
> This takes a while.
> rvm_initialize succeeded.
> Going to initialize data file to zero, could take awhile.
> done.
> ?  ERROR: rds_zap_heap RVM_EOFFSET.

This is an error that indicates that it cannot fit the rvm header into
the data segment.

....
> What is your log partition? log.part
> What is your data partition (or file)? data.part

Aha, got it. Try running vice-setup-rvm, and specify the absolute path
to where you want log.part and data.part. (eg. /vice/srv/LOG /vice/srv/DATA)
Various programs move their working directory around and won't be able
to find these files without an absolute path.

> It also seems to fall over attempting to write to /vicepa with:
> 
> 11:55:16 VGetPartition Couldn't find partition /vicepa
> Error getting partition named /vicepa. Check vicetab.
> done.

What is in the /vice/db/vicetab file?

> Where shall we store your data [/vicepa]? /vicepa
> Shall I set up a vicetab entry for approx 256000 files for /vicepa (y/n) y
> Now initializing the partition. This takes a while....
> 
> Date: Wed 03/29/2000
> 
> 11:55:16 VGetPartition Couldn't find partition /vicepa
> Error getting partition named /vicepa. Check vicetab.
> done.

Hmm, the script does this:

    echo "$bn   $srvdir   ftree   width=64,depth=3" >> /vice/db/vicetab
    echo "Now initializing the partition. This takes a while...."
    makeftree /vice/db/vicetab $srvdir
    echo 'done.'
    echo
    echo 'Server directory is set up!'

So I wonder why vicetab.... do you have a /vice/db directory? What is
put in the vicetab file?

Keep the following handy once the previous things are set up
successfully.

Jan

>  - start the fileserver: startserver &
>  - wait until the server is up: tail -f /vice/srv/SrvLog
>  - create your root volume: createvol_rep nis06 E0000100 /vicepa
>  - setup a client: venus-setup nis06.sharenet.co.za 20000
>  - start venus: venus
>  - enjoy Coda.
Received on 2000-03-29 11:53:43