Failed to delete qtree with reason: Qtree contains files
Applies to
- ONTAP 9.x
- Qtree
Issue
- When deleting a qtree using '-force true', the command fails to state: Qtree contains files
cluster1::> job history show -id 1601
...
Description: Delete qtree qtree1 in volume
vol1 Vserver svm1
Completion: Failed to delete qtree "qtree1" in
volume "vol1" on Vserver "svm1".
Reason: Qtree contains files.
- After failed qtree delete job with option '-force true', the MGWD logs in ONTAP contain one or more errors similar to:
Tue Nov 09 11:56:16 2021 xxxxxx02 [kern_mgwd:info:1995] 0x82ec9cd00: 0: WARNING: VOPL::qtreeDelete: 1673 removeFile 277 filesystem remove /clus/svm1/vol1/qtree1/folder1/folder2/\331\205\330\254\331\204\330\257 \330\254\330\257\331\212\330\257 \342\200\253\342\200\254, setting worker result to error 66