Re: [Samba] Debugging robocopy error 87 - The parameter is incorrect
- Date: Fri, 29 Sep 2017 17:46:06 -0700
- From: Jeremy Allison via samba <samba@xxxxxxxxxxxxxxx>
- Subject: 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:
> 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:
> /X /NDL /S /E /DCOPY:DAT /COPY:DAT /TIMFIX /PURGE /MIR /J /NP /IT /XJD
> /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.
>  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx
> status[NT_STATUS_INVALID_DEVICE_REQUEST] || at
>  <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