When using tar over NFS, why am I getting the warning: "tar: </path/to/file> file changed as we read it" ?

Solution Verified - Updated -

Issue

  • While using the tar command to access files on an NFS shared filesystem, the error message below is sometimes printed:
$ tar: </path/to/file>: file changed as we read it 

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6 with Non-RHEL NFS Server
  • 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