Bug 18735

Summary: VFS: busy inodes on changed media.
Product: [Retired] Red Hat Linux Reporter: Tammy Fox <tammy.c.fox>
Component: magicdevAssignee: David Mason <dcm>
Status: CLOSED NOTABUG QA Contact: Dale Lovelace <dale>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-09 18:37:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tammy Fox 2000-10-09 18:37:15 UTC
Automatically mount CD when inserted is checked in GNOME Control
Center->Peripherals->CD Properties.  When I insert a data CD, it automounts
just fine.  The command fuser -m /cdrom returns that /cdrom is in use by
the GNOME file manager.

I close the file manager, and fuser -m /cdrom returns no uses of that
directory.  As soon as I eject the CDROM, the message "VFS: busy inodes on
changed media." appears in the current VC and in /var/log/messages.  There
are no files listed in /cdrom, but the mount command returns that /cdrom is
still mounted.

After I issue the command umount /cdrom, the messages disappear.  If I do
not issue the umount /cdrom command, the messages do not go away.

Comment 1 Alan Cox 2000-10-09 23:46:27 UTC
You are not supposed to remove mounted media. The fact that no process is using
an inode doesnt mean it isnt cached.