Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   Linux: "Device or Resource busy" question (https://thetfp.com/tfp/tilted-technology/82807-linux-device-resource-busy-question.html)

Moskie 02-06-2005 11:50 AM

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....

Latch 02-06-2005 01:38 PM

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.


All times are GMT -8. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, 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 63 64 65 66 67 68 69 70 71 72 73