Bug 4666

Summary: umount -f doesn't seem to work
Product: Base System Reporter: David Muir Sharnoff <muir>
Component: kernAssignee: dfr
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 2.2-STABLE   
Hardware: Any   
OS: Any   

Description David Muir Sharnoff 1997-10-01 08:10:01 UTC
	 # umount -f -h tmp
	 nfs server tmp:/: not responding
	 # umount -f /net/tmp
	 nfs server tmp:/: not responding
	 # umount -f /net/tmp/usr
	 nfs server tmp:/: not responding
	 # df
	 nfs server tmp:/: not responding

	 I should mention that the machine formerly known as 'tmp' is
	 currently in the mail.

How-To-Repeat: 
	Mount a filesystem as above.  Turn of the NFS server and mail
	it somewhere.  Try to unmount the disks without cheating.
Comment 1 Joerg Wunsch 1997-10-01 16:10:51 UTC
As muir@idiom.com wrote:

>     tmp:/	 /net/tmp  nfs	ro,intr,bg,tcp,nfsv2,resvport,nosuid 0 0
>     tmp:/usr /net/tmp/usr  nfs	ro,intr,bg,tcp,nfsv2,resvport,nosuid 0 0
> 
> >Description:
> 
> 	 # umount -f -h tmp
> 	 nfs server tmp:/: not responding

This is what one would expect how umount -f is working, but not what
is described for umount -f: forcibly unmounting is currently only
defined as ``don't care about resources that are locally still in use,
but revoke them''.

Anyway, i think this is already in Doug Rabson's queue of ``nice to
have'' things.  If i'm not totally mistaken, there might already be
another open PR for it.  Did you check before filing?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Comment 2 David Muir Sharnoff 1997-10-03 07:34:37 UTC
* As muir@idiom.com wrote:
* 
* >     tmp:/	 /net/tmp  nfs	ro,intr,bg,tcp,nfsv2,resvport,nosuid 0 0
* >     tmp:/usr /net/tmp/usr  nfs	ro,intr,bg,tcp,nfsv2,resvport,nosuid 0 0
* > 
* > >Description:
* > 
* > 	 # umount -f -h tmp
* > 	 nfs server tmp:/: not responding
* 
* This is what one would expect how umount -f is working, but not what
* is described for umount -f: forcibly unmounting is currently only
* defined as ``don't care about resources that are locally still in use,
* but revoke them''.
* 
* Anyway, i think this is already in Doug Rabson's queue of ``nice to
* have'' things.  If i'm not totally mistaken, there might already be
* another open PR for it.  Did you check before filing?

No.  It seemed like a bug to me.

-Dave
Comment 3 Joerg Wunsch freebsd_committer freebsd_triage 1997-10-19 19:24:36 UTC
Responsible Changed
From-To: freebsd-bugs->dfr

Doug is our Mr. NFS. 
Comment 4 iedowse freebsd_committer freebsd_triage 2002-02-25 11:56:51 UTC
State Changed
From-To: open->closed


Fixed in both -CURRENT and -STABLE.