LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   unmouting busy devies (https://www.linuxquestions.org/questions/linux-general-1/unmouting-busy-devies-5947/)

aajami59719 08-28-2001 01:13 PM

unmouting busy devies
 
Hello,

Whenever I try to shutdown the machine (Redhat 6.1) it cannot umount the /usr/local . After a few tries it jumps out without unmouting the device, the message says that the device is "busy". How can I unmount the device in logout?

thanks.

trickykid 08-28-2001 01:33 PM

one question? does it allow you to unmount it before you try to logout? and is this when your logging out straight out of X, or from the command line... etc...

aajami59719 08-28-2001 02:33 PM

Quote:

Originally posted by trickykid
one question? does it allow you to unmount it before you try to logout? and is this when your logging out straight out of X, or from the command line... etc...
It doesn't let me to unmount even before logout. I'm logging out from the command line directly.

thanks.

trickykid 08-28-2001 03:34 PM

alright one more question? does this happen on a particular user account or on all of them if you have any others you can try it with?

aajami59719 08-28-2001 03:46 PM

Quote:

Originally posted by trickykid
alright one more question? does this happen on a particular user account or on all of them if you have any others you can try it with?
Originally I tried it with root. I tried it with another account this time. It is the same situation for both of them.

trickykid 08-28-2001 04:03 PM

well the only thing i can think of is that it would be some kind of process maybe hanging up that would cause that... not for sure though as i have never seen this problem on /usr/local, what kind of apps are you running that might be using /usr/local....etc...

Will 08-29-2001 01:32 AM

Sorry to distract for a minute but this caught my attention.

Quote:

trickykid.......not for sure though as i have never seen this problem on /usr/local, what kind of apps are you running that might be using /usr/local....etc...
I usually get the buisy msg with the floppy or cdrom even though they haven't been used for quite a while. Is there a way I can force it to unmount without having to find the cause or leaving it til I shutdown?

cinnix 08-29-2001 01:48 AM

Being that /usr/local is an unusual partition to have this kind of trouble with. I would try doing a 'ps ax' and search through it for any programs running off of /usr/local. These programs will need to ended before unmounting the partition.

isajera 08-29-2001 01:55 AM

is /usr/local on a separate partition?

one suggestion: run ps -ef just before logout to see if there are any rogue processes running that might somehow keep /usr/local busy.

also... tricky... does this ring a bell?: i vaguely remember reading somewhere about how file could be locked by some programs... usually software development packages like cvs... i think tcl/tck has something similar... but i'm dredging extremely vague memories here. i ran across something where someone was having a problem removing a file even though he was logged in as root, and the file was locked by some prog or another. something like that. that might keep a directory from unmounting... that sound familiar at all?

isajera 08-29-2001 02:06 AM

http://www.linuxquestions.org/questi...=cannot+remove

well... that's the thread i was thinking of... there's a very VAGUE chance these problems might be related... but, heck... it's a place to start.


All times are GMT -5. The time now is 02:30 PM.