Coda File System

Re: /coda has realm as symlink

From: Jerry Amundson <jerry_at_pbs.com>
Date: Wed, 19 Oct 2005 01:29:31 -0500
On Wed October 19 2005 01:10, Jerry Amundson wrote:
> On Mon October 17 2005 11:40, Ivan Popov wrote:
> > Hi,
> >
> > On Sat, Oct 15, 2005 at 11:55:54PM -0500, Jerry Amundson wrote:
> > > RFE : Syntax check at creation that volume names start with "/" (if
> > > indeed, it is required...).
> >
> > no, that is not enforced in any way, as Jan wrote,
> >
> > though I always strongly suggest keeping volume's names and mountpoints
> > in sync - i.e. the same when possible.
>
> After putting a few more hours into this, my brain is getting fuzzy... I
> can create more than one volume per storage area (/vicepa, ...).
>
> > The special case of the root volume of a realm can be seen then
> > as either an empty name or a "/" name. I prefer the second,
> > thus for consistency beginning all volume names with "/".
>
> Ah the "special case" is what got me. When I started from scratch, I was
> right back /coda with the symlink (wow the frustration!). Once I
> createvol_rep'd the "/" volume, Voila! I ls -lR /coda and see normal dirs,
> mkdir, etc. Now I've tried to purge so getvolumelist doesn't match VRList
> so I'm going to reinstall yet again. (I'll look into better vol management
> later... will be in production someday :-)
>
> jerry

Even with the / volume created first, I still can't see the others... 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?

[root_at_aspen ~]# clog coda
username: coda_at_example.com
Password:
[root_at_aspen ~]# ls -lR /coda/example.com/
/coda/example.com/:
total 0
[root_at_aspen ~]# cat /vice/db/VRList
/ 7f000000 2 01000001 02000001 00000000 00000000 00000000 00000000 00000000 
00000000 0
mail 7f000001 2 01000002 02000002 00000000 00000000 00000000 00000000 00000000 
00000000 0
docs 7f000002 2 01000003 02000003 00000000 00000000 00000000 00000000 00000000 
00000000 0
www 7f000003 2 1000004 2000004 0 0 0 0 0 0
[root_at_aspen ~]# volutil getvolumelist
V_BindToServer: binding to host aspen.example.com
P/var/vicepa Haspen.example.com Tbe214c Fba8110
W/.0 I1000001 H1 P/var/vicepa m0 M0 U2 W1000001 C4355e641 D4355e641 B0 A0
Wmail.0 I1000002 H1 P/var/vicepa m0 M0 U2 W1000002 C4355e655 D4355e655 B0 A0
Wdocs.0 I1000003 H1 P/var/vicepa m0 M0 U2 W1000003 C4355e663 D4355e663 B0 A0
Wwww.0 I1000004 H1 P/var/vicepa m0 M0 U2 W1000004 C4355e66f D4355e66f B0 A0
GetVolumeList finished successfully
[root_at_aspen ~]#             
Received on 2005-10-19 02:34:50