From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 13:21:16 2003 Return-Path: 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 CD54237B401 for ; Thu, 19 Jun 2003 13:21:16 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 104A643FBD for ; Thu, 19 Jun 2003 13:21:15 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5JKJqlw009562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Jun 2003 21:21:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5JKJqmH009561; Thu, 19 Jun 2003 21:19:52 +0100 (BST) (envelope-from matthew) Date: Thu, 19 Jun 2003 21:19:51 +0100 From: Matthew Seaman To: synrat Message-ID: <20030619201951.GD8800@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , synrat , freebsd-questions@freebsd.org References: <20030619155117.W24534@mail.wirewalk.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wchHw8dVAp53YPj8" Content-Disposition: inline In-Reply-To: <20030619155117.W24534@mail.wirewalk.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-7.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: NFS stale file handle X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 20:21:17 -0000 --wchHw8dVAp53YPj8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 19, 2003 at 03:53:22PM -0400, synrat wrote: >=20 > How do I troubleshoot this in BSD ? >=20 > I know is Solaris lsofing and killing the process that > holds the mount helps. Supposedly, manually editing /etc/mnttab should > work too. How do I solve the same problem in BSD ? fstat(1) will allow you to identify processes with open file descriptors or working directories on the partition in question. Kill those processes, and you should then be able to unmount the FS. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --wchHw8dVAp53YPj8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+8hrndtESqEQa7a0RAkkPAJ9NFnk7ur3Vivfb88POEB0hv4c3bQCghyI2 1zdIVyuNAfUz5aExp2AXp1c= =wMqu -----END PGP SIGNATURE----- --wchHw8dVAp53YPj8--