Subject: Re: Nfs clients get frozen when NFS server crashes...
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Sam <sam@epita.fr>
List: netbsd-users
Date: 10/03/2000 18:03:29
On Tue, Oct 03, 2000 at 05:57:57PM +0200, Manuel Bouyer wrote:
> Date: Tue, 3 Oct 2000 17:57:57 +0200
> From: Manuel Bouyer <bouyer@antioche.lip6.fr>
> To: Sam <sam@epita.fr>
> Cc: netbsd-users@netbsd.org, tech-kern@netbsd.org
> Subject: Re: Nfs clients get frozen when NFS server crashes...
> X-Mailer: Mutt 1.0us
> 
> 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

I know that. But we dont want to use a new major release, we wait til 1.5.1 or 1.5.2...
We had to much trouble with 1.4.0...

> 
> > 
> > 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.

I dont know if it uses udp or tcp, i'll check that, is there an option to mount 
to tell wether to use UDP or TCP ?
I'll do the tcpdump stuff also..

Thanx


> 
> --
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
> --
-- 

----
sam@epita.fr
Admin - Sys 
EPITA (Ecole pour l'informatique et les techniques avancees)
Tel: 01 44 08 01 96