[OpenAFS-devel] Solaris 10 local zone support?

Tim Spriggs tims@lpl.arizona.edu
Fri, 7 Oct 2005 12:08:48 -0700 (MST)


On Fri, 7 Oct 2005, Robert Banz wrote:

> Coy Hile wrote:
> > Is anybody working on the ability to have an OpenAFS client running inside
> > a non-global zone in Solaris 10 (or later)?  I'm ending up wtih syscalls
> > failing.  See output from afsd -verbose (with a handfull of other options
> > also so that it doesn't try to write to a LOFS-mounted directory) below:
> >
> > |afsd: Forking AFSDB lookup handler.
> > |SScall(65, 28, 36)=-1 afsd: Error -1 in basic initialization.
> > |afsd: Calling AFSOP_CACHEINIT: 2000 stat cache entries, 5000 optimum cache
> > |files, 50000 blocks in the cache, flags = 0x0, dcache entries 800
> > |SScall(65, 28, 6)=-1 afsd: Sweeping workstation's AFS cache directory.
> > |afsd: 5000 out of 5000 data cache files found in sweep 1.
> > |SScall(65, 28, 7)=-1 SScall(65, 28, 34)=-1 SScall(65, 28, 29)=-1
> > |Adding cell 'coyhile.ca': error -1
> > |SScall(65, 28, 35)=-1 afsd: Forking AFS daemon.
> > |afsd: Forking Check Server Daemon.
> > |afsd: Forking 3 background daemons.
> >
> >
>
> The only way I could get it to work was to run AFS in the global zone
> and mount it via a loopback in the client zones.  It works ok for
> general file access, however, since the loopback-mounted AFS doesn't
> look like "real" to the AFS tools such as 'fs', they don't work :(
>
> -rob
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>

On a related note, (for the record) doing a bind mount under linux will
allow afs to work in a jail just as if it were the normal /afs. I don't
know if Solaris has a different mechanism than lofs.

-Tim

  /++--._.--++\  .                     _.-._
       \|/                           /+
        |       /|\  /| _.-._.-._   <{
        +        |    |/         \   \_
       /_\      _|_   |           |    ^=-._
                                            \
Lunar and Planetary Lab                     }>
(520) 626 - 4991 -- SS 416                 _/
_______________________________________.-=$/  <|>

1629 E. University Blvd.
University of Arizona