umount: /mnt: device is busy
umount -l /mnt
Unmounting
Sometimes a mount point can't be unmounted. Generally there is a user who's still using a file in the directory. In this case, lsof is your friend (lsof | grep /mnt)
But some cases are particularly bothering:
- You may not want to kill the process which uses the given file
- Maybe nobody is using the mount point, which means it is broken (this is often a samba or nfs broken pipe)
That's how you can do an unblocking umount.
No comments:
Post a Comment