[OpenAFS] Opneafs in solaris 9 containers

Douglas E. Engert deengert@anl.gov
Thu, 06 Nov 2008 08:57:44 -0600


Andersson, Johan wrote:
>         Hi
> 
>         We have problem to use AFS in solaris 9 conatiners , the host selix036 is standard solaris 9 server and selix030lte04 is solaris 9 container..
> 

What do uname -a and fs sysname show on each container and on the server?

I see sun4x_510 in one of the paths. Is the server Solaris 10?

I don't know much about containers, but with Solaris 10 zones,
there is only one kernel, and that is where the AFS cache manager runs
and that is where the @sys is mapped to the sysname, usually sun4x_510.

The AFS cache manager is not aware of zones, and I would not expect it to
be aware of containers either.  I suspect that the container code does not
know anything about @sys and may be producing the output of pwd,
If a file access needed, the server kernel with AFS does map it to
sun4x_510.


> selix030lte04 [7:24am] [firefox/.sys/sun4x_59] -> pwd
> /afs/sunrise.ericsson.se/app/firefox/.sys/sun4x_59
> selix030lte04 [7:24am] [firefox/.sys/sun4x_59] ->
> 
> selix036 [DING!] [/home/ejoders] -> cd /app/firefox
> /app/firefox
> selix036 [7:02am] [/app/firefox] -> ls
> 1.0@       1.0.2@     1.0.4@     1.5.0.1@   2.0.0.11@  2.0.0.2@   3.0.3@
> 1.0.1@     1.0.3@     1.5@       2.0.0.1@   2.0.0.12@  2.0.0.6@   README
> selix036 [7:02am] [/app/firefox] -> cd 3.0.3/
> /app/firefox/3.0.3
> selix036 [7:02am] [/app/firefox/3.0.3] -> pwd
> /afs/sunrise.ericsson.se/app/firefox/.sys/sun4x_510/3.0.3
> selix036 [7:02am] [/app/firefox/3.0.3] -> sys
> sun4x_59
> selix036 [7:02am] [/app/firefox/3.0.3] ->
> selix030lte04 [7:01am] [/home/ejoders] -> cd /app/firefox
> /app/firefox
> selix030lte04 [7:01am] [/app/firefox] -> ls
> 1.0@       1.0.2@     1.0.4@     1.5.0.1@   2.0.0.11@  2.0.0.2@   3.0.3@
> 1.0.1@     1.0.3@     1.5@       2.0.0.1@   2.0.0.12@  2.0.0.6@   README
> selix030lte04 [7:01am] [/app/firefox] -> cd 3.0.3/
> /app/firefox/3.0.3
> selix030lte04 [7:02am] [/app/firefox/3.0.3] -> pwd
> /afs/sunrise.ericsson.se/app/firefox/.sys/sun4x_510/3.0.3
> selix030lte04 [7:02am] [/app/firefox/3.0.3] -> sys
> sun4x_59
> selix030lte04 [7:02am] [/app/firefox/3.0.3] ->
> 
> selix036 [7:12am] [/home/ejoders] -> cd /app/firefox/2.0.0.6/
> /app/firefox/2.0.0.6
> selix036 [7:12am] [/app/firefox/2.0.0.6] -> pwd
> /afs/sunrise.ericsson.se/app/firefox/.sys/sun4x_59/2.0.0.6
> selix036 [7:12am] [/app/firefox/2.0.0.6] ->
> selix030lte04 [7:11am] [/home/ejoders] -> cd /app/firefox/2.0.0.6/
> /app/firefox/2.0.0.6
> selix030lte04 [7:11am] [/app/firefox/2.0.0.6] -> pwd
> /afs/sunrise.ericsson.se/app/firefox/.sys/@sys/2.0.0.6
> selix030lte04 [7:12am] [/app/firefox/2.0.0.6] ->
> 
> How can I fix this problem ?
> 
> //JA
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
> 
> 

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444