跳转到主内容

在将触发器设置为snap reserve时、Snapshot自动删除并不会始终触发

Views:
22
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>2009455386</a>
Last Updated:

适用场景

ONTAP 9

问题描述

  • Snapshot自动删除已将触发器设置为snap_reserve。

Volume name: vol1
      State: online

      Snapshot autodelete settings: state=on, commitment=try,
          trigger=snap_reserve,
          target_free_space=20%,
          delete_order=oldest_first, defer_delete=none,
          prefix=(not specified),
          destroy_list=none
      Volume autosize settings: mode=off

  • snap_预留 利用率超过100%且仍在增加。

::> df -h 
Filesystem         total     used    avail capacity  Mounted on       Vserver
/vol/vol1/ 
              52TB     30TB     21TB    59%  /vol1            vs0
/vol/vol1/.snapshot 
             5939GB     10TB      0B   186% /vol1/.snapshot  

::> df -h 
Filesystem         total     used    avail capacity  Mounted on       Vserver
/vol/vol1/ 
              52TB     30TB     21TB    59%  /vol1            vs0
/vol/vol1/.snapshot 
             5939GB     11TB      0B   191% /vol1/.snapshot  

  • Snapshot自动删除一次触发一个快照删除。在 当前快照删除扫描程序完全完成之前、不会触发新的删除操作。
Tue Jan 31 18:57:01 [node01: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy 'v1.2023-01-25_0300' in volume 'vol1@vserver:a1921cd8-da2f-11eb-9ccc-d039ea319cac' to recover storage.
Tue Jan 31 19:45:49 [node01: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy 'v1.2023-01-26_0300' in volume 'vol1@vserver:a1921cd8-da2f-11eb-9ccc-d039ea319cac' to recover storage.
Tue Jan 31 20:34:53 [node01: snap_helper: wafl.volume.snap.autoDelete:info]: Deleting Snapshot copy 'v1.2023-01-27_0300' in volume 'vol1@vserver:a1921cd8-da2f-11eb-9ccc-d039ea319cac' to recover storage.

 

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.