Unmount power

Does this error message sounds familiar?

Unable to unmount: device or resource busy

The solution is lsof (list open files). Simply pass the partition you are not able to unmount and it will list which processes are using the resource. It cannot get any simpler.

It’s always nice to learn about useful commands that do exactly what you needed in problematic situations.

More info.

You can also use fuser.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s