LinuxQuestions.org
Help answer threads with 0 replies.
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-21-2006, 08:00 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
umount drive partition: device is busy?


My hard drive is cut up into partitions and one of them is mounted within my home directory (K6.06 Dapper). I would like to unmount it. When i try, i am told that it's busy:

Code:
lefty@crupps:~$ sudo umount /home/lefty/bigboi
umount: /home/lefty/bigboi: device is busy
umount: /home/lefty/bigboi: device is busy
lefty@crupps:~$
I do not have Kerry/beagle nor my Amarok currently running (I do have klipper, kdewallet, kmixer, kopete, and Skype running in my System Tray).

I cannot think of any reason why this would be busy! How do I unmount this drive?
 
Old 06-21-2006, 08:05 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,471
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by lefty.crupps
My hard drive is cut up into partitions and one of them is mounted within my home directory (K6.06 Dapper). I would like to unmount it. When i try, i am told that it's busy
You can use the "fuser" command to tell you which process is accessing that partition.
 
Old 06-21-2006, 08:56 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Can you post the output of "mount" and "cat /etc/fstab" ?
 
Old 06-22-2006, 12:51 AM   #4
varun_shrivastava
Member
 
Registered: Jun 2006
Distribution: Ubuntu 7.04 Feisty
Posts: 79

Rep: Reputation: 15
forcefully umount with -f (i think) option
or check for this option in man pages
 
Old 06-22-2006, 01:05 AM   #5
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
I think this is it:

Code:
lefty@crupps:~$ fuser -c /home/lefty/bigboi
/home/lefty/bigboi:  5634  5924

lefty@crupps:~$ ps -p5634
  PID TTY          TIME CMD
 5634 ?        00:00:01 beagled
lefty@crupps:~$ ps -p5924
  PID TTY          TIME CMD
 5924 ?        00:04:05 amarokapp
Perhaps the KDE system tray isn't quite accurate?

Thank you three for your help! I always learn something
 
Old 06-22-2006, 01:24 AM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,471
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by lefty.crupps
Perhaps the KDE system tray isn't quite accurate?
I've found KDE's ability to properly manage processes is deficient in certain areas. This is especially noticeable with Konqueror. I can close and re-open it 6 times and then have 6 separate Konqueror processes in the process list, despite none being open. This is my experience with releases up to 3.4 anyhow. 3.5 may be different.
 
Old 06-22-2006, 03:49 AM   #7
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
hello
since you are using the partition as your home directory, and since for every user logged-in a home directory is a must, may be that is withhelding the umounting. you log-off first and then try to unmount.
 
Old 06-22-2006, 08:22 AM   #8
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
Quote:
since you are using the partition as your home directory,
No its just a mounted partition (sda6) in a subfolder (./bigboi) of my home directory.

Last edited by lefty.crupps; 06-22-2006 at 08:26 AM.
 
Old 06-22-2006, 08:37 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Didn't see your output, but if it's under /home, and /home is mounted, it's busy, right?
 
  


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
umount on samba drive --device busy taiwf Linux - Networking 3 03-09-2006 09:02 PM
Trying to partition hard drive umount: device is busy badgerbox76 Linux - Hardware 1 02-26-2006 02:28 AM
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
umount /var device busy winchester169 Linux - Networking 1 06-25-2004 07:53 PM

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

All times are GMT -5. The time now is 05:49 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