Skip to main content
NetApp Knowledge Base

Cannot delete or rename a file, an empty directory or qtree

Views:
1,256
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

Applies to

Data ONTAP 7 and earlier

Issue

  • Cannot delete directory
  • Directory has 777 permissions
  • Admin host cannot delete the directory
  • Cannot delete an empty directory

Note: A qtree cannot be deleted, if Storage-Level Access Guard is applied to it. It must be removed to delete a qtree. For details, see the following article, Removing the Storage-Level Access Guard.

  • The directory is empty
  • rm does not work
  • Common Internet File System protocol (CIFS) lock causing sharing violation
  • Windows Host error message: Error renaming file cannot rename [filename]: There has been a sharing violation

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device