==========
root@server:~# umount /mnt/test
umount: /mnt/test: device is busy
(In some cases useful info about the processes that use the device is found by lsof(8) or fuser(1)))
==========
It can be resolved by two ways one can be using lsof and other by fuser.
- For resolving it via lsof follow the steps below we will search the process id and then we will kill that process.
As you can see from the snap-shot 11304 is the process id just kill that process and then try to unmounted.
1) kill -9 11304
2) umount /mnt/test
- For resolving it via fuser follow the steps below we will do the same thing search the process id and then we will kill that process.
Below is the test output
========
root@server:~# fuser -m /mnt/test
/mnt/test: 11304
========
As you can see that the process id is 11304 now just kill the process id and then try to unmount and we are done.
2) kill -9 11304
3) umount /mnt/test.
No comments:
Post a Comment
Do Write about the Blog and Welcome to the world where open source is every thing :-)