Microsoft Virtualization Discussions

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


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



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.