LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-28-2001, 01:13 PM   #1
aajami59719
LQ Newbie
 
Registered: Aug 2001
Location: Los Angeles, CA
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-28-2001, 01:33 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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...
 
Old 08-28-2001, 02:33 PM   #3
aajami59719
LQ Newbie
 
Registered: Aug 2001
Location: Los Angeles, CA
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 08-28-2001, 03:34 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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?
 
Old 08-28-2001, 03:46 PM   #5
aajami59719
LQ Newbie
 
Registered: Aug 2001
Location: Los Angeles, CA
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 08-28-2001, 04:03 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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...
 
Old 08-29-2001, 01:32 AM   #7
Will
Member
 
Registered: Aug 2001
Posts: 73

Rep: Reputation: 15
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?
 
Old 08-29-2001, 01:48 AM   #8
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
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.
 
Old 08-29-2001, 01:55 AM   #9
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
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?
 
Old 08-29-2001, 02:06 AM   #10
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
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.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Device is Busy...??? GrumpyGnome Linux - Software 2 07-01-2004 11:43 AM
cant umount cd, always says its busy?? spedsta Linux - Newbie 6 06-01-2004 03:11 AM
port 21 busy davidsrsb Slackware 4 05-11-2004 11:14 PM
Device is busy juanb Linux - General 5 11-05-2003 07:31 AM
force unmouting of devices aep Linux - Hardware 2 05-05-2002 03:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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