Skip to main content
NetApp Knowledge Base

SMHV does not delete snapshots when dataset contains more then 2 volumes

Last Updated:

Applies to

SnapManager for Hyper-V (SMHV) 2.1.4P1/P2


  • SMHV is not removing snapshots per retention
  • Backup taking a long time to run
  • Successfully enumerating snapshots, but failing with the error seen in the SMHV job report:
An error occurred while deleting snapshot. continuing with rest of the snapshots(if any)
An item with the same key has already been added.Source: mscorlib
Stack Trace:    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at NetApp.SnapManager.RetentionPolicyHandler.DeleteSnaps(SmSnapList lstSnaps, Dictionary`2& IsMetaDataDelete)

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.