We help IT Professionals succeed at work.

nfs to solaris hangs -- why

mxf
mxf asked
on
Medium Priority
855 Views
Last Modified: 2013-12-05
We are running linux as our nfs server. It is serving mostly solaris boxes.  On a pretty regular basis nfs
hangs and we need to reboot the server.  Any ideas why?
Comment
Watch Question

Commented:
If it is the classic problem its an incomaptibility with the nfs lockd daemons. The perfomance is improved by achieveing a patch from Sun for their lockd.

mxf

Author

Commented:

Commented:
We have a similar problem the other way round:
A Solaris (2.5.1) sparc is running our NFS server and the
Linux boxes (among other Solaris clients) mount these dirs.
Occasionally (well pretty random, on one day 3 times, then 2
weeks without fault) the server daemon (rpc.nfsd) hangs and
the clients cry: NFS server xxx not responding...
The process can only be killed with signal 9 and the system does
not release the ports, so it cannot be restarted.
Only rebooting the server helps.
Maybe these problems are correlated in a way.

Commented:
On the Solaris box try explictly setting rsize and wsize to 1024.
(See the bottom of hte man page for mount for details.)
Not sure if this will be *the* answer, but it's worth a try,
and is quick & easy.  If it works you can try increasing
the size in increments of 1024. I had one network that I could
use 7K packets reliabley, but 8K caused a dumb router to
crash on a frequent basis.)

If this doesn't work, send me the output of nfsstat run
on the solaris box.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Commented:
It may be the same problem that I am having.
We are running nfs and we are getting an error message "kernel: svc: unknown version 3" after a short time the "rpc.kmountd --no nfs version 3" daemon crashes

try recompiling the kernel
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.