跳转到主内容

新快照自动创建与旧快照自动删除之间的顺序是什么?

Views:
5
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9
  • 卷级Snapshot副本

问题解答

ONTAP会删除最早的快照、然后根据卷的快照策略生成新快照。

追加信息

示例
lccls910102::> snapshot show -volume vol2;date ---Blocks--- Vserver Volume Snapshot Size Total% Used% -------- -------- ------------------------------------- -------- ------ ----- svm91002 vol2 weekly.2023-11-12_0015 1.26MB 1% 80% weekly.2023-11-19_0015 1.21MB 1% 79% daily.2023-11-23_0010 1.16MB 1% 78% daily.2023-11-24_0010 1.12MB 1% 78% hourly.2023-11-24_0905 132KB 0% 28% hourly.2023-11-24_1005 132KB 0% 28% hourly.2023-11-24_1105 132KB 0% 28% hourly.2023-11-24_1205 568KB 1% 63% 5min.2023-11-25_1555 136KB 0% 29% 5min.2023-11-25_1600 1.33MB 1% 80% 5min.2023-11-25_1605 132KB 0% 28% 11 entries were displayed. <<<<<<< Maximum Snapshots for the Schedule of 5min.yyyy-mm-dd_hhmm snapshots is 3. Node Date Time zone --------- ------------------------ ------------------------- lccls910102-01 Sat Nov 25 16:09:59 2023 PRC lccls910102::> snapshot show -volume vol2;date ---Blocks--- Vserver Volume Snapshot Size Total% Used% -------- -------- ------------------------------------- -------- ------ ----- svm91002 vol2 weekly.2023-11-12_0015 1.26MB 1% 85% weekly.2023-11-19_0015 1.21MB 1% 85% daily.2023-11-23_0010 1.16MB 1% 84% daily.2023-11-24_0010 1.12MB 1% 84% hourly.2023-11-24_0905 132KB 0% 37% hourly.2023-11-24_1005 132KB 0% 37% hourly.2023-11-24_1105 132KB 0% 37% hourly.2023-11-24_1205 568KB 1% 72% 5min.2023-11-25_1600 1.33MB 1% 86% 5min.2023-11-25_1605 136KB 0% 38% 10 entries were displayed.                                <<<<<<< The oldest snapshot named 5min.2023-11-25_1555 was deleted firstly. Node Date Time zone --------- ------------------------ ------------------------- lccls910102-01 Sat Nov 25 16:10:00 2023 PRC lccls910102::> snapshot show -volume vol2;date ---Blocks--- Vserver Volume Snapshot Size Total% Used% -------- -------- ------------------------------------- -------- ------ ----- svm91002 vol2 weekly.2023-11-12_0015 1.26MB 1% 79% weekly.2023-11-19_0015 1.21MB 1% 78% daily.2023-11-23_0010 1.16MB 1% 77% daily.2023-11-24_0010 1.12MB 1% 77% hourly.2023-11-24_0905 132KB 0% 28% hourly.2023-11-24_1005 132KB 0% 28% hourly.2023-11-24_1105 132KB 0% 28% hourly.2023-11-24_1205 568KB 1% 62% 5min.2023-11-25_1600 1.33MB 1% 80% 5min.2023-11-25_1605 136KB 0% 28% 5min.2023-11-25_1610 0B 0% 0% 11 entries were displayed.  <<<<<<< The new snapshot named 5min.2023-11-25_1610 was generated later. Node Date Time zone --------- ------------------------ ------------------------- lccls910102-01 Sat Nov 25 16:10:00 2023 PRC
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.