View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-10-2006, 08:18 PM   #1
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware 13.37 / Slackware64 14.x
Posts: 107

Rep: Reputation: 17
nfs input/output error

I've finally been able to get my laptop connected to my wireless AP and can now 'see' my desktop system (Slackware 10.1 w/ kernel), so now I am trying to export some directories from my desktop so I can mount them on my laptop.

I've followed the Linux NFS howto, and have successfully been able to get the nfs server running on my desktop, exporting /home (which is it's own partition on the desktop system).
On my laptop I am able to mount the exported directory, but cannot 'see' anything on it.

On my laptop I enter:
> mount /mnt/home
> cd /mnt/home
> ls
ls: reading directory .: Input/output error

So then I decided to try and cd into a directory I know exists in the directory on the desktop:
> cd /mnt/home/myusername
-bash: cd: /mnt/home/myusername: Permission denied

... now, I *am* trying to mount these as 'root' on the laptop, might this be the problem?

Any thoughts?


- skubik.
Old 03-10-2006, 09:04 PM   #2
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
cat /etc/exports
cat /etc/hosts.allow
cat /etc/hosts.deny
mount (with no arguments)
You want to take care that no_root_squash is an option in /etc/exports so that root is not changed to something else. The logs should show some comments about the success of the mount, too.
tail /var/log/messages
Old 03-10-2006, 09:17 PM   #3
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware 13.37 / Slackware64 14.x
Posts: 107

Original Poster
Rep: Reputation: 17

Hooray! I added no_root_squash to my /etc/exports on the desktop, then restarted nfs, remounted on the laptop, and voila! ls works just fine!


- skubik.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM
NFS hangs nfssvc: input/output error kawinter Linux - Networking 3 10-23-2007 11:13 AM
NFS Input/Output error after filesystem mounted problem wahhh Linux - Networking 1 09-06-2004 07:48 PM
Random 'Input/output error' with nfs ggeorgiev Linux - Networking 0 05-26-2004 06:43 PM
Input/Output errors when mv or cp from local machine->NAS device via NFS? Matt@Ants Linux - Networking 2 06-24-2003 01:17 PM

All times are GMT -5. The time now is 10:51 AM.

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