跳转到主内容

Snapshot —更改快照策略可能会导致在下次计划运行时丢失快照

Views:
8
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>ONTAP 9.3</a><a>1005988</a>
Last Updated:

适用场景

  • ONTAP 9.x
  • 集群模式 Data ONTAP 8.3
  • 集群模式 Data ONTAP 8.2

问题描述

更改卷的快照策略时,将显示以下提示:

vol modify -vserver <vserver_name> -volume <volume_name> -snapshot-policy <snapshot_policy_name>

示例:

::> vol modify -vserver smsql -volume smsqlpri -snapshot-policy Newpolicy
Warning: You are changing the Snapshot policy on volume smsqlpri to Newpolicy. Any Snapshot copies on this volume from the previous policy will not be deleted by this new Snapshot policy.
Do you want to continue? {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.