umount: device is busy.

When umount a device, which process is causing “device busy”?

The suggested method is using lsof and fuser

Here is an example:

lsof | grep <device or directory name>

or 

fuser -m <device or directory name> to check out the process id.

Advertisements