跳转到主内容

由于CIFS锁定、访问NTFS卷时、NFS客户端出现间歇性获取权限被拒绝错误

Views:
13
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009832616.</a>
Last Updated:

适用场景

  • ONTAP 9及更高版本
  • CIFS锁定
  • NFS

问题描述

  • 重命名NTFS卷上的目录/文件时、在Unix服务器上出现间歇性权限被拒绝错误。
  • 在 sectrace中,注意到以下错误:
vs1    1    Security Style: NTFS and     Access is allowed because
                 NT ACL    explicit ACE grants requested
                       access. Access is denied. The
                       requested permissions are not
                       granted by the ACE while
                       checking parent's modebits
                       during delete. Access is not
                       granted for: "Execute",
                      "Write"
            Protocol: nfs
            Volume: vol1
            Share: -
            Path: /dir1/dir2/dir3/dir4
            Win-User: -
            UNIX-User: 12345
            Session-ID: -
  • packet trace show重命名操作失败、并显示access denied错误。
  • 文件/目录已 由CIFS客户端打开、并且客户端对其设置了共享锁定:
::>vserver locks show -vserver vs1 -path /vol1/dir1/dir2/dir3/dir4/file -instance
Notice: Using this command can impact system performance. It is recommended
that you specify both the vserver and the volume when issuing this command to
minimize the scope of the command's operation. To abort the command, press Ctrl-C.
 
          Vserver: vs1
           Volume: vol1
     Logical Interface: data_lif1
        Object Path: /vol1/dir1/dir2/dir3/dir4/file
         Lock State: granted
  Shared Lock Access Mode: read-deny_none
    Shared Lock is Soft: false
      Client Address: 10.1.2.3
    Client Address Type: ipv4

 

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.