Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 02-06-2005, 11:50 AM   #1 (permalink)
Pure Chewing Satisfaction
 
Moskie's Avatar
 
Location: can i use bbcode [i]here[/i]?
Linux: "Device or Resource busy" question

Sometimes when I try to do something such as unmount a samba mountpoint, I get an error saying something like "Device or resource busy." Is there a way to tell what is using that device/resource? I imagine I'm looking for a process ID so I can look to end that process, then try to unmount the device again....
__________________
Greetings and salutations.
Moskie is offline  
Old 02-06-2005, 01:38 PM   #2 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
your system should have a program called lsof.

As root, run "lsof /mount/point", it should list all resources accessing it (keep in mind.. even being in a samba directory can make it "busy").

If it's still being a pain, you can do "umount -l /mount/point". This makes it unavailable for all future processes, and umounts it quietly in the background when old processes let go of it.
Latch is offline  
 

Tags
busy, device, linux, question, resource


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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 03:21 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62