Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-02-2006, 10:39 AM   #1
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?

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

Last edited by Lotharster; 01-02-2006 at 10:43 AM.
Old 01-02-2006, 11:35 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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, 11:41 AM   #3
Registered: Nov 2005
Posts: 144

Original Poster
Rep: Reputation: 18
@bigrigdriver: But should'nt lsof show something in that case?
Old 01-03-2006, 07:43 AM   #4
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.


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 07:46 AM
Unmount problem Mahony Linux - General 3 03-01-2004 03:43 PM
problem unmount cdrom drive hamish Linux - General 5 10-27-2003 11:23 PM
Unmount problem after mplayer sore Linux - Software 8 10-16-2003 01:13 PM
command 'unmount' not found - how can i unmount??? GloVe Linux - General 1 10-04-2003 06:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 PM.

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