Coda File System

Re: Creating & populating volumes, etc

From: Ivan Popov <pin_at_math.chalmers.se>
Date: Thu, 4 Sep 2003 12:52:54 +0200 (MEST)
On Thu, 4 Sep 2003, Ian Smith wrote:

> Steffen Neumann wrote:

> > Ivan will probably take over from now ;-)

<sigh> I have been so glad you answered to Ian, Steffen!

:-)

> BTW I now have six volumes created, rootvolume, test, test2-4.  I am
> worried about the first because the docs say I shouldn't mount anything
> in the volume mounted on the root of the coda file system.  (I dont even
> know what volume is mounted on the root of the coda file system, if you
> see what I mean).

You should have answered to vice-setup about the name of your rootvolume,
it creates an implicit moutpoint at the root of your cell.

> root_at_kryten:~# ll /vice

I think you should have a file /vice/db/ROOTVOLUME containing the name of
your rootvolume.

> root_at_kryten:~# ll /vicepa
> total 0
> - -rw-r--r--    1 root     root            0 Sep  3 11:03 FTREEDB
>
> Looks a bit empty to me.

I think because you did not yet create any objects in Coda.

> 1. mount the volumes

Your root volume should be in place after the server start, and it is,
according to your next letter:

> root_at_kryten:/vice# ll /coda/kryten.localdomain/
> total 0

Looks good.

> root_at_kryten:/vice# cfs mkmount /coda/kryten.localdomain/mytest test2
> /coda/kryten.localdomain: Permission denied

Remember, this command is used in a client, and it does not help that you
are root - you have to have Coda credentials for the sufficiently powerful
account (that you have created in Coda database during your vice-setup).

clog should help you. You do not have to be logged in as root to do that.

> 2. put data into them

A soon as you will be authenticated as the powerful account, you will have
sufficient rights on /coda/kryten.localdomain/

Good luck Ian!
--
Ivan
Received on 2003-09-04 06:54:30