Simulator Discussions

volume-create "Unable to find API"

ERIC_LARSON
3,829 Views

Greetings,

I can run "volume-create" when I SSH to my Vsim,  but the command is not available via the SDK, even when using the applications

provided with the SDK:

netapp.manage.NaAPIFailedException: Unable to find API: volume-create (errno=13005)

          at netapp.manage.NaServer.invokeElem(NaServer.java:687)

          at Data_ONTAP.ClusterMode.Java.vserver.vserver.createVolume(vserver.java:220)

          at Data_ONTAP.ClusterMode.Java.vserver.vserver.main(vserver.java:837)

I believe that via the SDK I'm seeing just the APIs listed in the "Cluster-mode" Ontap 1.20 API, which has no "volume-create",

but seeing the "Vserver" Ontap 1.20 API via SSH.  

Is this possible?

How can I create a volume via the SDK?

Thank you,

Eric

1 REPLY 1

kyosung
3,829 Views

If you have a ZExplore, you need the "Use vserver tunneling" check box & vserver name of Advanced manu of ZExplore Connect option.

Hope this help.

Public