Does difference in percent-used calculation depend on ONTAP versions?
Applies to
ONTAP 9
Answer
ONTAP 9.3 or earlier and 9.3.1 or later are different calculations.
Additional Information
- ONTAP 9.3 or earlier calculation of "
percent-used
"
"
percent-used
" = (df used
+ df snapshot reserve
) / (volume size
+ snapshot reserve
)Example:
"
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 or later calculation of "
percent-used
" = "df used percent
"
Example:
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.