Microsoft Virtualization Discussions

Get-NaCifsSession : Unable to find API: cifs-session-list-iter-start

CHAPLIC123
2,855 Views

I've been using the powershell commandlets against netapps filers to great effect; however one machine it doesn't work. I can connect happilly but if I run a command I get the above error, in detail below.

Any idea what it could be? I have permissions and every other filer I have it runs fine. Version on ontap issue?

PS C:\Users\chaplic> connect-nacontroller fileserver

Name                 Address           Ontapi   Version
----                 -------           ------   -------
fileserver         1.2.3.4      1.7      NetApp Release 7.2.4P4: Mon Feb 11 16:48:06 PST 2008 Multistore

PS C:\Users\!chaplic5.UK> Get-NaCifsSession

Get-NaCifsSession : Unable to find API: cifs-session-list-iter-start

At line:1 char:18

+ Get-NaCifsSession <<<<

    + CategoryInfo          : InvalidOperation: (fileserver:NaController) [Get-NaCifsSession], EAPIERROR

    + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Cifs.GetNaCifsSession

1 REPLY 1

cknight
2,855 Views

Yes, your Data ONTAP version is the issue.  The API in question was present in 7.2, but it wasn't supported by vfilers until 7.3.

Public