Skip to main content
NetApp Knowledge Base

File reappears after deleting it

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

Applies to

ONTAP 9

Issue

  • The file is deleted from the file system; however, after refreshing, the file reappears.
  • There are not any corresponding locks to be identified from command of vserver locks show or cifs session file show.
  • Sectrace collected for Client IP shows,  no reson of "Access is denied because a delete is pending on this object".
Cluster::> vserver security trace trace-result show -vserver XXXX
Vserver: XXXX

Node     Index     Filter           Details             Reason
--------------- ----- -------------------------- ------------------------------
Node1     1      Security Style:       -        Access is allowed because explicit ACE grants requested access while creating the directory. 
Protocol: cifs
Volume: -
Share: test
Path: /test/folder
Win-User: Domain\username
UNIX-User: root
Session-ID: 1664080010000003555
  • Packet trace shows STATUS_DELETE_PENDING while accessing the file.
Number Date           Source       Destination   Protocol     Info
223727 2020-05-12  10.216.xx.xx   10.216.41.20    SMB2      Create Request File: \test\a.txt
223744 2020-05-12  10.216.xx.xx   10.216.41.10    SMB2      Create Response, Error: STATUS_DELETE_PENDING

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.