Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Failed to delete qtree. Reason: qtree contains files

Views:
2,132
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • Clustered Data ONTAP 8.3
  • ONTAP 9
  • qtrees

Issue

When deleting a qtree using -force true, the command fails stating to use -force true:

Cluster::*> qtree delete -force true -vserver <vServer> -volume <volume> -qtree <qtree>

Warning: Are you sure you want to delete qtree "<qtree>" in volume "<volume>" Vserver "<vServer>"? {y|n}: y

Warning: This will delete all files inside qtree <qtree> volume <volume> Vserver <vServer> before removing the qtree. Do you want to proceed?
{y|n}: y
[Job 14186] Job is queued: Delete qtree <qtree> in volume <volume> Vserver <vServer>.

prod::*> job history show -id <ID>
                              Owning
Time           Node           Vserver    Name                 Event     Job ID
-------------- -------------- ---------- -------------------- --------- ------
02/15 09:31:10 Node     vServer Qtree Delete     Failed     ID
     Description: Delete qtree <qtree> in volume
                  <volume> Vserver <vServer>
      Completion: Failed to delete qtree "<qtree>" in
                  volume "<volume>" on Vserver
                  "<vServer>". Reason: Qtree contains
              files. Set the "force" parameter to "true"
                  to permanently delete all of the files and
    the Qtree. The export policy "" has been
                  unassigned from the qtree and it now uses
                  the parent volume's export policy.
02/15 09:31:05 <node> <vServer> Qtree Delete     Running    ID
     Description: Delete qtree <qtree> in volume
                  <volume> Vserver <vServer>
2 entries were displayed.

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support