How do I force Linux to unmount a filesystem?

Some time, Linux fails to unmount a filesystem reporting “device is busy”. I understand that this helps avoid data lost by disallowing unmouting a filesystem when it is being used.

But for some situations, I am sure there is something wrong happened or I care not data lost, such as a NFS mounting while the NFS server is dead and will never be back. Under these kinds of situations, how do I force Linux to unmount a filesystem?

You can check this tutorials on how to unmount a “device is busy” filesystem:

How to Force Linux to Unmount a Filesystem Reporting “device is busy”.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *