<?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: Aggregate capacity methods are showing different results in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Aggregate-capacity-methods-are-showing-different-results/m-p/103449#M1448</link>
    <description>&lt;P&gt;These results were incorrectly calculated on my end by using the google tool incorrectly. I was converting to TB instead of TiB, which was using the method "&lt;STRONG&gt;1000*1000*1000*1000&lt;/STRONG&gt;" instead of "&lt;STRONG&gt;1024*1024*1024*1024&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to Mike Arndt for this find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2015 17:44:36 GMT</pubDate>
    <dc:creator>ZACH_ANTONAS</dc:creator>
    <dc:date>2015-04-20T17:44:36Z</dc:date>
    <item>
      <title>Aggregate capacity methods are showing different results</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Aggregate-capacity-methods-are-showing-different-results/m-p/103429#M1446</link>
      <description>&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;I'm trying to validate the methods used to calculate aggregate results in 7mode. I have three methods of checking capacity info on aggregates; aggr show_space, ds -Ah, and the ontap API. I executed each of these methods at the same time, and the differences between the results should only be a few MBs off at most (given the use of the volumes and the few seconds it took to run each command). However, each method is showing a few TBs difference (especially when using df -Ah). &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;With that said I have a few questions:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Why are all these methods showing different results? If they should be equal, then what might be causing this difference?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Which filer commands does the aggregate API use for calculating aggr results? If no filer commands are used, then what is the process used by the API to calculate these results?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;How can I properly and accurately calculate aggregate capacity information using the API (excluding WAFL and snapshot reserve)?&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;Are the answers to this question the same in cDOT? If not, what are the differences between these answers in 7mode and cDOT.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;My results are copied below.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;U&gt;&lt;STRONG&gt;aggr1:&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;filer command &amp;gt; aggr show_space:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;UsableTB:&lt;/STRONG&gt; 110.54115880000001&lt;BR /&gt;&lt;STRONG&gt;Allocated TB:&lt;/STRONG&gt; 75.974546336&lt;BR /&gt;&lt;STRONG&gt;Used TB:&lt;/STRONG&gt; 25.0580319&lt;BR /&gt;&lt;STRONG&gt;Avail TB:&lt;/STRONG&gt; 34.564185584&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;filer command &amp;gt; ds -Ah:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Total TB:&lt;/STRONG&gt; 102&lt;BR /&gt;&lt;STRONG&gt;Used TB:&lt;/STRONG&gt; 70TB&lt;BR /&gt;&lt;STRONG&gt;Avail TB:&lt;/STRONG&gt; 32TB&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;aggr API &amp;gt; aggr-list-info:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Total TB:&lt;/STRONG&gt; 113.194146611199997&lt;BR /&gt;&lt;STRONG&gt;Used TB:&lt;/STRONG&gt; 77.800420732928004&lt;BR /&gt;&lt;STRONG&gt;Avail TB:&lt;/STRONG&gt; 35.393725878272001&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;&lt;U&gt;aggr0: &lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;filer command &amp;gt; aggr show_space&lt;/STRONG&gt;:&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Usable TB:&lt;/STRONG&gt; 1.052772952&lt;BR /&gt;&lt;STRONG&gt;Allocated TB:&lt;/STRONG&gt; 0.424975816&lt;BR /&gt;&lt;STRONG&gt;Used TB: &lt;/STRONG&gt;0.014768576&lt;BR /&gt;&lt;STRONG&gt;Avail TB: &lt;/STRONG&gt;0.62420092&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;filer command &amp;gt; ds -Ah:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Total TB: &lt;/STRONG&gt;1.004&lt;BR /&gt;&lt;STRONG&gt;Used TB: &lt;/STRONG&gt;0.408&lt;BR /&gt;&lt;STRONG&gt;Avail TB:&lt;/STRONG&gt; 0.595&lt;BR /&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;aggr API &amp;gt; aggr-list-info:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Total TB: &lt;/STRONG&gt;1.078039502848&lt;BR /&gt;&lt;STRONG&gt;Used TB: &lt;/STRONG&gt;0.438857773056&lt;BR /&gt;&lt;STRONG&gt;Avail TB:&lt;/STRONG&gt; 0.639181729792&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:31:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Aggregate-capacity-methods-are-showing-different-results/m-p/103429#M1446</guid>
      <dc:creator>ZACH_ANTONAS</dc:creator>
      <dc:date>2025-06-05T04:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate capacity methods are showing different results</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Aggregate-capacity-methods-are-showing-different-results/m-p/103449#M1448</link>
      <description>&lt;P&gt;These results were incorrectly calculated on my end by using the google tool incorrectly. I was converting to TB instead of TiB, which was using the method "&lt;STRONG&gt;1000*1000*1000*1000&lt;/STRONG&gt;" instead of "&lt;STRONG&gt;1024*1024*1024*1024&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to Mike Arndt for this find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zach&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2015 17:44:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Aggregate-capacity-methods-are-showing-different-results/m-p/103449#M1448</guid>
      <dc:creator>ZACH_ANTONAS</dc:creator>
      <dc:date>2015-04-20T17:44:36Z</dc:date>
    </item>
  </channel>
</rss>

