"Qtree (or directory) already exists" but "Qtree does not exist."
Applies to
- ONTAP 9
- Qtree
- Linux
Issue
- A qtree (qtree1) was deleted via linux:
[root@linux]# ll
drwxrwsr-x 2 root root 4096 Mar 29 10:07 qtree1
[root@linux]# rm -Rf qtree1 - When trying to create qtree1 again, the following error message is being displayed:
cluster1::*> qtree create -vserver vserver1 -volume vol1 -qtree qtree1
Error: command failed: Failed to create qtree "qtree1" in volume "vol1" Vserver "vserver1".Reason: Qtree (or directory) "qtree1" already exists.
- However, No directory has the same name as the qtree either, and this "existing" qtree can not be deleted:
cluster1::*> qtree delete -force true -vserver vserver1 -volume vol1 -qtree "qtree1"
Error: command failed: Failed to get qtree from volume "vol1" on Vserver "vserver1".
Reason: Qtree qtree1 does not exist.