Re: NFS and 2.1.111

John Fulmer (jfulmer@appin.ml.org)
Tue, 28 Jul 1998 21:19:56 -0500


> Try doing
>
> echo 65535 >/proc/sys/sunrpc/nfs_debug
>
> or possibly .../rpc_debug. The output may be voluminous, but to track down the
> problem it would help to know what NFS or RPC routine is failing.
>
> An strace on the cp command might show something as well.

Well, nothing to shout about. I did the debug and got a rather large
messages file very quickly. Checked the end when the error occured, and
all it said was:

Jul 28 21:16:17 bofh kernel: NFS: revalidating ///, ino=266112
Jul 28 21:16:17 bofh kernel: NFS call getattr
Jul 28 21:16:17 bofh kernel: RPC: attrstat status 0
Jul 28 21:16:17 bofh kernel: RPC: attrstat OK type 2 mode 40777 dev
800007 ino 40f80
Jul 28 21:16:17 bofh kernel: NFS reply getattr
Jul 28 21:16:17 bofh kernel: NFS: refresh_inode(3/266112 ct=1)
Jul 28 21:16:17 bofh kernel: NFS: /// revalidation complete
Jul 28 21:16:17 bofh kernel: NFS: put_inode(3/266112)
Jul 28 21:16:17 bofh kernel: NFS: delete_inode(3/266112)

Not exactly enlightning to me. The strace wasn't any better...

<SNIP!>
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = -1 EIO
(Input/output error)
write(2, "cp: ", 4cp: ) = 4
write(2, "/vol/public/40M", 15/vol/public/40M) = 15
write(2, ": Input/output error", 20: Input/output error) = 20
write(2, "\n", 1
) = 1
close(4) = 0
close(3) = 0
_exit(1) = ?
<SNIP!>

I guess I should mention that this is a 2.1.111 client hitting a Solaris
2.6 server...

jf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html