Operating System - Linux
1829589 Members
8329 Online
109992 Solutions
New Discussion

how to chek nfs server is service correctly

 
SOLVED
Go to solution
file system
Frequent Advisor

how to chek nfs server is service correctly

Hi all
I have been having problem.
We have storage for NFS, but we have hang from nfs client several times.
which causes for the problem.

1).I want to check the nfs server is ok.
2). nfs client is Ok.

how to guarantee the nfs services on server and client.

3). I wonder if network swtich is connected correctly.

4) how to setup high performance tuning nfs client, server, switch
3 REPLIES 3
Hemmetter
Esteemed Contributor
Solution

Re: how to chek nfs server is service correctly

hi

1) on the server check:
# rpcinfo -p localhost
# showmount -e
# nfsstat -s

2) on the clilent check:
# rpcinfo -p NFSSERVER
# showmount -e NFSSERVER
# nfsstat -c

3) on client + server check network settings:
# ethtool ethX
# netstat -s | egrep -i "error|fail|inval|retrans"

4a) use NFS-over-TCP because some network devices prioritize tcp traffic over udp. And in a high traffic situation udp may be limited in bandwidth by preference tcp.

4b) if possible run nfs over a separate (private) lan apart from the public lan.

rgds
HGH


Alexander Chuzhoy
Honored Contributor

Re: how to chek nfs server is service correctly

Just to clarify that rpcinfo and showmount reside in /usr/sbin (in case you try to execute them not as root).

For optimizations:
http://nfs.sourceforge.net/nfs-howto/ar01s05.html
George Liu_4
Trusted Contributor

Re: how to chek nfs server is service correctly

1).I want to check the nfs server is ok.
rpcinfo -p nfs_server

2). nfs client is Ok.
df any_nfs_mount_pioint

how to guarantee the nfs services on server and client.

Using 1) & 2)

3). I wonder if network swtich is connected correctly.
Neyond nfs question. It is network question

4) how to setup high performance tuning nfs client, server, switch

All depend on what server is and client is.