[52] in 6.033-lab
HELP!
daemon@ATHENA.MIT.EDU (Benjamin Adida)
Tue May 6 15:38:17 1997
Date: Tue, 6 May 1997 15:38:03 -0400
From: Benjamin Adida <ben@MIT.EDU>
To: 6.033-lab@MIT.EDU
Reply-To: ben@MIT.EDU
Hi all,
Okay, I am asking anyone out there who has gotten this to work
(preferably on Solaris). I need some help on this, because I can't
find any documentation to help me. I've traced the entire NFS code in
the debugger, and this is what is happening:
A client does a read (i.e. "more file.txt")
The server receives a lookup request.
The server receives a getattr request, which it sends back
successfully.
It then receives a read request, which it fulfills correctly (as
traced in the debugger).
The client reacts, for some reason, by resending the read request, and
looping like this forever.
Also, I'm getting a "read-only filesystem" error on mkdir and file
create calls. These calls fail at the getattr level (before they ever
get to the specific create and mkdir calls).
I'm thinking there might be something wrong in the attributes I'm
setting for files which is responsible for this weird behavior (note
that the filesystem works perfectly well from the C interface). This
would be great because all our problems could be solved at once.
Anyways, if someone out there has working reads and mkdirs, could you
let me know what you set in the file attributes?
Thanks!
-Ben
ben@mit.edu