Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 20:14:17 +1200 (NZST)
From:      Dan Langille <dan@langille.org>
To:        Edwin Groothuis <edwin@mavetju.org>, "Jonathan M. Slivko" <jslivko@jeah.net>
Cc:        freebsd-questions@freebsd.org
Subject:   removing daed NFS mount (was Re: df hangs)
Message-ID:  <Pine.BSF.4.21.0105022009500.80650-100000@lists.unixathome.org>
In-Reply-To: <20010502014640.H75199@cgmd76206.chello.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm renaming this thread as it seem the problem relates to a dead NFS
mount.  The symptoms first appeared as a df which wouldn't complete:

$ ps auwx | grep df
dan        41661  0.0  0.0   208   56  p9- D    Tue08AM   0:00.00 df

Then a find which wouldn't find:

 $ ps auwx | grep find
root       31232  0.0  0.2   892  312  ??  D    Sun03AM   0:00.01 find
/home -xd ev -type f ( -perm -u+x -or -perm -g+x -or -perm -o
root       35519  0.0  0.2   892  428  ??  D    Mon03AM   0:00.01 find
/home -xd ev -type f ( -perm -u+x -or -perm -g+x -or -perm -o
root       41042  0.0  0.2   892  420  ??  D    Tue03AM   0:00.01 find
/home -xd ev -type f ( -perm -u+x -or -perm -g+x -or -perm -o
root       45599  0.0  0.2   892  456  ??  D     3:01AM   0:00.01 find
/home -xd ev -type f ( -perm -u+x -or -perm -g+x -or -perm -o
dan        46263  0.0  0.3   972  548  p2  D+    9:15AM   0:00.02 find /

On Wed, 2 May 2001, Edwin Groothuis wrote:

> On Wed, May 02, 2001 at 08:55:01AM +1200, Dan Langille wrote:
> > I'm using 4.3-stable.  I just tried a df.  It hangs:
> 
> maybe a dead nfs-mount?

Yes, I suspect so.  There was a mount from a server which has since been
shutdown.  I tried to remove the mount:

$ ps auwx | grep mount
root         242  0.0  0.1   520  224  ??  Is   Thu05PM   0:00.01 mountd
-r
root       46589  0.0  0.1   368  232  p4- D    11:48AM   0:00.03 umount
/home/imports


The above mount has gone away:

$ mount | grep imports
$

But still, the frozen find, df, and umount sit there.  They can not be
kill'd.

Thanks.


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?Pine.BSF.4.21.0105022009500.80650-100000>