Subject: Re: Nfs clients get frozen when NFS server crashes...
To: Sam <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 10/03/2000 17:57:57
On Tue, Oct 03, 2000 at 05:05:28PM +0000, Sam wrote:
> I have about 500 Netbsd 1.4.2 Pcs. nfs client to
> 5 Freebsd 4.0 Servers (cause we couldnt get any u2w card working on netBsd...).
What u2w cards do you have ? The adaptec as well as the ncr ones should work
with NetBSD 1.5
> We have a problem now with the freeBSD servers, which nfsd process stops every day...
> When this hapenns all the netbsd clients that try to access the exported file systems
> which are not accessible, get stuck, and sometimes get completely frozen.
> Here is how they are mounted:
> (sam@jotun 42)cat /etc/fstab
> /dev/wd0a / ffs rw 1 1
> /dev/wd0b none swap sw 0 0/kern /kern kernfs rw
> /proc /proc procfs rw
> hermes:/space/mail /nfs/hermes/mail nfs nosuid,nodev,rw,soft,bg,intr 0 0
> s1:/space/export /nfs/s1/space nfs nosuid,nodev,rw,soft,bg,intr 0 0
> s2:/space/export /nfs/s2/space nfs nosuid,nodev,rw,soft,bg,intr 0 0
> s3:/space/export /nfs/s3/space nfs nosuid,nodev,rw,soft,bg,intr 0 0
> s4:/space/export /nfs/s4/space nfs nosuid,nodev,rw,soft,bg,intr 0 0
> s5:/space/export /nfs/s5/space nfs nosuid,nodev,rw,soft,bg,intr 0 0
> We then have to reboot the 500 clients each time the servers crashes...
> It's really annoying and shouldn't happen.
Do the client use TCP or UDP mount ? Try to force UDP mounts.
If this doesn't solve the problem, use tcpdump on the server after a reboot
to see if the client tries to talk to the server, and if the server replies.
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr