LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-06-2003, 04:52 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Rep: Reputation: 30
can't umount cdrom


I have a cdrom mounted to /mnt/scd0 , but when umount it , it pop the message "device is busy" , how can I umount it ? thx.
 
Old 11-06-2003, 05:05 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Make sure no program has a file open from it, or no file manager is looking at it, or no term or xterm is in it. And make sure you haven't done an 'su' with the *parent* shell in it. Happened to me tonight - I was looking *everywhere* and couldn't find it. Finally hit exit in an xterm and saw my user prompt there.
 
Old 11-06-2003, 11:19 AM   #3
lyx0m
LQ Newbie
 
Registered: Oct 2003
Location: Mexico City
Distribution: gentto 1.4/Mandy 9.2/RedHat 9.0/Solaris/HPUX
Posts: 21

Rep: Reputation: 15
Cool

hello
you can also do a fuser -k /dev/scd0 and it will kill the process which is using the cdrom, be sure it is not your self, otherwise your session will be killed.


lyx0m
 
Old 11-06-2003, 07:06 PM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
thx reply, i submit "fuser -k /dev/scd0 " or " lsof /dev/scd0 " , no any output , i check that it should no other system mounting it , can suggest what can i do? thx.
 
Old 11-06-2003, 07:34 PM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
My post made no sense on re-reading the thread. Sorry, I don't know what the solution is.

Last edited by slakmagik; 11-06-2003 at 07:36 PM.
 
Old 11-07-2003, 01:23 AM   #6
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,129

Original Poster
Rep: Reputation: 30
except reboot the server , can suggest what can i do ? thx in advance.
 
Old 11-07-2003, 01:28 AM   #7
hiteshmaisheri
Member
 
Registered: Nov 2003
Location: Kerala, India
Distribution: Red Hat, Knoppix, Mandrake, FreeBSD
Posts: 231

Rep: Reputation: 30
Just check out that any file or directory from the mounted cdrom is not accessed by any application.... If it's so then just close the application to umount the cdrom......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't umount cdrom melodyrulz Linux - Software 5 10-05-2004 06:33 AM
CDROM umount + eject ptreves Linux - Newbie 7 08-18-2004 09:51 PM
can't umount cdrom ust Linux - General 4 12-23-2003 05:03 AM
can't umount /mnt/cdrom !? sirpelidor Linux - Newbie 3 12-08-2003 10:28 PM
mount, umount cdrom Opaque Linux - Newbie 3 06-21-2001 09:30 PM


All times are GMT -5. The time now is 08:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration