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:
file-write-file (path = destination-file, offset = 0, data = "00")
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: