Red Hat Bugzilla – Bug 137605
Remotely mounting CDROM causes umount problems.
Last modified: 2007-11-30 17:07:04 EST
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):
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.
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.