Skip to main content
NetApp Knowledge Base

Unable to Delete Orphaned FlexCache Volume

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

Applies to

  • NetApp ONTAP
  • FlexCache Volumes

Issue

Attempts to delete a FlexCache volume fail with errors indicating that the volume is still in a FlexCache relationship and/or the -is-writeback-enabled property is set to true. The original source (origin) volume had already been deleted, resulting in an orphaned FlexCache volume that cannot be deleted using standard procedures.

Example Log Output:

Below error is seen while tried to delete the flexcache volume:

::> volume flexcache delete -vserver svm01 -volume flexcache_vol

Error: command failed: Failed to delete FlexCache volume "flexcache_vol" in Vserver "svm01" because the "-is-writeback-enabled" property is true. Run "volume online -vserver svm01 -volume "flexcache_vol" to bring the volume back online and then run "volume flexcache config modify -vserver svm01 -volume flexcache_vol -is-writeback-enabled false" to disable the "-is-writeback-enabled" property.

And when tried to bring the volume online:

::> volume online -vserver svm01 -volume flexcache_vol

vol online: Error onlining volume "svm01:flexcache_vol". FlexCache volume "flexcache_vol" in Vserver "svm01" is not in a FlexCache relationship with origin of a FlexCache volume "flexcache_vol". The origin might have been cleaned-up. Use the "volume flexcache delete" command to delete the FlexCache relationship and create a new FlexCache volume using the "volume flexcache create" command.

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.