feo-cz / win-sshfs

Fork of http://code.google.com/p/win-sshfs/
BSD 3-Clause "New" or "Revised" License
1.27k stars 125 forks source link

Coping large files to the mounted drive generates error 0x8007013D and unmounts the drive #140

Open rpremuz opened 7 years ago

rpremuz commented 7 years ago

Technical data

WinSshFS

Dokan driver

Enviroment

Support


On MS Windows Server 2012 R2 I installed WinSshFS 1.6.1.13 with Dokany 1.0.2 and MS Visual C++ 2015 Redistributable (v. 14.0.24215).

In WinSshFS I mounted a drive to a Debian 8 server in LAN. Network connection is 1 Gbps on both ends.

In Windows Explorer I tried to copy a large file (a couple of GB) from a local Windows drive to the mounted drive. Copying started with the speed of about 20 MB/s but soon I got the following error: An unexpected error is keeping you from copying the file. ... Error 0x8007013D The system cannot find message text for message number 0x%1 in the message file for %2.

The mounted drive was unmounted after that error.

The issue exists also if I try the copy operation from command line (e.g. with the copy command in cmd.exe) but the error occurs after a longer period of copying, i.e. on larger files (tens of GB).

When I copy small files this issue does not occur.

It is interesting that copying from the mounted drive to a local Windows drive works fine regardless of the file size.

I tested copying large files from MS Windows 7 x64 and Windows 10 x64 machines to the same Debian server and the error did not occur.

Has anyone seen this issue before?

rpremuz commented 7 years ago

I tested this issue with Dokany 1.0.3 and it is still present on MS Windows Server 2012 R2 when copying large files to the drive mounted on a Debian 8 server running OpenSSH Server 6.7p1-5+deb8u3.

Andrei94 commented 4 years ago

Have you tried this? http://windowsbulletin.com/copying-large-files-0x8007013d-error-repair/