LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2017, 11:44 AM   #1
rjmoses
LQ Newbie
 
Registered: May 2017
Posts: 1

Rep: Reputation: Disabled
Mount error(5): Input/output error Resolved


After many trials and tribulations of trying to mount a remote Windows 10 Home file system on an Ubuntu 16.04 resulting in a "mount error(5), Input/output error" message, the problem has been resolved as follows:

Situation:
Linux system running Ubuntu 16.04, kernel 4.4.0.66-generic (call it System-Linux for reference), trying to mount four remote drives hosted on a Windows 10 Home system (call it System-W10 for reference). Three of the drives would mount OK, fourth drive gave error message.

All drives could be mounted from other Windows 10 systems and Windows 7 systems. New mount points could be created and mounted on System-W10 for other Windows-7/10 systems.

Removing all other remote drives and mount points from System-Linux did not solve problem.

Diagnosis:
Check the Windows system event log (Event Viewer--Windows Logs--System) for Event ID 2011, Source srv)

Resolution:
Increase registry entry, IrpStackSize, on the Windows 10 system (System-W10) by 5 (or as necessary if mounting multiple remote Linux drives).

regedit: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/LanmanServer/Parameters

Note: IRPStackSize is case sensitive and may not exist on a Windows system, in which case, it will have to be created.

It appears that each remote Linux mount needs a Irp stack allocation whereas a remote Windows mount does not.

Hope this helps.

Last edited by rjmoses; 05-22-2017 at 04:57 AM.
 
Old 05-23-2017, 11:02 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
please mark your thread [SOLVED] in Thread Tools (menu at top of thread).
thanks.
 
Old 09-25-2017, 10:25 AM   #3
redpenguin2
LQ Newbie
 
Registered: Dec 2009
Posts: 8

Rep: Reputation: 0
Thank You!

Thank you again for this post.

I had this same problem and I have about 8 shares that when I reboot the PC, some would not be mounted and give this error.

After months of just dealing with similar problems including lazy unmounting the shares and rebooting at times, finally shares mount 1-2-3.
 
Old 06-30-2023, 02:03 PM   #4
titaniumlegs
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Check the name of file/dir being created

We ran into NFS err 5 from a Windows NFS server.

In our case, it turns out the application was trying to create a directory with colon : in the name, which Windows doesn't allow. Off error for Windows to throw for that problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount nfs problem: mount(2) Input/Output error, virtual box involved gjatute Linux - Newbie 6 10-23-2012 01:57 PM
mount: Input/output error vkmgeek Linux - Newbie 4 03-10-2011 06:48 PM
mount error 5 input output error cifs suse abhay.asingh Linux - Networking 0 01-19-2010 01:52 AM
Why unable to mount my nas in fstab get "mount error(5) Input/output error fi5ban Linux - Networking 0 04-01-2009 10:42 AM
mount: input/output error? chunlee Linux - Newbie 5 12-26-2004 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration