[OpenAFS] OpenAFS install on Solaris 10

Mukarram Syed muksyed@stanford.edu
Thu, 30 Apr 2009 15:56:46 -0700


Thanks Douglas.

I was using afsd from openafs-1.2.10. 
I was able to get it to work with afsd from openafs-1.4.10.
You hit it on the head.
Yes I have to reboot to clear out those processes.

Thanks very much.

Regards.

# mukarram

-----Original Message-----
From: Douglas E. Engert [mailto:deengert@anl.gov] 
Sent: Thursday, April 30, 2009 1:31 PM
To: Mukarram Syed
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] OpenAFS install on Solaris 10



Mukarram Syed wrote:
> Hi folks,
> 
> I am trying to implement OpenAFS on Solaris 10 at our dept at Stanford.  
> Officially OpenAFS is not supported at Stanford, but our apps team 
> requires it and I chose to put it on Solaris 10, which I have never done 
> before.
> 
> I have configured the /usr/vice/etc directory with the following.
> 
>  
> 
> /usr/vice/etc # ls -arlt
> 
> total 1516
> 
> -rw-r--r--   1 root     root          29 Aug 31  1992 ThisCell
> 
> -rw-r--r--   1 root     root          40 Apr 24  2003 CellAlias
> 
> -rw-r--r--   1 root     root        4417 Apr 28  2003 afs.rc
> 
> -rwxr-xr-x   1 root     root      752252 Jul 25  2003 afsd
> 
> -rw-r--r--   1 root     root         344 Aug 20  2003 Instructions
> 
> drwx--x--x   2 134      250          512 Apr  2 14:37 modload
> 
> drwxr-xr-x   2 root     root         512 Apr 29 20:41 C
> 
> -rw-r--r--   1 root     root          28 Apr 29 20:53 cacheinfo
> 
> drwxr-xr-x   4 root     root         512 Apr 29 20:54 ..
> 
> -rw-------   1 root     root           0 Apr 29 20:54 AFSLog
> 
> drwxr-xr-x   4 root     root         512 Apr 29 20:54 .
> 
> -rw-r--r--   1 root     root         208 Apr 29 21:59 CellServDB
> 
>  

What version of OpenAFS are you trying to run? afsd is from 2003?
You should try 1.4.10.

With older versions of AFS the cache had to be ufs too.


> 
> Added  "afs       65" to /etc/name_to_sysnum.
> 
>  
> 
> The ThisCell, CellAlias, CellServDB are specific to Stanford University.
> 
> Copied the modload files over to :
> 
>  
> 
> cp -p modload/libafs64.nonfs.o /kernel/fs/sparcv9/afs
> 
> chown root:sys /kernel/fs/sparcv9/afs
> 
> chmod 755 /kernel/fs/sparcv9/afs
> 
>  
> 
> Created the following directories and cache file:
> 
>  
> 
> mkdir /usr/vice/cache
> 
> mkdir /afs
> 
>  
> 
> echo "/afs:/usr/vice/cache:300000" > /usr/vice/etc/cacheinfo
> 
>  
> 
> Now when I start AFS, I get this hang:
> 
>  
> 
> # /etc/init.d/afs start
> 
> Entry for afs already exists in /etc/name_to_sysnum
> 
> Loading NFS server kernel extensions
> 
> Loading AFS kernel extensions
> 
> Starting afsd
> 
>  
> 
> When I ps -ef |grep afs I get this.. and these processes never go away 
> and I can't control+C out of it.
> 
>  
> 
>     root   678     1   0 22:09:55 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root   744     1   0 22:13:44 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root  3732  3726   0 12:28:55 pts/4       0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root   682   678   0 22:09:55 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root   681   678   0 22:09:55 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root  3726  3709   0 12:28:55 pts/4       0:00 /bin/sh 
> /etc/init.d/afs start
> 
>     root   680   678   0 22:09:55 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root   747   744   0 22:13:44 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root   748   744   0 22:13:44 ?           0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root  3736  3732   0 12:28:55 pts/4       0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>     root  3735  3732   0 12:28:55 pts/4       0:00 /usr/vice/etc/afsd 
> -stat 2000 -dcache 800 -daemons 3 -volumes 70 -afsdb
> 
>  

Looks like AFS had started around 22:00, and you tried to start it again
around 12:28?

You may have to reboot.

> 
> Any suggestions might help.
> 
>  
> 
> Thanks
> 
>  
> 
> # mukarram.
> 
>  
> 
> *Mukarram Syed***
> 
> Unix Systems Administrator,
> 
> Administrative Services, Stanford University
> 
> 3145 Porter Drive,
> 
> #215, Bear Creek Building
> 
> Palo Alto, CA 94305
> 
> Phone: 650-736-7647
> 
> Cell: 408-480-8841
> 
> Email: muksyed@stanford.edu <mailto:muksyed@stanford.edu>
> 
>  
> 

-- 

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