Software Development Kit (SDK) and API Discussions

FlexCache SDK and Volume Size Information

scargill
1,217 Views

Hi all,

 

I have a requirement where when using the FlexCache SDK I need to be able to query the size of the FlexCache volumes. As the FlexCache SDK mirrors commands run on the Cluster themselves, there are no FlexCache specific commands to run to query the Total and Used size of a FlexCache volume.

 

This is of course possible via the Volume resource in order to gather size detail, but the requirement here is to have this in the FlexCache SDK itself, so I was wondering if there's anything else to consider here with the FlexCache SDK for volume sizes, or do I need to simply use the Volume resources at my disposal to get the necessary size info?

 

1 REPLY 1

hmoubara
1,103 Views

Hello @scargill 

 

You should be able to run command " volume flexcache show -instance" which will show you the size of the flexCache volume with some other details. Are you looking for more information regrading the size, like cached data size?

Also, you can check the below kb:

 

https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/FlexCache_volumes_for_ONTAP_9.5_and_higher

 

Thanks 

Public