Unable to delete inaccessible directory
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