From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 13:13:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 295FE16A494 for ; Tue, 5 Dec 2006 13:13:42 +0000 (UTC) (envelope-from th.lacoste@wanadoo.fr) Received: from ultra1.univ-paris12.fr (ultra1.univ-paris12.fr [193.51.100.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id B675843DB4 for ; Tue, 5 Dec 2006 13:12:24 +0000 (GMT) (envelope-from th.lacoste@wanadoo.fr) Received: from st-simon.miage.univ-paris12.fr (localhost [127.0.0.1]) by ultra1.univ-paris12.fr (8.13.8/8.13.8) with ESMTP id kB5DD0cX005909 for ; Tue, 5 Dec 2006 14:13:01 +0100 (MET) Received: from sirius.miage.univ-paris12.fr (sirius.miage.univ-paris12.fr [194.214.13.28]) by st-simon.miage.univ-paris12.fr (Postfix) with ESMTP id C948247281A for ; Tue, 5 Dec 2006 14:13:00 +0100 (CET) From: Thierry Lacoste To: freebsd-questions@freebsd.org Date: Tue, 5 Dec 2006 14:13:05 +0100 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612051413.05560.th.lacoste@wanadoo.fr> Subject: SOLVED : nfs issue after client crash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 13:13:42 -0000 Somebody gave me the answer to my question http://lists.freebsd.org/pipermail/freebsd-questions/2006-November/135179.html I'm posting it in case somebody hits a similar problem. >I have a bunch of Ubuntu clients which mount /home at boot time from a >FreeBSD 6.1 NFS server. > >When a client crashes it won't mount /home at boot. >In that case, trying to mount manually gives "can not read super bloc". > >The client still appears in the "showmount"output of the server. > >Sometimes /home will be mounted after the second reboot but sometimes >not even after several reboots (I haven't been able to find a regular >pattern here). >If I restart the NFS server or just wait long enough (e.g. one day) >everything is OK. By default the client is using NFS/TCP and when it crashes it does not release the TCP connection. It appears that the server then refuses to establish a second connection. On the linux clients I'm now using "mount -o udp /home" in my rc.local and everything seems fine. Regards, Thierry.