Coda File System

Re: /coda has realm as symlink

From: Jerry Amundson <jerry_at_pbs.com>
Date: Wed, 19 Oct 2005 07:34:14 -0500
On Wed October 19 2005 01:53, Ivan Popov wrote:
> Hi Jerry,
>
> > Even with the / volume created first, I still can't see the others...
>
> Have you created both the volumes and mountpoints for them?

Woo-hoo!! That was it...

[root_at_aspen ~]# cfs mkm /coda/example.com/mail mail
[root_at_aspen ~]# cfs mkm /coda/example.com/www www
[root_at_aspen ~]# cfs mkm /coda/example.com/docs docs
[root_at_aspen ~]# 

[root_at_oak coda]# ls -lR /coda/example.com/
/coda/example.com/:
total 6
drwxrwxrwx  1 root nfsnobody 2048 Oct 19 01:23 docs
drwxrwxrwx  1 root nfsnobody 2048 Oct 19 01:23 mail
drwxrwxrwx  1 root nfsnobody 2048 Oct 19 01:23 www

/coda/example.com/docs:
total 0

/coda/example.com/mail:
total 0

/coda/example.com/www:
total 0

Now there's mountpoints too? That was new to me - don't recall mention of it 
anywhere except the man page....

> > Also, if
> > I do manage to see additional volumes, what's the advantage of them over
> > just directories made under the / volume? Access control, I suppose...
> > more?
>
> Wonder if there are some explanations on the Wiki, certainly were on the
> list.
>
> Volumes are Codas "natural" units of data.
>
> By volume you
>  - setup replication
>  - backup
>  - set quota
>  - repair conflicts
>  - reintegrate changes
>  - implicitely serialize some other operations
>
> so you do not want them to be too big, it is going to be both inconvenient
> and inefficient (slow).
>
> Access control though is done per directory, not per volume.

So what's the purpose of the "mountpoint"?

Thanks a bunch,
jerry
Received on 2005-10-19 08:40:05