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

 

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

 

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:  <mailto:[email protected]> [email protected]

 

Reply via email to