Different.but.the.same!: Mounting from Linux NFS server with Solaris workstation

B. Craig Taverner (craig@ComOpt.com)
Thu, 8 Oct 1998 23:21:06 +0200 (CEST)


Hi,

I've got a very different problem that happens under very similar
circumstances and can be bypassed with the same wsize=2048 option.

I've got a solaris2.5.1 workstation mounting a share from a
linux2.0.35/RH5.1+raid5patch server. The linux server is running as a
router between two subnets with the sun on eth1.

My problem is that copying any file of any size > a few kb onto any of the
linux shares caused the nfs to time out after the first few kb, and create
an unkillable (-9 didn't work) process under solaris. Mounting shares
from an older linux (kernel 2.0.33, libc(deb1.3.1)) gave no problems, and
mounting the same shares onto other linux machines on either subnet gave
no problems. Mounting solaris shares on the linux machine gave no
problems either.

So:
- only newer linux (RH5.1/2.0.35/glibc failed while Deb1.3.1/2.0.33/libc5
worked)
- only with linux as server and solaris as client
- rsize changes had no effect
- wsize=1024 and wsize=2048 worked, wsize=4096 or larger failed.

To test a bit more carefully I did the following set of wsize options:
1024 pass
2048 pass
3072 pass
3584 pass
3840 fail
4096 fail

I did not try to see if rsize made any difference to the wsize threshold.
I'm going to live with the 2048 fix, thanks for suggesting it. Hope
someone out there has the time to find and fix the bug (presumably related
to glibc, IMHO).

One further thing. After playing around with so many wsize settings, the
system finally failed completely with no response from the nfs server at
all. I restarted it and rpc.nfsd failed to come up with:

Oct 8 23:15:53 agate nfsd[31853]: Could not bind name to socket 0.0.0.0:2049: Address already in use
Oct 8 23:15:53 agate nfsd[31853]: could not make a tcp socket

Required a reboot of the server to get it going again.

Cheers, Craig

------
"I am having FUN... I wonder if it's NET FUN or GROSS FUN?"

======================================================================
Craig Taverner ------====== Email:craig@comopt.com
ComOpt AB ------======== Tel: +46-42-212580
Michael Löfmans Gata 6 ------========== Fax: +46-42-210585
SE-254 38 Helsingborg ------======== Cell: +46-708-212598
Sweden ------====== http://www.comopt.com
======================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu