Coda File System

Re: Second SCM setup

From: LEE, Yui-wah <>
Date: Thu, 19 Nov 1998 14:21:19 +0800 (CST)
Khairul Azmi wrote:
> 13:18:58 Hostname of this server ( is not listed in 
> /vice/db/servers. Exiting.
> my /vice/db/servers contains
> cel_linux2	1
> So I add an entry cel_linux1	1 at the end of the file and restart the 
> server. However I still got the same error message. The weird thing is 
> somehow the entry I added is deleted. Could anyone help me with this 
> problem. Thanks
> Azmi

The entries in /vice/db/servers must be uniquely numbered.  For example,
the file in my setup is:

  [root_at_violin db]# cat servers
  xylophone               128
  violin                  129

The man page also said that we should avoid using number in the
range 0-127 (decimal).  I am not sure whether this restriction
is still true.

In one of my old email dated several months ago, I once reported that
there were no problem with identically numbered entries in the file
/vice/db/servers.  I was wrong.  I, finally, had to edit the file, and
re-initialized my two servers (and re-create all the volumes after
the re-initialization).  

The visable problem that triggered me to know that my /vice/db/servers
was wrong was that I noticed that some of my data are written to one of
the servers, but not the other,  as indicated in the following:

  [clement_at_aria c.clement]$ cfs lv .
    Status of volume 0x7f000002 (2130706434) named "u.clement"
    Volume type is ReadWrite
    Minimum quota is 0, maximum quota is unlimited
    Current blocks used are 50277
    The partition has 306487 blocks available out of 470113
Note that the data did not show up on one server (xylophone) but only
the other (violin)
  [root_at_xylophone staging]# df
  Filesystem         1024-blocks  Used Available Capacity Mounted on
  /dev/hda6             546369    4173   513974      1%   /vicepa
  [root_at_violin db]# df
  Filesystem         1024-blocks  Used Available Capacity Mounted on
  /dev/hda9             359089  318691    21853     94%   /unused
Also, "cfs whereis" was confused (pc89225 is aliased as violin.
Note that the the same servers were listed twice.):

  [clement_at_aria c.clement]$ cfs whereis /coda/usr/clement

  [clement_at_aria c.clement]$ cfs whereis /coda/

-- Clement

Yui-wah LEE (Clement)                              Tel: (852)-26098412
Department of Computer Science and Engineering,    Fax: (852)-26035024 
The Chinese University of Hong Kong     Email:
Received on 1998-11-19 01:21:15