From owner-freebsd-questions Fri Oct 11 19:50:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15D3E37B401 for ; Fri, 11 Oct 2002 19:50:38 -0700 (PDT) Received: from hotmail.com (f87.law14.hotmail.com [64.4.21.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8290B43E65 for ; Fri, 11 Oct 2002 19:50:37 -0700 (PDT) (envelope-from coolunixer@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 11 Oct 2002 19:50:37 -0700 Received: from 211.167.175.250 by lw14fd.law14.hotmail.msn.com with HTTP; Sat, 12 Oct 2002 02:50:37 GMT X-Originating-IP: [211.167.175.250] From: "cool46 cool46" To: setantae@submonkey.net, wmoran@potentialtech.com Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: how to kill nfs-blocked process Date: Sat, 12 Oct 2002 02:50:37 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 12 Oct 2002 02:50:37.0390 (UTC) FILETIME=[24AB3EE0:01C2719A] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG thanks for your reply.i'm sorry,this doesn't work for me,the problem is still in. this time i do the same experiment as before except using: mount_nfs -i -R 1 -s 10.0.0.1:/home /usr/home the process blocked by nfs cann't return or be interrupted,and i also can't kill it. i tried in freebsd 4.5 and 4.6 any sugguestions else? thanks again. >From: Ceri Davies >To: Bill Moran >CC: cool46 cool46 ,questions >Subject: Re: how to kill nfs-blocked process >Date: Fri, 11 Oct 2002 15:07:43 +0100 > >On Fri, Oct 11, 2002 at 09:39:38AM -0400, Bill Moran wrote: > > cool46 cool46 wrote: > > > thanks for your reply,but it is not work for me.i tried to mount nfs > > > with options -i,-R,but the problem is as before.The details of my test > > > is as follows: > > > my nfs server(IP:10.0.0.1) is a RedHat 7.3 with kernel of 2.4.19 > > > version,my nfs client(IP:10.0.0.2) is freebsd 4.5 > > > 10.0.0.2: > > > mount_nfs -i -R 1 10.0.0.1:/home /usr/home > > > cp a_big_file /usr/home > > > > > > in the course of doing this,i disabled network between these two machine > > > by using iptables in 10.0.0.1 > > > /sbin/iptables -I INPUT -p udp -s 10.0.0.2 -j DROP > > > > > > so the process 'cp' in 10.0.0.2 is blocked,I can't kill or interrupt it > > > in any way.According to mount_nfs's manual ,it should failed and return > > > in a few minutes because i set -R equal to 1,but the fact is not. > > > Could you help me? > > > thanks agains.i'm a chinese and glad to make friends with you. > > > > That should be the solution. I'm not an NFS "expert" so you may want to > > consult with some others as well. (I've put this email back on the mailing > > list) > >Are you using hard mounts ? >Try using soft mounts and see it that helps. > >Ceri >-- >you can't see when light's so strong >you can't see when light is gone _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.microsoft.com/cn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message