NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Software Development Kit (SDK) and API Discussions

How to report FlexClone saving using SDK5.2 / cDOT8.2

Michael_Johnson
2,170 Views

I am trying to use the ZAPI SDK to report the status of FlexClones.  I would like ideally to report both the %saving and actual incremental diskspace consumed (new flexclone should be near 0 MB of incremental storage).

 

AI am currently working with the following;

  NetApp Filer sv5-devops-01 running 8.2.1RC2X6 Cluster-Mode system

  netapp-manageability-sdk-5.2.2/lib/perl/

 

I read the "Determining the space used by a FlexClone volume" https://library.netapp.com/ecmdocs/ECMP1368017/html/GUID-868B8B03-C353-4296-B1FC-30AE8154AB87.html 

 

But I found the numbers returned via the API did not match the numbers returned from the vserver command line.  

 

Are there known issues with the SDK and the cDOT version I am using?

 

Can someone tell me exactly which pieces of data I need and how to calculate (if necessary) to determine the FlexClone savings.

 

I have tried

  volume-clone-get-iter

  volume-get-iter

  volume-footprint-get-iter

 

None of these returns values which appear correct.  At this point I am just using the $vol_data->sprintf()  function to dump all the values to compare the values to the I see from the cDOT vserver command line.

 

 

Thanks

-mj

0 REPLIES 0
Public