![]() |
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....
|
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 01:57 PM. |
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