Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 15:07:43 +0100
From:      Ceri Davies <setantae@submonkey.net>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        cool46 cool46 <coolunixer@hotmail.com>, questions <FreeBSD-questions@FreeBSD.ORG>
Subject:   Re: how to kill nfs-blocked process
Message-ID:  <20021011140743.GA7571@submonkey.net>
In-Reply-To: <3DA6D49A.70401@potentialtech.com>
References:  <F169JfhMAwzNUe9n2r90001c61f@hotmail.com> <3DA6D49A.70401@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021011140743.GA7571>