[OpenAFS] client problems

Derrick J Brashear shadow@dementia.org
Tue, 10 Apr 2001 13:40:09 -0400 (EDT)

On 10 Apr 2001, Martin Schulz wrote:

> Hello, 
> I am on the way to install openafs on our (mostly
> Linux-)pool. However, I experience serious problems with the client
> side. The server seems to run ok, but the client shows ridiculous performance, 
> most of the time it is just sitting there doing nothing (as it seems).

Linux 2.2 SMP AFS seems to have some problems. I've been working on one
with little luck thus far:
create a volume
mount the volume
set the acl
set a quota

fs sq never returns, and the afs client subsequently cannot be shut
down. my assumption is there are locking issues somewhere, but thus far
nothing reveals that to be the case.

> The client machine is a dual pentium box, running 2.2.26-22 kernel
> (RH7.0), using openafs 1.0.3 built from the src.rpm. The prebuilt
> stuff did not work for me (maybe I did not wait long enough..)
> I suppose some timeout happening here. Are there some known locking
> issues with dual processor configurations? How can I get deeper
> diagnostic information on what afsd is trying to do?

-Get a recent tcpdump and dump e.g.
tcpdump -vv -s 1500 port 7001 and host yourhost
-from another machine, run cmdebug yourhost
-if kdump builds successfully (and due to header file fun it may not) you
can look at state with kdump also. 
-rxdebug yourhost 7001

> Starting afsd with strace did not yield any suspect results...

If it had I would be very shocked. afsd is basically just a way to call
into the kernel, where are the real work is done.