Skip to main content
NetApp Knowledge Base

SCV retention failed: Exception:This Snapshot copy is currently used as a reference Snapshot copy by one or more SnapMirror relationships

Views:
152
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

  • SnapCenter plugin for VMware vSphere (SCV)
  • ONTAP 9

Issue

  • Snapshot retention policy resulting in more snapshots than expected, it is expected retention of 5, but observed 6 snapshots remains on the volume.
  • SCV retention failed: Exception:This Snapshot copy is currently used as a reference Snapshot copy by one or more SnapMirror relationships.
  1. Backup retention start to run:
    - [DBG] Command starts: Remove-NcSnapshot -Volume <volume> -Snapshot <snapshot>
  2. Then it failed as the snapshot was busy (working as a reference for SnapMirror):
    - [ERR] Failed to remove the snapshot <snapshot> on volume <volume>., Exception:This Snapshot copy is currently used as a reference Snapshot copy by one or more SnapMirror relationships. Deleting the Snapshot copy can cause future SnapMirror operations to fail.
    - Error: Remove Snapshot '<snapshot>' failed on volume '<volume>'.
  3. SCV marks the resources as deleted:
    - [INF] Marked resources in backup (<snapshot>) as deleted
  4. The snapshot remains in volume level and can be deleted by force commmand only.

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.