Hello,
We have a bunch of linux-systems, which get some mounts from two netapp-filers FAS3020. both filers run under ontap 7.0.3 filer1 has SCSI disks filer2 has SATA disks
from time to time some systems (nfs-clients) hang: *) our redhat enterprise linux 3 and 4 systems never hang :) *) 2 systems running fedora 5 hang sometimes. they mount only filer1 *) a third system (fedora 5) uses filer1 and filer2 and sometimes the mount to filer2 hangs. the mount to filer1 never hangs. those mounts get exported via samba. i testwise installed the el4 kernel on fedora, but that did not solve the problem. the local logs on the clients leave no hints.
the systems never hang all at the same time and get solved by rebooting the clients, therefore i dont think its a problem with the filers. the fixes for nfs in 7.0.4 dont seem to solve our problems.
mount options: 172.16.11.7:/vol/vol0/home/software on /home/software type nfs (rw,hard,nfsvers=3,addr=172.16.11.7) 172.16.11.9:/vol/medispace on /mnt/filer2 type nfs (rw,hard,nfsvers=3,addr=172.16.11.9)
is there something i could do to debug that?
nfsstat during the last hang: Server packet stats: packets udp tcp tcpconn 0 0 0 0 Server rpc stats: calls badcalls badauth badclnt xdrcall 0 0 0 0 0 Server reply cache: hits misses nocache 0 0 0 Server file handle cache: lookup anon ncachedir ncachedir stale 0 0 0 0 0 Server nfs v2: null getattr setattr root lookup readlink 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% read wrcache write create remove rename 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% link symlink mkdir rmdir readdir fsstat 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
Server nfs v3: null getattr setattr lookup access readlink 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% read write create mkdir symlink mknod 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% remove rmdir rename link readdir readdirplus 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% fsstat fsinfo pathconf commit 0 0% 0 0% 0 0% 0 0%
Client packet stats: packets udp tcp tcpconn 0 0 0 0 Client rpc stats: calls retrans authrefrsh 18554079 0 0 Client nfs v2: null getattr setattr root lookup readlink 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% read wrcache write create remove rename 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% link symlink mkdir rmdir readdir fsstat 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
Client nfs v3: null getattr setattr lookup access readlink 0 0% 2529703 13% 293474 1% 2255451 12% 620143 3% 90 0% read write create mkdir symlink mknod 11571652 62% 712881 3% 208088 1% 280 0% 3 0% 0 0% remove rmdir rename link readdir readdirplus 206185 1% 262 0% 892 0% 0 0% 18787 0% 127760 0% fsstat fsinfo pathconf commit 8425 0% 3 0% 0 0% 0 0%
yours josef
Hi
On 05/07/2006 09:11, Josef Radinger wrote:
We have a bunch of linux-systems, which get some mounts from two netapp-filers FAS3020. both filers run under ontap 7.0.3
<snip>
http://www.netapp.com/library/tr/3183.pdf has several useful recommendations, particularly in section 4.
I've had great success (and no hangs) using FC1, FC2 and FC4 against NetApp filers (although I have no access to those systems at present!) and if I recall correctly, I used a combination of mount options something like:
filer:/vol/vol1/export /export nfs rw,vers=3,hard,intr,tcp,timeo=600,retrans=2,rsize=32768,wsize=32768,bg
That gave me no problems whatsoever.
The document recommends very strongly that you use TCP as your transport protocol instead. Have a read and a play, and see what you find.
Graeme