跳转到主内容

无法删除快照、并出现错误

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

适用场景

  • ONTAP 9
  • SnapMirror
  • 在 级联环境的集群A (9.8)上手动创建Snapshot:(A->B->C)
  • 然后、同一个快照将传输到集群B (9.8)、并 使用该快照创建一个新卷、然后传输到集群C (9.13)。
  • 将级联设置更改为扇出(A->B & A->C)、因为A和C具有相同的通用快照。

问题描述

  • 即使SnapMirror传输已完成、也无法删除集群A上的快照并显示以下错误:

::*> snapshot delete -vserver <vservername> -volume <volname> -snapshot <snapshotname>
Error: command failed: This Snapshot copy is currently used as a reference Snapshot copy by . 

  • 快照详细信息显示快照属于SnapMirror关系:

    ::*> snapshot show -vserver <vservername> -volume <volname> -snapshot <snapshotname>

   Vserver: <vservername>
   Volume: <volname>
   Snapshot: <snapshotname>
   Snapshot Busy: false
   Physical Snap ID: 525
   Logical Snap ID: 525
   Database Record Owner: snapmirrorDP.a91be97099eeeb11b603d039ea4987c5_2159856287.nonSMDstOwned
   Snapshot Tags: VOPL_owner_snapmirrorDP.a91be97099eeeb11b603d039ea4987c5_2159856287.nonSMDstOwned=snapmirror

  • 如果没有所有者拥有快照、则可以稍后删除该快照:

::*> snapshot show -vserver <vservername> -volume <volname> -snapshot <snapshotname>            
   Snapshot Busy: false
   Physical Snap ID: 525
   Logical Snap ID: 525
   Database Record Owner: -
   Snapshot Tags: -

::*> snapshot delete -vserver <vservername> -volume <volname> -snapshot <snapshotname>
   Warning: Deleting a Snapshot copy permanently removes data that is stored only in that Snapshot copy. Are you sure you want to delete Snapshot copy "<snapshotname>" for volume "<volname>" in Vserver "<vservername>" ? {y|n}: 

 

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.