Software Development Kit (SDK) and API Discussions



Hi all,

I hope that someone can help me with this.

I am testing an implementation for server-side copy using the NetApp ZAPI from Java.

My use-case is to copy a file from one volume/qtree to another. As I cannot guarantee that the destination already exists (which is demanded by the copyoffload) I am creating an "empty" file like this:

  1. file-write-file (path = destination-file, offset = 0, data = "00")
  2. file-truncate-file (path = destination-file)

After that, the copyoffload-copy-start command starts successfully and it seems to be working, but if I then check progress with a copyoffload-copy-status command I get the following:

<netapp version="1.1">

  <results status="passed">














So, it says "completed", but nevertheless has an error code set (which is ECOL_COPY_INTERNALERROR) and when I stat the target file I get this:

<netapp version="1.1">

  <results status="passed">



















So, what's happening here?

This was with the simulator 8.0.1.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner