Linux - How to find busy device, Locate the busy driver

How to find busy device

When you are trying to unmount a device drive, but it keep saying that your system or drive is busy.

  # lsof +D /mnt/drive-name

This will return the command and process ID of any tasks that is currently accessing the /mnt/drive-name directory.

By finding the Process-ID you can either end the process or kill the process to unmount the drive safely.

The topic on Linux - How to find busy device is posted by - Patel

Hope you have enjoyed, Linux - How to find busy deviceThanks for your time

Tech Bluff