nfs problem between fc2 and ubuntu 5.1

From: holiday (eholiday_at_gmail.com)
Date: 09/29/05


Date: 29 Sep 2005 07:40:15 -0700

I've posted this problem to the ubuntu forums so if you've already seen
this, please forgive me.

I have a user stephen on two linux boxes: a FC2 mongrel Desktop and
a ubuntu 5.1 toshiba laptop. On both boxes stephen is 1000.1000

I'm trying to nfs mount some FC2 directories to the ubuntu laptop, but
am getting
$ Input Output Error
on attempting to list the mounted directories.

This was working with my old FC1 laptop
so I'm fairly confident in the FC2 server setup.

/etc/exports on FC2 server
/home/stephen 192.168.0.101(rw,sync)
/mnt/windows 192.168.0.101(ro,sync)
/usr/local/share 192.168.0.101(rw,sync)

/etc/fstab on ubuntu client
192.168.0.100:/usr/local/share /mnt/sroom/share nfs ro,soft,intr 0 0
192.168.0.100:/mnt/windows /mnt/sroom/windows nfs ro,soft,intr 0 0
192.168.0.100:/home/stephen /home/stephen/sroom nfs rw,soft,intr 0 0

After mounting, the FC2 directories are listed by
the ubuntu mount;

# mount
192.168.0.100:/usr/local/share on /mnt/sroom/share type nfs
(ro,soft,intr,addr=192.168.0.100)
192.168.0.100:/mnt/windows on /mnt/sroom/windows type nfs
(ro,soft,intr,addr=192.168.0.100)
192.168.0.100:/home/stephen on /home/stephen/sroom type nfs
(rw,soft,intr,addr=192.168.0.100)

  the permissions on the mounted directories look wrong:

$ll /home/stephen | grep sroom
drwx------ 92 stephen stephen 12K 2005-09-27 23:21 sroom

and attempting to list a mounted directory gives

$ls /home/stephen/sroom
<hangs until I Ctl-z and then,..>
ls: reading directory /home/stephen/sroom: Input/output error

$dmesg
[12738.055622] nfs warning: mount version older than kernel
[13033.250611] nfs: server 192.168.0.100 not responding, timed out

My ubuntu is up to date.

rpcinfo agrees - both ways, and shows portmapper with identical
entries on both sides.

Perhas a significant diff: rpcinfo on the laptop does not have nfs.

100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32769 nlockmgr
100021 3 tcp 32769 nlockmgr
100021 4 tcp 32769 nlockmgr
100024 1 udp 1005 status
100024 1 tcp 1008 status



Relevant Pages

  • Urgent help with Secure NFS.
    ... have that option - I'm just attempting to tunnel all NFS traffic to the ... 100000 4 tcp 111 rpcbind ... 100000 4 udp 111 rpcbind ... 100021 1 tcp 49153 nlockmgr ...
    (SSH)
  • mount: RPC: Program not registered
    ... Recently i deployed one NFS serverwith three clients, ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100021 1 udp 60364 nlockmgr ...
    (RedHat)
  • mount: RPC: Program not registered
    ... Recently i deployed one NFS serverwith three clients, two ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100021 1 udp 60364 nlockmgr ...
    (RedHat)
  • RE: mount: RPC: Program not registered
    ... Recently i deployed one NFS serverwith three clients, two ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100021 1 udp 60364 nlockmgr ...
    (RedHat)
  • mount: RPC: Program not registered
    ... Recently i deployed one NFS serverwith three clients, ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100021 1 udp 60364 nlockmgr ...
    (comp.os.linux.networking)