跳转到主内容

NFS 客户端无法检测到由不同客户端创建的新文件或延迟显示

Views:
85
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

  • ONTAP 9
  • NFS

问题描述

  • 客户不会在写入文件后立即看到其他客户写入的文件。
  • 客户端 host1 在共享目录中创建文件
  • host1 可以是 NFS 或 CIFS
  • NFS 客户端 host2 查看目录,但新文件未列出

示例:

user@host2:~/vol1$ ls -l new_file1
ls: cannot access 'new_file1': No such file or directory

  • 如果导出通过 noac 装载在客户端上,则文件立即可见:
  1. 在 host2 上卸载 NFS 导出
  2. 启用 noac 选项挂载 NFS 导出
    • 这将在客户端上禁用属性缓存

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.