Coda File System

Re: Question regarding user management in CODA

From: Davor Ocelic <docelic_at_hcoop.net>
Date: Thu, 15 Feb 2007 16:42:15 -0500
On Thu, Feb 15, 2007 at 11:40:46PM +0530, Chittaranjan Mandal wrote:
> We am trying to setup CODA with the help of
>   http://www.coda.cs.cmu.edu/doc/html/manual/index.html
> 
> So far we have only been able to install all packages (via
> mandriva rpms). Hopefully we will also get the clients and
> servers running with the help of the above manual.
> 
> There is one aspect that the manual does not seem to address.
> We are currently using NFS with NIS and autofs. So, we already
> have a pool of users and their individual home directories
> which they get after they log into a client host.
> 
> We would like to somehow replace the autofs-NFS mechanism with
> something like "autofs-CODA". We would like the existing pool
> of users to get their files via CODA.
> 
> Could you please shed some light on how this could be achieved.

Hey Chitta,

In addition to Rune's mail, I think you wanted to know what
to do with the user files.

As said, you can't have the same files server over both Coda
and NFS (or similar).

Coda server stores all files under a normal filesystem
directory or mount point, such as /vicepa/ on the server,
but the files in there have coda-specific internal organization
and are not directly usable like files you see in say, /home/.
(Therefore - you can't export them via NFS/Samba/whatever..).


If you will go with Coda, to make the transition, you will have
to install a temporary client which will connect to both
Coda and NFS server. Then, for each user from the NFS-exported
directories, you would create appropriate user volumes in Coda, 
Coda-mount them somewhere under /coda/SITENAME/..., and finally
copy existing user files from the NFS space into the Coda
space (coda volume).

The Coda server would store all files under /vicepa/, but as
said, the internal structure is hashed and everthing, and you
basically don't touch those files directly - you touch them
only from a coda client where they look normal.

-doc
Received on 2007-02-15 18:12:41