LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-16-2005, 05:07 PM   #1
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
Once cd is in it won't umount or eject. This is crap.


Whenever I put in a cd I can take it out or umount it. It always says cd in drive is busy. What kind of crap is this. This has been happening on 2 different computers. I won't put it on any others if this is how it will be about cds. Any possible solution?

--EDIT--
I always make sure I have no terminal open with it browsing the /cdrom or a file manager, file managing it.

Last edited by RHLinuxGUY; 06-16-2005 at 05:09 PM.
 
Old 06-16-2005, 05:15 PM   #2
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
I would guess that you have something accessing the drive.

You can use fuser (man fuser if you need to) to find out who or what is accessing the
drive. You can also use fuser -k /device to just kill the process using the drive. Maybe
not the best solution though.

Hope that helps.

Zack
 
Old 06-16-2005, 08:54 PM   #3
bluesman2333
Member
 
Registered: Dec 2003
Location: Phoenix, Az.
Distribution: Xubuntu Edgy
Posts: 330

Rep: Reputation: 30
You cannot unmount/eject a busy device. Period. I use KDE so the following might not apply to you @ you didn't mention your distro or desktop. I have experienced Konquerer keeping the device busy for a little while after I closed all the Konquerer windows. I have also experienced Konquerer stopping me from unmounting/ejecting a device even though I was not looking at the directory anymore. The cure has always been to close all Konquerer windows. Other programs might have the same behavior.

HTH
 
Old 06-18-2005, 10:06 AM   #4
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Well I'm using ubuntu. And gnome.
 
Old 06-18-2005, 12:16 PM   #5
jnev
Member
 
Registered: Apr 2005
Posts: 158

Rep: Reputation: 30
i had the same problem. eventually i just had to reboot the pc because it wouldn't spit out the damn cd. even doing ctrl-alt-bkspc did nothing to end whatever was accessing the drive.

pretty annoying
 
Old 06-18-2005, 12:33 PM   #6
Cron
Member
 
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
Code:
umount -l /dev/whatever
Would unmount that device, even if it is busy.
 
Old 06-20-2005, 07:23 AM   #7
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
you can always force it out with a paper clip
 
Old 06-20-2005, 08:34 AM   #8
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
If you do not have applications using or viewing the files on the drive it may be a problem with some sort of auto mounting. Not an uncommon problem. The usual solution is to disable that function and do manual mounts. I thought distros were getting better with this though.
 
Old 06-24-2005, 07:09 PM   #9
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889

Original Poster
Blog Entries: 1

Rep: Reputation: 30
how do you disable automount on Ubuntu?
 
Old 06-25-2005, 05:07 AM   #10
angkor
Member
 
Registered: Mar 2005
Location: Amsterdam
Distribution: Debian => Ubuntu => Mac Osx
Posts: 165

Rep: Reputation: 31
Dunno if it does what you want, but you can go to:

System->Preferences->Removable Drives & Media

and uncheck the automounting options.
 
Old 06-27-2005, 05:42 PM   #11
JLTB
Member
 
Registered: Aug 2004
Location: Langley, BC, Canada
Distribution: Debian, SUSE {9.1, 9.2-64, 9.3-64}, Ubuntu
Posts: 80

Rep: Reputation: 15
Hey,

Yea, I've noticed that debian-esq distro's do strange things with CD's sometimes. I find the following combo fixes most of them

Code:
umount /dev/cdrom
(do it with sudo if you really want to assert yourself)

and getting the cd out of the drive is as easy as using the command

Code:
eject
(again, try sudo if nothing else helps)

It's strange I know, I've learned to accept it since the apt package manager still makes ubuntu/debian much better than other distros (IMHO, of course).
 
Old 06-27-2005, 07:23 PM   #12
codec
Member
 
Registered: Sep 2003
Location: mad.es.eu
Distribution: ubuntu 5.04 knoppix Slack91/10 freebsd51 vector4 redhat9
Posts: 304

Rep: Reputation: 30
I use xfce4 desktop

nautilus take advantage of hal, it may mount and open the drive automatically. I don't know how to disable that yet.

btw, I use rw,user,noauto in my /etc/fstab, my cd drive is in /dev/hdc w/o scsi emulation (and I hate the slow io/cd performance in this system)

Last edited by codec; 06-27-2005 at 07:26 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
umount vs. eject Vgui Linux - General 5 09-02-2005 09:24 PM
Linspire = Crap, Netzero also = Crap rm6990 General 16 09-20-2004 02:35 AM
CDROM umount + eject ptreves Linux - Newbie 7 08-18-2004 09:51 PM
Cannot Umount or eject cdrom in Md10 bongski55 Mandriva 3 04-08-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration