NFS newbie question

From: Jeff Heath (jheath1_at_optonline.net)
Date: 01/18/04


Date: 18 Jan 2004 12:06:30 -0800

I'm trying to get NFS to work. When I try to mount the server, I get
the following error message:

[root@Dell-1 /]#mount 192.168.1.104:/home/share /mnt/share
mount: RPC: Port mapper failure - RPC: Unable to receive

I followed the instructions in the LDP Linux NFS howto.

Here's the configuration...

3 machines, all running Red Hat 8, kernel 2.4.18-14
Network address 192.168.1.xxx/255.255.255.0. xxx = 101, 104, 105
I can ping back and forth between the connected machines

192.168.1.104 is the server.

/etc/exports:
/home/share 192.168.1.0/255.255.255.0(rw,no_root_squash)

/etc/hosts.deny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL

/etc/hosts.allow
portmap: 192.168.1.0/255.255.255.0
lockd: 192.168.1.0/255.255.255.0
rquotad: 192.168.1.0/255.255.255.0
mountd: 192.168.1.0/255.255.255.0
statd: 192.168.1.0/255.255.255.0

I manually started portmap, rpc.mountd, rpc.nfsd, rpc.statd, rpc.lockd
and rpc.rquotad on the server.

output of rpcinfo -p
[root@Dell-1 /]# rpcinfo -p
   program vers proto port
    100000 2 tcp 111 portmapper
    100000 2 udp 111 portmapper
    391002 2 tcp 32769 sgi_fam
    100024 1 udp 32773 status
    100024 1 tcp 32790 status
    100011 1 udp 706 rquotad
    100011 2 udp 706 rquotad
    100011 1 tcp 709 rquotad
    100011 2 tcp 709 rquotad
    100003 2 udp 2049 nfs
    100003 3 udp 2049 nfs
    100021 1 udp 32774 nlockmgr
    100021 3 udp 32774 nlockmgr
    100021 4 udp 32774 nlockmgr
    100005 1 udp 32775 mountd
    100005 1 tcp 32793 mountd
    100005 2 udp 32775 mountd
    100005 2 tcp 32793 mountd
    100005 3 udp 32775 mountd
    100005 3 tcp 32793 mountd

On the client, I manually started portmap, rpc.statd, and rpc.lockd.
I tried starting the others listed above thinking that might solve my
problem (it didn't). Output from rpcinfo -p on the client looks
pretty much like above (which is the output from the server).

Does anyone have any suggestions?



Relevant Pages

  • Re: mount.nfs internal error
    ... Whenever I try to mount from a server on my LAN, ... Adding a -o udp to the mount still fails ... Linux does not yet support nfs over IPv6, although rpcbind does support IPv6 queries.) ... 100000 4 tcp 111 portmapper ...
    (comp.os.linux.networking)
  • Re: nfs client does not find nfs server
    ... I can find the server now using YAST after deactivating the firewalls ... mount server reported tcp not available, falling back to udp ... 100003 2 udp 2049 nfs ...
    (comp.os.linux.networking)
  • nfs troubles
    ... I'm having trouble getting NFS set up. ... I have nfs-common and nfs-kernel-server installed on the server and nfs-common installed on the client. ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ...
    (Debian-User)
  • Re: [SLE] nfs nlockmgr
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100005 1 udp 894 mountd ...
    (SuSE)
  • Re: cant nfs mount problem
    ... 100000 2 tcp 111 portmapper ... 100000 2 udp 111 portmapper ... 100005 1 udp 930 mountd ...
    (comp.os.linux.networking)