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. |
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...
|
Quote:
thanks. |
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?
|
Quote:
|
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...
|
Sorry to distract for a minute but this caught my attention.
Quote:
|
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.
|
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? |
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. |