nfs problem



Hi,
I have problem on a home network. there is a server and client pc. Both ping
and ssh to each other are ok.
i set up /etc/exports at server as
/data client(rw,root_squash,sync)

when I try to mount this on client, i got error as
mount: RPC: Program not registered

or

can't contact portmapper: RPC: Remote system error - No route to host


at client
/usr/sbin/rpcinfo -p server
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to
host

at server:
/usr/sbin/rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 858 status
100024 1 tcp 861 status
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 43087 nlockmgr
100021 3 tcp 43087 nlockmgr
100021 4 tcp 43087 nlockmgr
300019 1 tcp 734 amd
300019 1 udp 735 amd
100011 1 udp 620 rquotad
100011 2 udp 620 rquotad
100011 1 tcp 623 rquotad
100011 2 tcp 623 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100005 1 udp 633 mountd
100005 1 tcp 636 mountd
100005 2 udp 633 mountd
100005 2 tcp 636 mountd
100005 3 udp 633 mountd
100005 3 tcp 636 mountd

I looked at nfs howto a

thttp://nfs.sourceforge.net/nfs-howto/ar01s07.html#unable_to_mount_fs

it says:

If you get the error *Remote system error - No route to host*, but you can
ping the server correctly, then you are the victim of an overzealous
firewall. Check any firewalls that may be set up, either on the server or on
any routers in between the client and the server. Look at the man pages for
*ipchains*, *netfilter*, and *ipfwadm*, as well as the
IPChains-HOWTO<http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html>and
the
Firewall-HOWTO <http://www.linuxdoc.org/HOWTO/Firewall-HOWTO.html> for help.

where to check the firewall settings?

thanks
Yuan
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • SuSE 10.0 NFS vs. Firewall
    ... I am attempting to get NFS working; both client and server are running ... 3/min burst 5 LOG level warning tcp-options ip-options prefix ... 3/min burst 5 state NEW udp dpt:sunrpc LOG level warning tcp-options ... 3/min burst 5 state NEW tcp dpt:sunrpc LOG level warning tcp-options ...
    (alt.os.linux.suse)
  • Re: Firewall problems with NFS
    ... It seems to only allow use as an NFS client, since that worked fine when I tested it. ... U was surprised to see that TCP with tcp_adv_win_size=5 and rsize=8192 was as fast as UDP, ... 100005 1 udp 841 mountd ...
    (Fedora)
  • 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)
  • Trying to get NFS working with FreeBSD & OS X
    ... NFS client on a Mac OS X box. ... 100000 4 tcp 111 portmapper ... 100000 4 udp 111 portmapper ... 100021 0 udp 617 nlockmgr ...
    (comp.unix.bsd.freebsd.misc)
  • Trouble making NFS work with Mac OS X
    ... NFS client on a Mac OS X box. ... 100000 4 tcp 111 portmapper ... 100000 4 udp 111 portmapper ... 100021 0 udp 617 nlockmgr ...
    (freebsd-net)