From owner-freebsd-bugs Mon Nov 27 18:50:15 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA24327 for bugs-outgoing; Mon, 27 Nov 1995 18:50:15 -0800 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA24305 ; Mon, 27 Nov 1995 18:50:09 -0800 Resent-Date: Mon, 27 Nov 1995 18:50:09 -0800 Resent-Message-Id: <199511280250.SAA24305@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, hsu@clinet.fi Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id SAA23973 for ; Mon, 27 Nov 1995 18:48:07 -0800 Received: (root@localhost) by hauki.clinet.fi (8.6.12/8.6.4) id EAA02241; Tue, 28 Nov 1995 04:47:53 +0200 Message-Id: <199511280247.EAA02241@hauki.clinet.fi> Date: Tue, 28 Nov 1995 04:47:53 +0200 From: Heikki Suonsivu Reply-To: hsu@clinet.fi To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/841: stale nfs mounts cannot be umounted Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 841 >Category: bin >Synopsis: stale nfs mounts cannot be umounted >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 27 18:50:03 PST 1995 >Last-Modified: >Originator: Heikki Suonsivu >Organization: Clinet, Espoo, Finland >Release: FreeBSD 2.2-CURRENT i386 >Environment: a stale nfs mount, like this one: df: /m/hauki/customer: Stale NFS file handle >Description: Trying to umount it fails: hsu#katiska.clinet.fi Tue 163: umount /m/hauki/customer umount: hauki.clinet.fi:/m/hauki/customer: No such file or directory hsu#katiska.clinet.fi Tue 165: umount -f /m/hauki/customer umount: hauki.clinet.fi:/m/hauki/customer: No such file or directory hsu#katiska.clinet.fi Tue 166: mount /m/hauki/customer mount: /m/hauki/customer: Stale NFS file handle So the only way to get rid of it is to reboot the machine. On FreeBSD 1.1.5.1 -f is enough, on SunOS it can be umounted if there are no stale handles on the mounted filesystem (killing holders of them fixes that). >How-To-Repeat: Get a disk crash on your nfs server and try to get things up again. A big hammer will probably do, if you don't happen to own any barracudas. >Fix: Force option should do something? >Audit-Trail: >Unformatted: