跳转到主内容

"snapshot show" 中 "total%" 和 "used%" 的含义是什么?

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

适用于

ONTAP 9

问题解答

  •  "total%" 是指父卷中块总数的百分比,可通过 "snapshot size/volume size" 计算得出。
  •  "Used%" 是指父卷中已用块的百分比,可通过 "snapshot size/ ( snapshot size + volume used size ) " 计算得出

示例: 

如何通过 "df -h" 命令确认卷的已用大小并计算 snapshot "used%" 。

fas8300-2n-rtp-1::>snapshot show
svm1
vol1
weekly.2021-02-07_0015                   912KB     0%   10%
weekly.2021-02-14_0015                  4.02MB     0%   32%

fas8300-2n-rtp-1::> df -volume vol1 -vserver svm1 -h
Filesystem               total       used      avail capacity  Mounted on
/vol/vol1/               475GB     8568KB      474GB       0%  ---
/vol/vol1/.snapshot       25GB     6400KB       24GB       0%  ---

912MB/(912KB+8568KB) = approximately 10%
4.02MB/(4.02MB+8568KB) = approximately 32%

其他信息

不适用

 

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.