Skip to main content
NetApp Knowledge Base

FlexCache volume fails to delete

Views:
290
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • FlexCache

Issue

  • Attempts to delete a previously configured FlexCache volume fails:

Cluster_CLI::> vol delete -vserver vserver_1 -volume fc_vol_1

Error: command failed: Volume "fc_vol_1" in Vserver "vserver_1" 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 a relationship with the origin. Use the "volume flexcache origin show-caches -origin-vserver vserver_1 -origin-volume fc_vol_1" command to show the FlexCache volumes associated with the origin.

  • Attempts to delete the specified FlexCache relationship with the directed steps fails:

Cluster_CLI::> vol flexcache origin show-caches -origin-vserver vserver_1 -origin-volume fc_vol_1

Origin-Vserver Origin-Volume  Cache-Vserver  Cache-Volume  Cache-Cluster
-------------- -------------- -------------- ------------- --------------
vserver_1      fc_vol_1       vserver_cache  volume_cache  cluster_1

Cluster_CLI::> volume offline -vserver vserver_cache -volume volume_cache
Cluster_CLI::> volume flexcache delete -vserver vserver_cache -volume volume_cache

  • This operation appears to complete, but a retry of the volume delete command as shown results in:

Cluster_CLI::*> volume flexcache delete -volume fc_vol _1 -vserver vserver_1
  Error: 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.