Reboot hangs when NFS share is mounted and lost connection to NFS server during I/O operation in Red Hat Enterprise Linux.

Solution In Progress - Updated -

Issue

  • Reboot hangs when NFS share is mounted and lost connection to NFS server during I/O operation.
  • Mostly seen nfs disconnection log.
nfs: server 1.1.1.1 not responding, still trying
Unmounting NFS filesystems:  umount.nfs: <mount point>: device is busy
umount.nfs: <mount point>: device is busy
                                                           [FAILED]
Unmounting NFS filesystems (retry):                        [  OK  ]

The issue occurs if the mount option is hard mount

Environment

  • Red Hat Enterprise Linux 9
    • All kernels believed to be affected
  • Red Hat Enterprise Linux 8
    • All kernels believed to be affected
  • Red Hat Enterprise Linux 7
    • All kernels believed to be affected
    • Seen on kernels 3.10.0-957.el7 and prior
  • Red Hat Enterprise Linux 6
    • All kernels believed to be affected
  • NFS mount point
    • 'hard' mount option
    • NFS IO in progress
    • Network partition (can be simulated with firewalld port block on NFS server)
    • 'reboot'

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