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