メインコンテンツへスキップ

「 percent-used 」の計算は 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