NFS umount deadlock when unmounting with lazy option on Red Hat Enterprise Linux

Solution Unverified - Updated -

Issue

  • Commands accessing NFS files hang
  • rpciod becomes stuck in rpc_shutdown_client() after umount
  • We have several servers that hang on reboot.  Each time this happens the console scrolls rpc mount errors:

    Shutting down interface bond0:
    bonding: bond0: releasing active interface eth0
    bonding: bond0: making interface 3 the new active one.
    bonding: bond0: releasing active interface eth3
                                                              [  OK  ]
    Shutting down loopback interface:                         [  OK  ]
    Starting killall:                                         [  OK  ]
    Sending all processes the TERM signal...                  [  OK  ]
    Sending all processes the KILL signal...                  [  OK  ]
    Turning off swap:                                         [  OK  ]
    Unmounting pipe file systems:                             [  OK  ]
    Unmounting file systems:                                  [  OK  ]
    Please stand by while rebooting the system...             [  OK  ]
    RPC: error 101 connecting to server NFS-server1.example.net
    RPC: error 101 connecting to server NFS-server2.example.net   
    

Environment

  • Red Hat Enterprise Linux including:
    • Red Hat Enterprise Linux 4 - all versions.
    • Red Hat Enterprise Linux 5 - prior to RHEL5 (kernels prior to 2.6.18-194.el5)
  • NFS client mounts
    • Unmounting nfs mounts using "lazy" (-l) option; or
    • Unmounting nfs shares using netfs stop script (RHEL4 only).

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