跳转到主内容

删除后文件再次出现

i
Knowledge Base guidance

This article may include metadata, visibility, validation state, and related support guidance.

适用场景

ONTAP 9

问题描述

  • 该文件已从文件系统中删除;但刷新后,该文件又重新出现。
  • 没有相应的锁可供从命令中识别vserver locks show或者cifs session file show.
  • Sectrace 收集的客户端 IP 显示,没有原因 "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
  • 访问文件时,数据包跟踪显示 STATUS_DELETE_PENDING。
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