LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 07-16-2006, 07:15 PM   #1
rust8y
Member
 
Registered: May 2006
Posts: 100

Rep: Reputation: 15
Cannot umount - device busy


I've su - root
When I tried to do a umount it says device is busy
How do I solve this problem? Thanks.
 
Old 07-16-2006, 07:39 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,021

Rep: Reputation: 125Reputation: 125
It sounds like there are open files - which partition are you trying to umount? Regardless, it's probably easier to boot your system with either your install CD, a LiveCD or the SystemRescueCd (http://www.sysresccd.org/Main_Page).
 
Old 07-16-2006, 07:46 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
There's an open file on the mounted partition. This would include open shells and file browsers with their working directories in the partition.
 
Old 07-16-2006, 07:57 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Quote:
Originally Posted by gilead
It sounds like there are open files - which partition are you trying to umount? Regardless, it's probably easier to boot your system with either your install CD, a LiveCD or the SystemRescueCd (http://www.sysresccd.org/Main_Page).
Why are we booting from a rescue CD ot unmount a partition?

You can use lsof to find out what is using the parition. Something like this should start you in the right direction
Code:
lsof | grep <mountpoint>
# <mountpoint> is where this partition is mounted
 
Old 07-16-2006, 08:33 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,021

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by cs-cam
Why are we booting from a rescue CD ot unmount a partition?
Because if the unmounted partition contains the commands he needs to run, he can't do anything. If the partition doesn't contain any required files then there's no problem.
 
Old 07-16-2006, 08:41 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: Kennesaw, GA
Distribution: Ubuntu
Posts: 8,502

Rep: Reputation: 110Reputation: 110
In very few cases does one want to unmount such a partition... mostly it's a backup data partition, usb drive, cdrom, etc.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
umount :device busy Pedroski Linux - Hardware 14 12-29-2004 03:37 PM
umount - device is busy - with what??? Moebius Linux - Software 16 12-08-2004 10:32 AM
fam and umount says device is busy Brian1 Fedora 2 10-05-2004 07:33 PM
umount /var device busy winchester169 Linux - Networking 1 06-25-2004 07:53 PM
umount: /mnt/a5: device is busy PTBmilo Linux - General 2 01-31-2003 10:48 PM


All times are GMT -5. The time now is 03:19 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
Open Source Consulting | Domain Registration