How to unmount a stale NFS mount that fails to unmount with 'device is busy' after network disconnectivity?

Solution Verified - Updated -

Issue

  • Temporarily losing network connection to the NFS Server some times causes the NFS client mount to go stale.

  • Standard attempts to umount fails with the EBUSY message: umount: /mnt/nfs: device is busy when using any of the following commands:

    # mount -t nfs -o remount /mnt/nfs
    # umount /mnt/nfs
    # umount -f /mnt/nfs
    # umount -l /mnt/nfs
    # umount -lf /mnt/nfs
    

Environment

  • Red Hat Enterprise Linux (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In