Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Windows 7: Remote I/O error #89

Open
lmakarov opened this issue Sep 20, 2016 · 1 comment
Open

Windows 7: Remote I/O error #89

lmakarov opened this issue Sep 20, 2016 · 1 comment

Comments

@lmakarov
Copy link
Owner

==> boot2docker: mount: mounting //192.168.10.1/projects on /c/projects failed: Remote I/O error
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
==> boot2docker: The previous process exited with exit code 1.

The following fixes the issue:
http://www.linuxquestions.org/questions/linux-server-73/mount-cifs-cannot-allocate-memory-or-remote-i-o-error-after-data-transfer-4175508385/#post5246812

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache - set it to 1
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size - set it to 3

After updating the following to registry entries SMB mount is working.

Changing the 3rd key (as per the thread linked above) was not necessary, but might help someone, so here it is (create it if it does not exist):

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\IRPStackSize DWORD 0x0000000f (15)
@lmakarov
Copy link
Owner Author

lmakarov commented Oct 7, 2016

Another reference with the same recommendations and details on what those 1 and 3 values mean.
http://serverfault.com/questions/235032/intermittent-connection-to-windows-7-shared-folder-from-windows-xp-workstations/236393#236393

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant