<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: &amp;quot;percent-used&amp;quot; (&amp;quot;percentage-size-used&amp;quot;) is calculated differently on differe in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156687#M35416</link>
    <description>&lt;P&gt;I can only answer one portion of your question. I tried it in my lab. The percent-used did change after 9.4.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still have to check on documentation explaining the changes.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;nas-cm92::&amp;gt; version
NetApp Release 9.2P4: Tue May 01 19:23:51 UTC 2018

nas-cm92::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svmroot
vserver  volume  available used  percent-used percent-snapshot-space snapshot-space-used
-------- ------- --------- ----- ------------ ---------------------- -------------------
maliksvm svmroot 18.77MB   232KB 6%           5%                     0%




nas-cm93::&amp;gt; version
NetApp Release 9.3P18: Mon Dec 30 07:28:54 UTC 2019

nas-cm93::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svm_root -vserver mark93
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
mark93  svm_root 18.59MB   420KB 7%           5%                     0%



nas-cm94::&amp;gt; version
NetApp Release 9.4P8: Thu Jul 18 23:52:44 UTC 2019

nas-cm94::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svm_root -vserver vin
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
vin     svm_root 18.54MB   472KB 2%           5%                     0%



nas-cm95::&amp;gt; version
NetApp Release 9.5P10: Fri Dec 13 12:32:27 UTC 2019

nas-cm95::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available -volume svm_root -vserver rob
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
rob     svm_root 18.41MB   604KB 3%           5%                     0%         



nas-cm96::&amp;gt; version
NetApp Release 9.6P8: Sat May 23 16:39:35 UTC 2020

nas-cm96::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svm_root  -vserver cpttko
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
cpttko  svm_root 18.49MB   520KB 2%           5%                     0%         



&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 10:01:40 GMT</pubDate>
    <dc:creator>Mjizzini</dc:creator>
    <dc:date>2020-06-04T10:01:40Z</dc:date>
    <item>
      <title>"percent-used" ("percentage-size-used") is calculated differently on different versions of ONTAP.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156640#M35403</link>
      <description>&lt;P&gt;Hello.&lt;BR /&gt;I have noticed some deviation in value of Volume &lt;EM&gt;"percent-used"&lt;/EM&gt; value for &lt;STRONG&gt;volume show&lt;/STRONG&gt; command on different C-Mode ONTAP versions. It is&amp;nbsp;also true also for ZAPI &lt;STRONG&gt;volume-get-iter&lt;/STRONG&gt;&amp;nbsp;"&lt;EM&gt;percentage-size-used&lt;/EM&gt;" value (which is the same).&lt;BR /&gt;What I have noticed:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;On 8.3 and 9.2 &lt;EM&gt;"percent-used" =&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;(Used data space + Snapshot Reserve Size) / Total Volume size&lt;/SPAN&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;On 9.7 &lt;EM&gt;"percent-used" =&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Used data space / Data sector Size&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, on the latest 9.7 ONTAP calculation made differently.&lt;BR /&gt;Could someone tell from which ONTAP version calculation approach has changed? And point the doc where this is mentioned (because I couldn't find this place at least for now).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:07:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156640#M35403</guid>
      <dc:creator>RazSK</dc:creator>
      <dc:date>2025-06-04T11:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: "percent-used" ("percentage-size-used") is calculated differently on differe</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156649#M35404</link>
      <description>&lt;P&gt;I reviewed the Ontap 9.7 documentation, we still have the same explanation for the field percent-used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-970/volume__show.html" target="_blank"&gt;https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-970/volume__show.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[-percent-used &amp;lt;percent&amp;gt;] - Used Percentage&lt;BR /&gt;If this parameter is specified, the command displays information only about the volume or volumes that have the specified percentage of used space. This row is based on a value of used space that includes the space used by Snapshot copies or the Snapshot reserve (whichever is greater) in relation to the current volume size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can provide more explanations or examples, will help us troubleshoot it further.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 03:24:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156649#M35404</guid>
      <dc:creator>Mjizzini</dc:creator>
      <dc:date>2020-06-03T03:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: "percent-used" ("percentage-size-used") is calculated differently on differe</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156661#M35405</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/47697"&gt;@Mjizzini&lt;/a&gt;&amp;nbsp;. Thank you for prompt response.&lt;BR /&gt;I will try to explain.&lt;BR /&gt;&lt;BR /&gt;I am using&amp;nbsp;&lt;STRONG&gt;volume-get-iter&lt;/STRONG&gt; ZAPI call and use value of&amp;nbsp;&lt;EM&gt;&amp;lt;percentage-size-used&amp;gt;&lt;/EM&gt; from&lt;EM&gt;&amp;nbsp;&amp;lt;volume-space-attributes&amp;gt;&amp;nbsp;&lt;/EM&gt;. As I have noticed on ONTAP 8.3 and 9.2 (I have those two version) I get&amp;nbsp;&lt;EM&gt;percentage-size-used&amp;nbsp;&lt;/EM&gt;as&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;(Used data space + Snapshot Reserve Size) / Total Volume&lt;/EM&gt;&lt;EM&gt; size&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;However for same ZAPI call on ONTAP 9.7 I get value of&amp;nbsp;&lt;EM&gt;percentage-size-used&amp;nbsp;&lt;/EM&gt;as &lt;STRONG&gt;&lt;EM&gt;Used data space / Data sector&lt;/EM&gt; Size.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Then I've tried run &lt;STRONG&gt;volume show&lt;/STRONG&gt; command with &lt;EM&gt;&lt;STRONG&gt;percent-used&lt;/STRONG&gt;&lt;/EM&gt; field on those ONTAP versions and noticed same situation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are examples of output of this command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C-Mode ONTAP&amp;nbsp;8.3RC1. Size of Snapshot reserve 10%. And it is shown as used space (alongside with used data 200kb which is less than 1%):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ONTAP83.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9763i111E9C00E88E76FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="ONTAP83.png" alt="ONTAP83.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The same situation is for ONTAP 9.2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ONTAP92.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9761iD0C82451F67B976A/image-size/large?v=v2&amp;amp;px=999" role="button" title="ONTAP92.png" alt="ONTAP92.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However for ONTAP 9.7 the Snapshot reserve isn't included in this percentage. The value of percent used shows only data utilization (and snapshot &lt;SPAN&gt;spill, but not snapshot reserve size). Utilization is 3% despite Snapshot reserve is 50%:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ONTAP97.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/9762iDB64A92C0E8C4C74/image-size/large?v=v2&amp;amp;px=999" role="button" title="ONTAP97.png" alt="ONTAP97.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I just want to know from which ONTAP version this calculation approach has changed and where this documented.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 07:54:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156661#M35405</guid>
      <dc:creator>RazSK</dc:creator>
      <dc:date>2020-06-03T07:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: "percent-used" ("percentage-size-used") is calculated differently on differe</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156680#M35412</link>
      <description>&lt;P&gt;Are you using logical-space enforcement or reporting anywhere?&amp;nbsp; If so, all bets are off and df will lie to you.&amp;nbsp; I don't know what the APIs will do - agree with df, an NFS host df, or some magical combination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ONTAP CLI shows volume at 56% full with nearly 2TB free.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[6/3/2020 09:32:20] blue::&amp;gt; df -h xxxx_x_xx_xxxx -skip-snapshot-lines&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Filesystem total used avail capacity Mounted on Vserver&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/vol/xxxx_x_xx_xxxx/ 12TB 7421GB 5678GB 56% /xxxx_x_xx_xxxx&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it's actually about 99% full with ~210GB free.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[6/3/2020 09:32:48] blue::&amp;gt; vol show xxxx_x_xx_xxxx -fields is-space-enforcement-logical,is-space-reporting-logical,size,logical-used&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;vserver volume size logical-used is-space-reporting-logical is-space-enforcement-logical&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;------- -------------- ------- ------------ -------------------------- ----------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;xxx xxxx_x_xx_xxxx 12.79TB 12.58TB true true&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;and from NFS:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[17:08 ed.wilts@csi160 ~] &amp;gt; df -hP /xxxx-x/xx_xxxx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Filesystem Size Used Avail Use% Mounted on&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;xxx.xxx.xxx.xxxxxxx.xxx:/xxxx_x_xx_xxxx 13T 13T 213G 99% /xxxx-x/xx_xxxx&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 14:56:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156680#M35412</guid>
      <dc:creator>EWILTS_SAS</dc:creator>
      <dc:date>2020-06-03T14:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: "percent-used" ("percentage-size-used") is calculated differently on differe</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156687#M35416</link>
      <description>&lt;P&gt;I can only answer one portion of your question. I tried it in my lab. The percent-used did change after 9.4.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still have to check on documentation explaining the changes.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;nas-cm92::&amp;gt; version
NetApp Release 9.2P4: Tue May 01 19:23:51 UTC 2018

nas-cm92::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svmroot
vserver  volume  available used  percent-used percent-snapshot-space snapshot-space-used
-------- ------- --------- ----- ------------ ---------------------- -------------------
maliksvm svmroot 18.77MB   232KB 6%           5%                     0%




nas-cm93::&amp;gt; version
NetApp Release 9.3P18: Mon Dec 30 07:28:54 UTC 2019

nas-cm93::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svm_root -vserver mark93
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
mark93  svm_root 18.59MB   420KB 7%           5%                     0%



nas-cm94::&amp;gt; version
NetApp Release 9.4P8: Thu Jul 18 23:52:44 UTC 2019

nas-cm94::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svm_root -vserver vin
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
vin     svm_root 18.54MB   472KB 2%           5%                     0%



nas-cm95::&amp;gt; version
NetApp Release 9.5P10: Fri Dec 13 12:32:27 UTC 2019

nas-cm95::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available -volume svm_root -vserver rob
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
rob     svm_root 18.41MB   604KB 3%           5%                     0%         



nas-cm96::&amp;gt; version
NetApp Release 9.6P8: Sat May 23 16:39:35 UTC 2020

nas-cm96::&amp;gt; vol show -fields percent-used,percent-snapshot-space,used,snapshot-space-used,available  -volume svm_root  -vserver cpttko
vserver volume   available used  percent-used percent-snapshot-space snapshot-space-used
------- -------- --------- ----- ------------ ---------------------- -------------------
cpttko  svm_root 18.49MB   520KB 2%           5%                     0%         



&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 10:01:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156687#M35416</guid>
      <dc:creator>Mjizzini</dc:creator>
      <dc:date>2020-06-04T10:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: "percent-used" ("percentage-size-used") is calculated differently on differe</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156688#M35417</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/3227"&gt;@EWILTS_SAS&lt;/a&gt;&amp;nbsp;. Thanks for the reply.&lt;BR /&gt;In my case both&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;is-space-reporting-logical&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;is-space-enforcement-logical&lt;/STRONG&gt; are &lt;STRONG&gt;false&lt;/STRONG&gt;. Even if turn them to trues&amp;nbsp;- usage percent remains the same. I read that it in that case space, saved by the storage efficiency features calculates as used space, but not Snapshot reserve.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 10:32:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156688#M35417</guid>
      <dc:creator>RazSK</dc:creator>
      <dc:date>2020-06-04T10:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: "percent-used" ("percentage-size-used") is calculated differently on differe</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156689#M35418</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/47697"&gt;@Mjizzini&lt;/a&gt;&amp;nbsp;. Many thanks for this investigation.&lt;BR /&gt;And, yes, it will be great to find place in documentation where this changes is described.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 10:34:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/quot-percent-used-quot-quot-percentage-size-used-quot-is-calculated-differently/m-p/156689#M35418</guid>
      <dc:creator>RazSK</dc:creator>
      <dc:date>2020-06-04T10:34:20Z</dc:date>
    </item>
  </channel>
</rss>

