Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 1995 04:47:53 +0200
From:      Heikki Suonsivu <hsu@clinet.fi>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/841: stale nfs mounts cannot be umounted
Message-ID:  <199511280247.EAA02241@hauki.clinet.fi>
Resent-Message-ID: <199511280250.SAA24305@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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