跳转到主内容

删除操作如何影响快照占用的磁盘空间

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

适用场景

ONTAP 9

问题解答

通过比较快照的时间戳、只有稍后创建的快照才会占用与已删除数据大小相应的磁盘空间。
注意: 此处的快照还包括SnapMirror基线快照。
 
示例

lccls91001::*> set adv -confirmations off; run local snap status vol4

Volume vol4
snapid  status    date       ownblks release fsRev name
------  ------    ------------   ------- ------- ----- --------
 3    complete   Sep 27 16:05   12913  9.11 44038 snapshot2
  2    complete   Sep 26 16:05     32   9.11 44038 snapshot1
  1    complete   Sep 25 16:05     32   9.11 44038 hourly.2022-09-25_1605


lccls91001::*> snapshot show -volume vol4
                                 ---Blocks---
Vserver  Volume   Snapshot                  Size Total% Used%
-------- -------- ------------------------------------- -------- ------ -----
svm91001 vol4
          hourly.2022-09-25_1605           128KB    0%   50%
          snapshot1                 128KB    0%   50%
          snapshot2                 50.44MB 25%  100%
3 entries were displayed.

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.