Skip to main content
NetApp Knowledge Base

Unable to delete volume due to FlexCache error

Views:
932
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9.3 or higher
  • CVO
  • FSX

Issue

Unable to delete a volume due to error that states the volume is a FlexCache volume.
 
cluster::*> volume delete -vserver vserver1 -volume vl1
 
Error: command failed:Volume "vol1" in Vserver "vserver1" is an origin of a FlexCache volume. To delete an origin of a FlexCache volume, you must first delete the FlexCache volumes that are in relationship with the origin. Use the "volume flexcache origin show-caches-origin-vserver vserver1 -origin-volume vol1" command to show the FlexCache volumes associated with the origin.
 
However, when you try to delete it as a FlexCache vol:
 
cluster::*> vol flexcache delete -vserver vserver1 -volume vol1
 
Error: command failed: Cannot delete volume"vol1" in Vserver "vserver1" because it is not a FlexCache volume. Use the "volume delete -vserver vserver1 -volumevol1" command to delete the volume.
 
And when reviewing the origin:
 
cluster::*> volume flexcache origin show-caches -origin-vserver vserver1 -origin-volume vol1
There are no entries matching your query.

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.