LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2006, 11:39 AM   #1
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Rep: Reputation: 18
unmount problem


When I try to unmount my cdrom, i get the "device is busy" signal. But neither fuser nor lsof shows any programs accessing the cdrom. Why can't I unmount it?

Code:
wunderkiste:/home/lo# umount /cdrom
umount: /media/cdrom0: device is busy
umount: /media/cdrom0: device is busy
wunderkiste:/home/lo# fuser /media/cdrom0
/media/cdrom0:
wunderkiste:/home/lo# lsof |grep cdrom
wunderkiste:/home/lo#
PS: I'm usong Debian Sarge

Last edited by Lotharster; 01-02-2006 at 11:43 AM.
 
Old 01-02-2006, 12:35 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
If you were using some application to play audio cds, or a file manager to view files on a data cd, then the cdrom is seen as still busy. Close the apps in question, then try to umount.
 
Old 01-02-2006, 12:41 PM   #3
Lotharster
Member
 
Registered: Nov 2005
Posts: 144

Original Poster
Rep: Reputation: 18
@bigrigdriver: But should'nt lsof show something in that case?
 
Old 01-03-2006, 08:43 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Also "cd" out of /cdrom or any of it's subdirs. This too may be blocking the device.
Try using "lsof +D /cdrom" instead of lsof+grep.
But you're right, lsof should mention something.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unmount problem with Mandrake 9.2 RaiReg Mandriva 10 08-20-2004 08:46 AM
Unmount problem Mahony Linux - General 3 03-01-2004 04:43 PM
problem unmount cdrom drive hamish Linux - General 5 10-28-2003 12:23 AM
Unmount problem after mplayer sore Linux - Software 8 10-16-2003 02:13 PM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 07:33 AM


All times are GMT -5. The time now is 04:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration