From owner-freebsd-hackers Sun May 18 01:28:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA19456 for hackers-outgoing; Sun, 18 May 1997 01:28:16 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA19445 for ; Sun, 18 May 1997 01:28:12 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.8.4/8.8.4) id KAA20860; Sun, 18 May 1997 10:27:36 +0200 (MESZ) From: Robert Eckardt Message-Id: <199705180827.KAA20860@ghost.mep.ruhr-uni-bochum.de> Subject: Re: NFS Stale File Handle. In-Reply-To: <19970517193708.32731@matrix.42.org> from Stefan `Sec` Zehl at "17. May. 97 19:36:36" To: sec@42.org (Stefan `Sec` Zehl) Date: Sun, 18 May 1997 10:27:36 +0200 (MESZ) Cc: branson.matheson@ferginc.com, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It was Stefan `Sec` Zehl who wrote: > On Fri, May 16, 1997 at 10:53:40PM +0200, Branson Matheson wrote: > > > > I have an NFS stale file handle on a box that was placed there by amd > > I believe. I cannot seem to get rid of it... any ideas? I was told > > that there may be a process still trying to access that unmounted > > partition... but I cannot find it ... I seem to remember another way > > to do this .. but cannot remember .. can anyone point me in the right > > direction? > > Hmm, i'm not sure about the "process that accesses it", but if it is > indeed so, try "lsof" which will help you finding that process :) - > otherwise you could try an umount -f (for forcible umount) which might > help aswell This can easily happen e.g. when you mount via NFS on system B a CD, which is mounted on system A. When you umount the CD on A you'll see the above error message on B. The only 2 ways I found to resolve this situation (apart from rebooting :-) were to wait until amd releases all mounts that came after the mounted CD and then use `umount -f' or to mount the very same CD on A again. Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de