Web lists-archives.com

Re: [Samba] Debugging robocopy error 87 - The parameter is incorrect

On Wed, Sep 27, 2017 at 08:50:59AM -0400, Maxim Khitrov via samba wrote:
> Hi,
> I have Samba 4.6 running on FreeBSD 11.1 with a ZFS file system.
> Trying to use robocopy to mirror files from Windows 8.1. Most of the
> files are copied without any issues, but a few fail with the following
> error in the robocopy log:
> ERROR 87 (0x00000057) Copying File <path>
> The parameter is incorrect.
> Robocopy is executed with the following options:
> /R:0 /W:30
> Enabling level 3 logging for Samba, this error seems to correspond
> with the following messages:
> [2, class=vfs]   vfswrap_fsctl (0x90284): Currently not implemented.
> [3]   smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1]
> ../source3/smbd/smb2_ioctl.c:309
> [2]   <user> closed file <path> (numopen=2) NT_STATUS_OK

Ah, that is FSCTL_QUERY_FILE_REGIONS, which we don't
implement yet. Until we do, you'll have to experiment
with robocopy options until you find the one that triggers
this FSCTL call.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba