跳转到主内容

是否存在根据 ONTAP 版本计算 " 已用百分比 " 的区别?

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

适用于

ONTAP 9

解答

是, ONTAP 9.3 或更早版本以及 9.3.1 或更高版本的计算方法不同。

其他信息

  • ONTAP 9.3 或更早版本计算 ""percent-used

"percent-used= (df used+ df snapshot reserve) / (volume size + snapshot reserve

示例:

"percent-used= ( 814396 + 4194304 ) / ( 16777216 + 4194304 ) = 23%

ontap93::> vol show -vserver svm1_ontap93 -volume vol1_svm1 -fields percent-used, total ,used, percent-snapshot-space
vserver         volume    total used    percent-used percent-snapshot-space
--------------- --------- ----- ------- ------------ ----------------------
svm1_ontap93-02 vol1_svm1 16GB  795.3MB 23%          20%
 
ontap93-02::> df -vserver svm1_ontap93-02  -volume vol1_svm1
Filesystem              kbytes       used      avail capacity  Mounted on
/vol/vol1_svm1/     16777216     814396   15962820      5%  /vol1_svm1
/vol/vol1_svm1/.snapshot 4194304    12144    4182160 0%  /vol1_svm1/.snapshot
2 entries were displayed.
 
  • ONTAP 9.3.1 或更高版本 "percent-used= " 的计算df used percent"

示例:

ontap97::> vol show -vserver svm1_ontap97 -volume vol1_svm1 -fields percent-used, total ,used, percent-snapshot-space
vserver      volume    total used   percent-used percent-snapshot-space
------------ --------- ----- ------ ------------ ----------------------
svm1_ontap97 vol1_svm1 4GB   1.57GB 39%          20%
 
ontap97::> df -vserver svm1_ontap97 -volume vol1_svm1
Filesystem              kbytes       used      avail capacity  Mounted on
/vol/vol1_svm1/        4194304 1651144    2543160     39%  /vol1_svm1
/vol/vol1_svm1/.snapshot 1048576    24204    1024372       2% /vol1_svm1/.snapshot
2 entries were displayed.

 

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange