Re: nfs client does not find nfs server
- From: "bastian" <bastian4de@xxxxxxxxxxxxxx>
- Date: 15 Mar 2007 18:15:28 -0700
Hello,
I see.
rpcinfo -p on the server
rpcinfo -p <server> on the client
They look the same.
I can find the server now using YAST after deactivating the firewalls
of both computers.
Nontheless I still have a problem:
server:/etc # mount -t nfs linuxserver.site:/ /linuxserver/
mount server reported tcp not available, falling back to udp
mount: RPC: Fehler des entfernten Systems - Keine Route zum
Zielrechner
Well last words are in German meaning:
mount: RPC: Mistake of the remote system - no route to the computer of
destination
server:/etc # rpcinfo -p
Program Vers Proto Port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
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
100024 1 udp 32770 status
100021 1 udp 32770 nlockmgr
100021 3 udp 32770 nlockmgr
100021 4 udp 32770 nlockmgr
100024 1 tcp 45631 status
100021 1 tcp 45631 nlockmgr
100021 3 tcp 45631 nlockmgr
100021 4 tcp 45631 nlockmgr
100005 1 udp 675 mountd
100005 1 tcp 676 mountd
100005 2 udp 675 mountd
100005 2 tcp 676 mountd
100005 3 udp 675 mountd
100005 3 tcp 676 mountd
I have doubts about the nlockmgr and I wonder whether this is good or
bad?
This is my hosts
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 server.site server
192.168.0.126 server.site server
192.168.0.134 linuxserver.site linuxserver
And hosts.allow is:
portmap: 192.168.0.134
Bastian
They should look the same.
Normally you wouldn't have a firewall between an NFS server and its
client(s). While NFS itself uses a predictable port number (2049), as
does RPC (111), some other components do not, so you don't know in advance
what ports to open. NFS isn't secure anyway (there are enhancements in V4
but it's still not that good). NFS is designed to be used within a LAN
type environment where the other machines are reasonably trustworthy and
no firewall is required between them.
I suggest that you open your firewalls on both client and
server so that all traffic between them is permitted. If this is not
acceptable, you should consider whether NFS is the correct solution to
your data sharing requirement.
Regards, Ian
.
- Follow-Ups:
- Re: nfs client does not find nfs server
- From: Mark Hobley
- Re: nfs client does not find nfs server
- References:
- nfs client does not find nfs server
- From: bastian
- Re: nfs client does not find nfs server
- From: Ian Northeast
- Re: nfs client does not find nfs server
- From: bastian
- Re: nfs client does not find nfs server
- From: Ian Northeast
- nfs client does not find nfs server
- Prev by Date: Connecting to the Internet via a USB broadband modem
- Next by Date: Re: Connecting to the Internet via a USB broadband modem
- Previous by thread: Re: nfs client does not find nfs server
- Next by thread: Re: nfs client does not find nfs server
- Index(es):
Relevant Pages
|