View Full Version : CD-ROM difficulties
sembazuru
4th April 2004, 03:41 PM
I put a CD-RW with some scanned pics on it into my CDROM drive for the first time under FC1 last night. The system automatically mounted the disc as expected and I browsed the pics. However, when I was finished, I closed Nautilus and then right-clicked the disc image and selected Eject, but then got an error message. when I clicked on the "details" button I got a message saying the cd-rom drive was "busy," or "in use" or words to that effect (I forget the exact message). I had no idea how to remove the cd. Rather than try to force the bay open while Fedora was still running, I shut the system down and then did the old opened paper clip in the hole proceedure to force the tray open.
What was I doing wrong that Fedora read the drive as still in use when I had closed Nautilus?I had even tried opening a terminal and typing in the standard umount /mnt/cdrom command and, of course, got the same message.
Jman
4th April 2004, 04:55 PM
Mounting drives is tricky sometimes.
Are you sure all files from the CD were closed? Also, check that there are no terminals with the working directory set to that CD's mount point. There can be no references to that mount point in any running processes.
For sure you can run umount -l /mountpoint and it will do a "lazy" umount, the filesystem will be gone and stuff will be cleaned up when it is not busy. I kind of wish Nautilus did this with the GUI.
bsoderror
20th June 2004, 10:05 PM
Mounting drives is tricky sometimes.
Are you sure all files from the CD were closed? Also, check that there are no terminals with the working directory set to that CD's mount point. There can be no references to that mount point in any running processes.
For sure you can run umount -l /mountpoint and it will do a "lazy" umount, the filesystem will be gone and stuff will be cleaned up when it is not busy. I kind of wish Nautilus did this with the GUI.
I just tried what you suggested and I tried the eject /dev/cdrom to no avail:
[bob@localhost bob]$ eject /dev/cdrom
umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busy
eject: unmount of `/dev/hdc' failed
[bob@localhost bob]$ umount -l /dev/cdrom
it took the icon off the desktop alright but I still can't eject the cd by hand.It's a TDK and it was picked up by installing FC1 and 2. Any more hints? Thanx :confused:
crackers
21st June 2004, 04:31 AM
Try the lsof command - you may have to install the RPM. That should tell you who/what is camped on the drive...
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.