[CentOS] NFS Mount - RH7.3 Server - CentOS 4.1 Client

Will McDonald wmcdonald at gmail.com
Wed Sep 28 15:39:39 UTC 2005


On 28/09/05, Tom Brown <tom.brown at goodtechnology.com> wrote:
> Just upgrading one of my dev servers - I'm replacing a current box that
> runs 7.3 to one that runs CentOS 4.1
>
> Currently the 7.3 dev box talks to a fileserver also running 7.3 over
> NFS and that works fine. I'm now trying to get the CentOS 4.1 box to
> talk NFS to the 7.3 server.
>
> When i try and mount the NFS share on the CentOS box i get the following
> error
>
> # mount /mnt/cvs
> mount to NFS server 'Server Name' failed: server is down.
>
> Now i know the server is not down as the 7.3 client is connected fine.
> Anyone seen this before or know a work around? Nothing in any logs from
> client or server to give me any hints?

You'll need portmap and nfslock services started on the client at the
absolute minimum. To check run:

chkconfig --list | grep -E 'portmap|nfslock'

If you're mounting by name in /etc/fstab then you should probably have
an entry for the server in /etc/hosts rather than relying on DNS. Can
the client ping the server?

Is the new client machine running iptables or using SELinux? If it's
local firewalling and you want to leave it on NFS can be a pain but
it's do-able with some changes on the server. See:

https://www.redhat.com/archives/fedora-list/2004-November/msg08461.html

and

http://nfs.sourceforge.net/nfs-howto/security.html#CLIENT.SECURITY

You might want to check the iptables and/or TCP Wrappers setup on the
server too. /etc/hosts.allow and /etc/hosts.deny

Will.



More information about the CentOS mailing list