Skip to main content
NetApp Knowledge Base

Unable to delete inaccessible directory

Views:
1,450
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:
9/13/2024, 9:22:48 AM

Applies to

  • ONTAP 9
  • Asynchronous delete
  • NTFS
  • CIFS

Issue

  • Unable to delete/restore inaccessible directory with NTFS security style
  • After running the command:

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

  • Event log shows a spider* error:

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.

  • A lock is being held for the share:
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.