Microsoft Virtualization Discussions

get-ncsis is not returning full list of volumes

StevePutre
619 Views

I am using the following releases:

PSTK 9.13.1

OnTAP 9.10.1p12

 

Using get-ncsis to list out all volume efficiencies on the cluster works as expected with ONTAPI:

 

get-ncsis -ontapi returns about 400 results (roughly the number of volumes in the cluster).

However, get-ncsis (no options; uses REST) returns only four volumes.  It seems to be the same four volumes every time.

 

On a different cluster (same OnTAP release), the ONTAPI call returns all volumes, but the REST call returns 10 fewer volumes

 

Any idea why this may be happening?

4 REPLIES 4

ddegraaf
562 Views

The REST call to get volumes does not return all of the volumes. 

The following types of volumes are reported:

– RW, DP and LS volumes
– FlexGroup volume
– FlexCache volume
– FlexClone volume
– FlexGroup constituent

The following volumes are not reported:

– DEL and TMP type volume
– Node Root volume
– System Vserver volume
– FlexCache constituent

https://library.netapp.com/ecmdocs/ECMLP2885799/html

See: DOC /storage/volumes

 

Please let me know if that is the reason behind the differences in the volumes reported.

StevePutre
561 Views
No that does not appear to be the issue. There are about 400 volumes in the cluster, of type RW and LS. The ONTAPI version of get-ncsis correctly returns all of them, but the REST version returns only 4 volumes. I am running the cmdlet without any options other than '-ontapi'.


----------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright (c) 2023 Evernorth

ddegraaf
558 Views

Ok, let me reach out to the Powershell Toolkit team and see if they have an answer to this.

AmmarMhowwala
508 Views

Hi Steve  
I attempted to replicate the issue at my environment but, I was unable to do so. Could you please share the debug logs of the cmdlet using  Set-NaToolkitConfiguration  debug ? It will be great help for me to analyze the issue .

Public