LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS configuration (https://www.linuxquestions.org/questions/linux-networking-3/nfs-configuration-434887/)

kazador 04-13-2006 02:35 PM

NFS configuration
 
Hi All,
This will probably be very easy for you to answer.
I am trying to set up NFS Server and Client. (and nis as well.) Here is my basic configuration.
RHEL4
Server: test.rhtest.org 10.10.99.100
client: test1.rhtest.org 10.10.99.101

server
/etc/exports
/home *.rhtest.org(mp,rw)

/etc/hosts.deny
ALL:ALL

/etc/hosts.allow
portmap:.rhtest.org
mountd:.rhtest.org
rquotad:.rhtest.org
lockd:.rhtest.org
statd:.rhtest.org

portmap service is running
nfs service is running

rpcinfo -p shows
portmap
status
rquotad
nfs
nlockmgr
mountd
are up.

I have restarted the services with
service nfs restart
service portmap restart

I have also used exportfs -ra to restart

On the client I added the following

/etc/fstab
test:/home /exprt nfs rsize=8192,wsize=8192,hard,intr,nolock 0 0

/exprt is the local directory I am mounting /home to.

I have manually tried to mount the remote directory using:
#mount -t nfs 10.10.99.100:/home /exprt
and
#mount -a -t nfs

response is:
mount to nfs server "test" failed: server is down.

I am not sure what log to look at for direction and would like to understand what it is I am doing wrong.

As a linux newbie, any help would be greatly appreciated.

Best Regards
and
Thank You in advanced for your help

Steve

baskar_k 04-14-2006 07:25 AM

Hi,
Check whether your network connections are up, try ping from your client to server. If pinging is ok, check any firewall is running on your server. run rpcinfo -p serveripaddress from your client.

Hope this will help you

kazador 04-14-2006 01:41 PM

It's a step in the right direction.
Thanks!

kazador 04-14-2006 05:12 PM

thanks for your help.
The fire wall appears to have been the issues.

Regards
Steve


All times are GMT -5. The time now is 09:38 AM.