Ever since I did the Windows 10 Anniversary Update, I've been having issues mounting an external drive plugged into a Windows machine on my network.
//bowser.local/Fire /media/Fire cifs auto,_netdev,comment=systemd.automount,sec=ntlm,uid=cameron,credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0755,dir_mode=0755,defaults 0 0
I get the error:
mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I've searched around and tried a bunch of different options (my options didn't start that long!).
The thing is, it works fine with other shares. I tried sharing
Desktop from the
C drive on Windows just to test and it works fine, so I know it's not bad credentials or that it can't find the PC on the network or something... it appears to be something specific about the external drive? Well, drives... I have two I'm trying to mount and both have this same issue.
If I try the GUI and use "Connect to Server" in Nautilus to comment to
Fire share shows up there, but if I click on it, I get the error:
Unhandled error message: Failed to mount Windows share: Invalid argument
Desktop share works fine.
Don't know if it helps, but on my Mac, going to
Shared > bowser > Fire in Finder works fine, too.
As mentioned, using Windows 10 with the Anniversary Update:
- Windows 10 Enterprise 14393
- Ubuntu 16.04 Desktop
- Mac OS X 10.11.6
Update: Thanks to emk2203's comment, I got a new error trying to connect directly with
tree connect failed: NT_STATUS_INSUFF_SERVER_RESOURCES.
This led to more evidence that it was Windows' fault and a friend suggested I looked in logs. In the Windows logs, I found this error:
The server's configuration parameter "irpstacksize" is too small for the server to use a local device. Please increase the value of this parameter.