跳转到主内容

无法删除不可访问的目录

Views:
6
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

适用场景

  • ONTAP 9
  • 异步删除
  • NTFS
  • CIFS

问题描述

  • 无法使用NTFS安全模式删除/还原不可访问的目录
  • 运行命令后:

volume file async-delete start -vserver svm1_cluster1 -volume vol1 -path "/Directory/Subdirectory"

  • 事件日志显示了一个si倍*错误:

cluster1::*> event log show -message spider*
Time         Node        Severity   Event
------------------- ---------------- ----------- --------------------------
12/21/2021 11:06:32 cluster1-01    ALERT    spider.message.fail: Volume 1027 failed to perform directory task {task                                                  0:1 emptyfh#0->fgi0.17389} because of error 102 at spi_finish_task.cc:320.

  • 正在为共享保持锁定:
cluster1::> vserver locks show -vserver svm1_cluster1 -volume vol1
​​​​Vserver: svm1_cluster1
Volume   Object Path         LIF               Protocol  Lock Type   Client
-------- ------------------------- -----------           --------- -----------  ----------
vol1    /vol1/           lif_svm1_cluster1     cifs    share-level  192.168.0.5
        Sharelock Mode: read-deny_none

cluster1::> cifs session show -address 192.168.0.5
Node:   cluster1-02
Vserver: svm1_cluster1
Connection Session                     Open      Idle    Connection
ID      ID    Workstation    Windows User      Files      Time       Count
---------- ------- ---------------- ---------------- --------- ------------ ---------------
2875463730 16097835393059127297                    12m 21s         1
          192.168.0.5    DEMO\           1
                   Administrator

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.