Cannot create files on NFS mount, results in error 'Read-only filesystem' even though NFS mount is mounted as read-write

Solution Verified - Updated -

Issue

  • Issuing the touch command against a read-write mounted NFS share results in the following error:
# touch sdf.txt
touch: cannot touch `sdf.txt': Read-only file system
  • The NFS client is mounting the NFS share as read-write:
server.example.com:/share   /share         nfs     rw              0 0

Environment

  • Red Hat Enterprise Linux
  • NFS client

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