NetBSD Problem Report #1230

From gnats  Fri Jul 14 16:31:51 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id QAA14767 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 14 Jul 1995 16:31:21 -0400
Message-Id: <199507142006.VAA00456@electron.city.ac.uk>
Date: Fri, 14 Jul 1995 21:06:22 +0100
From: abs@mono.city.ac.uk
To: gnats-bugs@NetBSD.ORG
Subject: cant umount if nfs handle stale
X-Send-Pr-Version: 3.2

>Number:         1230
>Category:       kern
>Synopsis:       cant umount if nfs handle stale
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 17 16:35:04 +0000 1995
>Closed-Date:    Fri Sep 22 02:04:21 +0000 1995
>Last-Modified:  Fri Sep 22 02:04:39 +0000 1995
>Originator:     David Brownlee
>Release:        Jun 9th 1995
>Organization:
Monochrome
>Environment:
sun3, 1.0A, current
System: NetBSD electron.city.ac.uk 1.0A NetBSD 1.0A (GLUON) #1: monoadm@electron.city.ac.uk:/mono/u1/NetBSD/src/sys/arch/sun3/compile/ELECTRON sun3

>Description:
	If you have mounted a disk from another machine (SunOS is this case)
	and the other machine goes down & comes back up again exporting the
	same directory, but with a different file handle (ie new physical
	disk), then NetBSD machines cannot umount the old mount point - the
	only cure is to reboot!

	Also - NFS mounts appear to 'hang hard' - is there any option I
	can give to mount to enable be to break out of hung NFS mounts?
	Basically when the server goes down I cannot even login to the client 
	as root!

>How-To-Repeat:
	{{electron is NetBSD client}}
	{{mfs-sys is a CNAME for the SunOS server}}
	fstab has
	mfs-sys:/mono/sys       /mono/sys       nfs rw,-b 0 0

	(electron ~)5>#
	(electron ~)5># umount /mono/sys
	umount: mfs-sys:/mono/sys: No such file or directory
	(electron ~)6># umount -f /mono/sys
	umount: mfs-sys:/mono/sys: No such file or directory
	(electron ~)7># mount -f /mono/sys
	nfs: /mono/sys: Stale NFS file handle
	(electron ~)8># reboot
				(Which I'm going to do as soon as I've
				 send this :)

>Fix:
	?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Thu Sep 21 22:04:21 EDT 1995 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.