Skip to main content
NetApp Knowledge Base

"Qtree (or directory) already exists" but "Qtree does not exist."

Views:
719
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

  • ONTAP 9
  • Qtree
  • Linux

Issue

  1.  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

     
  2.  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.


     
  3.  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.

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.