<?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 How to report FlexClone saving using SDK5.2 / cDOT8.2 in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-report-FlexClone-saving-using-SDK5-2-cDOT8-2/m-p/103156#M1440</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;I am trying to use the ZAPI SDK to report the status of FlexClones. &amp;nbsp;I would like ideally to report both the %saving and actual incremental diskspace consumed (new flexclone should be near 0 MB of incremental storage).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&lt;SPAN class="s1"&gt;AI am currently working with the following;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; NetApp Filer sv5-devops-01 running 8.2.1RC2X6 Cluster-Mode system&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;netapp-manageability-sdk-5.2.2/lib/perl/&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;I read the "Determining the space used by a FlexClone volume"&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMP1368017/html/GUID-868B8B03-C353-4296-B1FC-30AE8154AB87.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMP1368017/html/GUID-868B8B03-C353-4296-B1FC-30AE8154AB87.html&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;But I found the numbers returned via the API did not match the numbers returned from the vserver command line. &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Are there known issues with the SDK and the cDOT version I am using?&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Can someone tell me exactly which pieces of data I need and how to calculate (if necessary) to determine the FlexClone savings.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;I have tried&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp; volume-clone-get-iter&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp; volume-get-iter&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp; volume-footprint-get-iter&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;None of these returns values which appear correct. &amp;nbsp;At this point I am just using the $vol_data-&amp;gt;sprintf() &amp;nbsp;function to dump all the values to compare the values to the I see from the cDOT vserver command line.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;-mj&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:35:13 GMT</pubDate>
    <dc:creator>Michael_Johnson</dc:creator>
    <dc:date>2025-06-05T04:35:13Z</dc:date>
    <item>
      <title>How to report FlexClone saving using SDK5.2 / cDOT8.2</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-report-FlexClone-saving-using-SDK5-2-cDOT8-2/m-p/103156#M1440</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;I am trying to use the ZAPI SDK to report the status of FlexClones. &amp;nbsp;I would like ideally to report both the %saving and actual incremental diskspace consumed (new flexclone should be near 0 MB of incremental storage).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&lt;SPAN class="s1"&gt;AI am currently working with the following;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; NetApp Filer sv5-devops-01 running 8.2.1RC2X6 Cluster-Mode system&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;netapp-manageability-sdk-5.2.2/lib/perl/&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;I read the "Determining the space used by a FlexClone volume"&amp;nbsp;&lt;A href="https://library.netapp.com/ecmdocs/ECMP1368017/html/GUID-868B8B03-C353-4296-B1FC-30AE8154AB87.html" target="_blank"&gt;https://library.netapp.com/ecmdocs/ECMP1368017/html/GUID-868B8B03-C353-4296-B1FC-30AE8154AB87.html&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;But I found the numbers returned via the API did not match the numbers returned from the vserver command line. &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Are there known issues with the SDK and the cDOT version I am using?&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Can someone tell me exactly which pieces of data I need and how to calculate (if necessary) to determine the FlexClone savings.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;I have tried&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp; volume-clone-get-iter&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp; volume-get-iter&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;&amp;nbsp; volume-footprint-get-iter&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;None of these returns values which appear correct. &amp;nbsp;At this point I am just using the $vol_data-&amp;gt;sprintf() &amp;nbsp;function to dump all the values to compare the values to the I see from the cDOT vserver command line.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;-mj&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:35:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/How-to-report-FlexClone-saving-using-SDK5-2-cDOT8-2/m-p/103156#M1440</guid>
      <dc:creator>Michael_Johnson</dc:creator>
      <dc:date>2025-06-05T04:35:13Z</dc:date>
    </item>
  </channel>
</rss>

