Umount: Device is Busy
I don’t know how many times this happened for you but it its common that when we initiate the umount [mount point] we keep receiving the "umount: [mount point] : device is busy" message.
This means that a process is using that mount point and the quickest way to find out which process or user is using it, is to use the fuser command and then if we are sure that no one is working on that mount point we can kill the process.
fuser -u [mount point] tells which user is using it and fuser -k [mount point] kills the process which is using that mount point!
Watch out when you kill the process! This may result in loosing or corrupting data if someone else is working on that directory!
check this for further detail about fuser:
Fuser (UNIX)
This means that a process is using that mount point and the quickest way to find out which process or user is using it, is to use the fuser command and then if we are sure that no one is working on that mount point we can kill the process.
fuser -u [mount point] tells which user is using it and fuser -k [mount point] kills the process which is using that mount point!
Watch out when you kill the process! This may result in loosing or corrupting data if someone else is working on that directory!
check this for further detail about fuser:
Fuser (UNIX)
Labels: Linux



3 Comments:
Nice
Thank you...........
Thanks
In some situation you can run "unmount" command with "-l" option for unmount.
for more information refer to manual umnout and "Lazy" option.
Thanks for the comment Nima. That's right and everyone should first try safer options like using umount with the lazy parameter and using the fuser is just the last resort!
Thanks Again.
Post a Comment
<< Home