Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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...
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.
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.
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:
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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.