Bug 137605 - Remotely mounting CDROM causes umount problems.
Summary: Remotely mounting CDROM causes umount problems.
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: mount (Show other bugs)
(Show other bugs)
Version: 3.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2004-10-29 19:10 UTC by Ryan Daly
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-19 21:10:04 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Ryan Daly 2004-10-29 19:10:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914

Description of problem:
Remotely NFS mounting a CD-ROM will cause the local file system to
remain busy, even after the remote client has unmounted the file system.

: linux13 137#; eject /cdrom1
umount: /cdrom1: device is busy
eject: unmount of `/dev/cdrom1' failed

The workaround is doing the following:

: linux13 138#; exportfs -ua ; eject /cdrom1 ; exportfs -a
: linux13 139#; 

This works every time.

Version-Release number of selected component (if applicable):
mount-2.11y-31.1, eject-2.0.13-2

How reproducible:

Steps to Reproduce:
1. On local system: Mount CD-ROM.
2. On local system: Export file system so a client can mount it.
3. On client system: Mount the CD-ROM.
4. On client system: Unmount the CD-ROM.
5. On local system: Attempt to eject, or unmount CD-ROM
6. On local system: Receive "device is busy" and run exportfs -ua,
then eject to really eject CD-ROM.

Expected Results:  Expect that exporting a file system shouldn't
prevent it from being unmounted locally.

Additional info:

Comment 1 Elliot Lee 2004-11-19 21:10:04 UTC
This is expected behaviour. Exporting a filesystem is a way of putting
that file system in use, and you can't unmount a filesystem that is
currently in use.

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