跳转到主内容

是否会删除克隆的Snapshot?

Views:
6
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cloud<a>2009-192063</a>
Last Updated:

适用场景

  • ONTAP 9
  • Snapshot
  • 卷克隆

问题解答

不可以、ONTAP 会为克隆的卷创建一个新的Snapshot。尝试删除克隆的卷Snapshot时、ONTAP 将出现错误: 
 
cluster1::> snapshot delete -vserver svm1 -volume vol1 -snapshot clone_clonevol1.2022-06-30_055101.0
 
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
"clone_clonevol1.2022-06-30_055101.0" for volume "clonevol1" in Vserver "svm1" ? {y|n}: y
 
Error: command failed: Snapshot copy "clone_clonevol1.2022-06-30_055101.0" of volume "clonevol1" in Vserver "svm1" has not  expired or is locked. Use the "snapshot show -fields owners, expiry-time" command to view the expiry and lock status of the  Snapshot copy.

追加信息

附加信息 _text
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.