Translated message

A translation of this page exists in English.

什么会导致过时的 NFS 文件处理?

Solution In Progress - Updated -

Issue

  • 挂载 NFS 文件系统的客户端报告 stale file handles
  • 一些过时的文件句柄的原因以及如何防止?
  • 我看到应用程序日志陈述对 NFS 文件的读或写操作,或者对 NFS 目录的操作,以 errno = 116 (ESTALE) 结束。
  • 在 NFS 服务器中将文件 id 大小从 64 位改为 32 位,出现 stale file handle 错误,并在 /var/log/messages 中出现以下消息:

    kernel: NFS: server lhub.nas error: fileid changed
    kernel: fsid 0:13: expected fileid 0x1015734f5, got 0x15734f5
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • NFS(网络文件系统)版本 3 和 4

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