Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 37853 - Unable to unmount removable media after clients unmount
Unable to unmount removable media after clients unmount
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-04-26 11:26 EDT by Larry Staberg
Modified: 2008-08-01 12:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-30 11:38:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Larry Staberg 2001-04-26 11:26:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75C-Boeing UNIX Kit [en] (X11; U; HP-UX B.10.20

After the client unmounts a removable media the umount command on the
server fails with 'device busy'.
The only way to clear this is to restart the nfs deamons. ie:
/etc/init.d/nfs restart
Output from umount:
   umount: /mnt/cdrom: device is busy

Output from fuser -v:
                            USER        PID ACCESS COMMAND
    /mnt/cdrom           root     kernel mount  /mnt/cdrom

Output from exportfs:
    /mnt/cdrom      *

Reproducible: Always
Steps to Reproduce:
1. mount a cdrom on a server, make sure mount point is exported.
2. go to client and mount cdrom from server
3. unmount cdrom from client.
4. try to umount cdrom on server.
5. run fuser -v on mount point.

Actual Results:  umount returned:

umount: /mnt/cdrom: device is busy

and fuser -v returned:

                     USER        PID ACCESS COMMAND
/mnt/cdrom           root     kernel mount  /mnt/cdrom

Expected Results:  I expected to be able to umount the removable media..

I had heard that this was found in 6.2 around kernel version 2.2.16
but is still presend in 2.4.2
Comment 1 Bogdan Costescu 2001-05-02 12:23:00 EDT
/mnt/cdrom has to be unexported first (i.e. removed from /etc/exports, then run
exportfs -r). Then the umount command should succeed.
Comment 2 Larry Staberg 2001-05-02 15:01:37 EDT
I'm confused.. Is using the exportfs to clear the kernel table the final answer
or another work-a-round?
I would expect that the umount command would clear the kernel table of the
entry, for example a cdrom,
if there were no other active mounts attached to the entry..
I believe the desired affect is to simply un-mount the removable media...
Comment 3 Bugzilla owner 2004-09-30 11:38:58 EDT
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/

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