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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content