From owner-freebsd-current@FreeBSD.ORG Fri Jul 8 21:36:19 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AB5F16A41C for ; Fri, 8 Jul 2005 21:36:19 +0000 (GMT) (envelope-from mohan_srinivasan@yahoo.com) Received: from web80605.mail.yahoo.com (web80605.mail.yahoo.com [66.218.79.94]) by mx1.FreeBSD.org (Postfix) with SMTP id 7DC1843D49 for ; Fri, 8 Jul 2005 21:36:18 +0000 (GMT) (envelope-from mohan_srinivasan@yahoo.com) Received: (qmail 36780 invoked by uid 60001); 8 Jul 2005 21:36:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bjzg9cwImM32FLybVc6v+kNJkc7n8QqtmtyoFJ53WMjYbZMTe79YnjVzImtV+n7dHGCfP98F5x6odMEgMd313mGe55GeqZdNqUTHMeQI1NsyhdwyNq2HsPNr6518IZfdEWC6ITq08Q1/5kgNeNsi4DbGGlD3KPsuD+Ng063/u7w= ; Message-ID: <20050708213618.36778.qmail@web80605.mail.yahoo.com> Received: from [207.126.239.39] by web80605.mail.yahoo.com via HTTP; Fri, 08 Jul 2005 14:36:18 PDT Date: Fri, 8 Jul 2005 14:36:18 -0700 (PDT) From: Mohan Srinivasan To: pav@FreeBSD.org, Oliver Lehmann In-Reply-To: <1120854426.91809.11.camel@hood.oook.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-current@FreeBSD.org Subject: Re: problems with soft-nfs when the server goes down X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 21:36:19 -0000 I'll take a look at the soft mount issue. Can you do a couple of things ? - When the server comes back up, does the client retransmit the request(s) ? Can you get some tcpdumps on the client ? (set the snap length to 1500 to capture the entire NFS header). - Can you get a core dump when the client gets into this state ? I'll take a look at the changes to see if I can spot something also. mohan --- Pav Lucistnik wrote: > Oliver Lehmann píše v pá 08. 07. 2005 v 22:22 +0200: > > Hi, > > > > I belive, everyone who is dealing with NFS knows the following situation: > > > > Work with a nfs mounted filesystem, while the NFS-server got unavailable > > results in locked processes. That is OK because the processes are > > unlocked again and will continue with their work when the server is back > > online. > > So far so good. That was the situation on all FreeBSD I used before. (3.3 > > - 5.4) > > > > Now my NFS-nt is running 6-CURRENT and my NFS-server still runs 5.4 > > When the server gets unavailable, the proccesses on the client will lock > > - OK so far. > > The problematic thing is, after the server is back online, I still see no > > way to get the locked processes back to continue. They are still in heir > > NFS-lock. All I can do is reboot the system. That only happens when I > > mount the nfs filesystem with "soft". > > > > olivleh1@kartoffel olivleh1> ps auxww | grep bee > > olivleh1 633 0.0 0.9 70980 18668 v0 S Wed10PM 14:19.21 beep- > > media-player > > > > When I don't use that option, it continues playing after the server is > > back online. > > Me too! Just to add, processes are stucked in "nfsreq" state. > > -- > Pav Lucistnik > > > A mouse is a device used to point at the xterm you want to type in. >