跳转到主内容

NFS 客户端暂时无法删除为 CIFS 客户端创建的供其读取的文件

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

适用于

  • ONTAP 9
  • CIFS(启用 oplocks)
  • NFS
  • ETL 或其他快速文件周转工作流程(在多个客户端之间创建、写入、读取、删除)
  • (可能)SQL 语句写入短命文件以导入 DBMS

问题描述

  • NFS (v4) 客户端尝试通过发出 REMOVE 调用来删除文件,但收到 NFS4ERR_FILE_OPEN
  • 工作流特性:
    • NFS 客户端创建并写入文件以供 CIFS 客户端导入(已知示例为 SQL Server)
      • SQL Server 导入是一个已知的示例 - 在同一短期文件上 NFS 和 CIFS 客户端之间的其他脚本/协调操作可能表现出相同的行为
    • 在 CIFS 客户端导入数据的 CIFS 共享上启用 Oplocks
    • CIFS 客户端完全读取导入文件,但不主动关闭文件,防止 NFS 写入程序删除该文件,直到 CIFS 客户端持有的 oplocks 到期
  • 此卷为 NTFS

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.