linuxshelldevicemountumount

Linux: Which process is causing "device busy" when doing umount?


Linux: Which process is causing "device busy" when doing umount?


Solution

  • Look at the lsof command (list open files) -- it can tell you which processes are holding what open. Sometimes it's tricky but often something as simple as sudo lsof | grep (your device name here) could do it for you.