Bug 8838 - NFS server does not release device after it is unmounted.
Summary: NFS server does not release device after it is unmounted.
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-01-25 15:19 UTC by Joseph Kotran
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-01-24 20:03:58 UTC

Attachments (Terms of Use)

Description Joseph Kotran 2000-01-25 15:19:03 UTC
To recreate this bug you may do the following:

o Mount a CD-ROM
o Share the CD-ROM mount point to the network
o NFS mount the shared CD-ROM on a remote client
o On the remote client umount the NFS share

At this point you will not be able umount the CD-ROM on the nfs server
until you shutdown the nfs daemons.  The process that I have outlined
worked on all Red Hat releases up until 5.2.  Since 6.0 you have to
shutdown the nfs server to umount the CD-ROM.  I have recreated this
behavior on i386, Sparc, and Sparc64 platforms.


Joe Kotran

Comment 1 Jeremy Katz 2000-01-28 01:20:59 UTC
This is a difference between 2.2.x + knfsd and 2.0.x + user-space nfsd, and is
the expected behavior.  Cross-reference this message on linux-kernel,

Comment 2 gozerian 2000-02-11 18:54:59 UTC
Same here on stock 6.1, very annoying...

Comment 3 Alan Cox 2000-02-17 15:31:59 UTC
Verified here. knfsd seems to be hanging on to handles to mount
points. It may be a feature but its not a nice one

Comment 4 Cristian Gafton 2000-08-09 02:34:34 UTC
assigned to johnsonm

Comment 5 Stephen John Smoogen 2003-01-24 20:03:58 UTC
Bug 8838 has been closed because it seems fixed with the NFS in 7.2/7.3/8.0
releases. The additional step that you have to do is to stop nfs from exporting
/mnt/cdrom and then you can unmount /mnt/cdrom safely.

Note You need to log in before you can comment on or make changes to this bug.