LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-10-2006, 08:18 PM   #1
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware 10.1
Posts: 100

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/ 2.4.15.1 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 192.168.15.100:/home /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?

Thanks.

- skubik.
 
Old 03-10-2006, 09:04 PM   #2
RobertP
Member
 
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
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware 10.1
Posts: 100

Original Poster
Rep: Reputation: 17
Hooray!

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!

Thanks!

- skubik.
 
  


Reply


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 06:09 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration