Coda File System

Re: [Fwd: venus-setup]

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Mon, 22 Nov 1999 18:09:55 -0500
On Mon, Nov 22, 1999 at 01:33:55PM -0500, Claudio V. Peredo wrote:
> After that, I tried setting up a venus client on a machine called
> adsr12. I must confess that I didn't add adsr12 into the /.rhosts of
> adsr8 until later.

The /.rhosts? Why would you ever do that?

> I also added adsr12 into the /etc/hosts of adsr8. Did the converse on
> adsr12. After that I did

The server doesn't need the clients in its /etc/hosts. The client only
needs one server for bootstrapping itself in /etc/hosts.

> [root_at_adsr12 /root]# venus-setup adsr8.mssm.edu 20000
> mkdir: cannot create directory `/coda': File exists
					  ^^^^^^^^^^^
WTF is a _file_ doing in the place of /coda? I guess something is messed
up there. Kill all running venus binaries, try to unmount /coda.

> 11:28:43 Getting Root Volume information...
> 11:28:58 GetRootVolume: can't get root volume name!
...
> Why is this?
> Did I leave something out?

What does the file /vice/db/ROOTVOLUME on the server contain?
Any errors logged around the end of the server logs (/vice/srv/SrvLog
and /vice/srv/SrvErr)?

> venus, however is running after this message:
> [claudio_at_adsr12 /coda]$ ps aux | grep venus
> claudio   3118  0.4  6.2  6876 4980 pts/0    S    11:16   0:07 emacs venus-setup
> root      3135  0.1  7.2  7208 5744 pts/1    S    11:28   0:01 venus
> claudio   3143  0.0  0.5  1148  400 pts/2    S    11:45   0:00 grep venus
> [claudio_at_adsr12 /coda]$ 
> but the file system is not mounted:
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/hda1               199047     63221    125546  33% /
> /dev/hdc10              495714     66153    403960  14% /home
> /dev/hda5              1774943    764415    918802  45% /usr
> /dev/hdc5              1981000      4173   1874416   0% /vicepa
> /dev/hdc8               495714       163    469950   0% /vice
> /dev/hdc1              2970455    322848   2493990  11% /usr/local
> df: /coda: Input/output error

Nope that's the output of df, mounted volumes are listed by `mount'.

> 15:14:12 Getting Root Volume information...
> 15:14:12 GetRootVolume: can't get root volume name!
> 15:14:27 Venus starting...
> 15:14:27 /coda now mounted.

Ok, that one got the rootvolume name on the second try.

> Any help will be greatly appreciated.

Clean the state..

# killall -9 venus
# umount /coda
# rmmod coda
# rm /coda/NOT_REALLY_CODA
# rmdir /coda

And reinitialize..

# mkdir /coda
# touch /coda/NOT_REALLY_CODA
# touch /usr/coda/venus.cache/INIT
# venus &


Jan
Received on 1999-11-22 18:18:00