Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 1998 03:48:56 -0600
From:      allen campbell <allenc@verinet.com>
To:        questions@FreeBSD.ORG
Subject:   Cannot perform NFS mount
Message-ID:  <19980808034856.A3337@verinet.com>

next in thread | raw e-mail | index | archive | help
I have been trying to resolve a problem with NFS and FreeBSD and
I have finally come to the point where I have to ask for help.  I
believe I have covered all of the obvious bases and I have simply
run of ideas.

I wish to perform an NFS mount.  The NFS server in question is
www.caldera.com.  This is a public NFS server.

To make a long story short, I have found that RPC operations fail
when performed as root:

struct> su
Password:
# mount -t nfs rim.caldera.com:/OpenLinux-Lite-1.2 /mnt
NFS Portmap: RPC: Port mapper failure - RPC: Timed out

(... the timeout repeats several times, approx. once a minute.)

# rpcinfo -p rim.caldera.com
rpcinfo: can't contact portmapper: RPC: Remote system error - Operation timed out

(... again the timeout repeats and finally dies)

However, the same RPC operation works fine non-root:

# exit
struct> rpcinfo -p rim.caldera.com
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp   2048  mountd
    100005    2   udp   2048  mountd
    100005    1   tcp   2048  mountd
    100005    2   tcp   2048  mountd
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs

I have configured this host properly: nfs_client_enable,
nfs_server_enable and portmap_enable are all assigned YES in rc.conf.
I have confirmed that mountd, nfsd, mfsiod and portmap are all
running.  The kernel is compiled with NFS support.  I do not have
a firewall interfering.  I am using iijppp with no packet filtering.
When I started this, I was at 2.2.6-RELEASE.  After eliminating
all of the above as the source of the problem, I suspected that an
upgrade might help; I am now at RELENG_2_2 and getting the same
behavior.  In all other ways, this is a trouble free IP host.

I have several FreeBSD hosts on my private Ethernet.  Rpcinfo and
NFS (client and server) work fine on all hosts _within_ my network.
The problem seems to be specific to root processes attempting
non-local RPC communications.

I have confirmed that the NFS server in question does allow public
clients; several people have been able to mount the NFS volume with
Stable systems with no difficulty.  In one case, the other person
was also using iijppp.

BTW, Please forgive the Caldera bit :)  The truth is, I am more
interested in figuring out why the NFS mount is failing than finding
alternative ways of obtaining Caldera.

Thanks in advance for any direction you may provide.

-- 
  Allen Campbell
  allenc@verinet.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980808034856.A3337>