Solved

nfs to solaris hangs -- why

Posted on 1997-03-22
5
787 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?
0
Comment
Question by:mxf
5 Comments
 
LVL 2

Expert Comment

by:df020797
ID: 1584083
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.

0
 

Author Comment

by:mxf
ID: 1584084

0
 

Expert Comment

by:Hal9k
ID: 1584085
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.

0
 
LVL 1

Accepted Solution

by:
sherwood earned 100 total points
ID: 1584086
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.
0
 

Expert Comment

by:e_chad
ID: 4692581
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
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 157
What are recommended OS for exim mail server? 10 111
Unix Command -- Challenging  question 7 91
VPS for routing recomendations 3 50
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question