File operations on NFS4 shares can fail with EIO, even with 'hard' mount option set,when the network cable is temporarily pulled and put back, simulating a network outage.

Solution In Progress - Updated -

Issue

After a temporary Network outage, applications writing to an NFS share, can fail with EIO (Input/output error) or EINVAL (Invalid argument) even with NFS mount option 'hard' in place.
In such a scenario, NFS is expected to temporarily suspend IO when a network outage happens and then recover when connectivity is restored.

Environment

  • Red Hat Enterprise Linux 7, kernel-3.10.0-514.el7 or higher and prior to rhel 7.8
  • Red Hat Enterprise Linux 8
  • NFS share mounted with the 'hard' mount option (is enabled by default).
  • NFS version 4.0/4.1/4.2
  • Network issues leading to a temporary communication interruption between NFS Client/Server

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