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?
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?