跳转到主内容

NFS客户端暂时无法删除为CIFS客户端创建的文件以进行读取

适用场景

  • ONTAP 9
  • CIFS (已启用操作锁定)
  • NFSv4
  • ETL或其他快速文件周转工作流(在多个客户端之间创建、写入、读取、删除)
  • (可能) SQL语句写入到短生存文件中以导入到DBMS中

问题描述

  • NFS (v4)客户端尝试通过发出删除调用来删除文件、但收到NFS4ERR_FILE打开
  • 工作流特征:
    • NFS客户端创建和写入文件以供CIFS客户端导入(SQL Server就是一个已知示例)
      • SQL Server导入就是一个已知示例、NFS和CIFS客户端对同一个短生存文件执行的其他脚本化/协调操作可能会表现出相同的行为
    • 在CIFS客户端从中导入数据的CIFS共享上启用机会锁
    • CIFS客户端会完全读取导入文件、但不会主动关闭该文件、从而防止NFS写入程序删除该文件、直到CIFS客户端所持有的机会锁过期为止

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.