[OpenAFS] create mountpoint for user in afs

John Hascall john@iastate.edu
Mon, 07 Jan 2008 08:28:24 CST

> On Jan 7, 2008, at 8:45 , Matthias Teege wrote:
> > Then I checked the setup with fs lsmount.
> > % fs lsmount /afs/mteege.de/user
> > fs : Invalid argument; it is possible that /afs/mteege.de/user is  
> > not in AFS.

> > Is this ok or do I need to create the mountpoint /afs/mteege.de/ 
> > user in
> > AFS? How do I create a mountpoint in AFS?

> That's fine.  The real error there is that you tried to lsmount  
> something that isn't a mountpoint, which naturally fails.

I think most people make the things which live in
/afs/@cell be mountpoints for volumes, but as you
have demonstrated it is not required.

If you wanted to go down that path:

    fs rmm /afs/mteege.de/user/matthias
    rmdir /afs/.mteege.de/user
    vos release afs.cell
    vos create <server> /vicep<x> user
    fs mkm /afs/.mteege.de/user user
    vos release afs.cell
    fs mkm /afs/.mteege.de/user/matthias user.matthias
    vos release user

Assuming you followed the 
     /afs/<cell>    readonly mtpt
     /afs/.<cell>   readwrite mtpt