- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 07:12 PM
11-15-2004 07:12 PM
NFS Issue
I am currently having a issue with NFS.
The NFS server is named nfsserver and nfs client is nfsclient for simple reference.
I do not have access to nfsserver but nfsclient I do. I performed a ping of nfsserver and successful.
Currently I am having the following error reported in the dmesg:
NFS server (pid959@/net) not responding still trying
NFS server (pid959@/net) ok
NFS server (pid959@/net) not responding still trying
NFS server (pid959@/net) ok
NFS lookup failed for server nfsserver: RPC: Unable to receive
NFS lookup failed for server nfsserver: RPC: Unable to receive
I am trying to access directory /net on nfsclient which is linked directly to nfsserver.
Please advise me.
thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 07:17 PM
11-15-2004 07:17 PM
Re: NFS Issue
Have a look if there are many retransmissions taking place.
Look at the output of nfsstat.
e.g.
nfsstat -cr
also look at the soft round trip time of your NFS mounts
nfsstat -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 07:22 PM
11-15-2004 07:22 PM
Re: NFS Issue
because you cannot even get RPC through.
Is your DNS name resolution properly working for the NFS server (maybe you lost connection to your DNS server?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 07:35 PM
11-15-2004 07:35 PM
Re: NFS Issue
I performed nslookup nfsserver from nfsclient and is being resolved.
Performed the following command,
#nfsstat -cr
Client rpc:
Connection oriented:
calls badcalls badxids
0 0 0
timeouts newcreds badverfs
0 0 0
timers cantconn nomem
0 0 0
interrupts
0
Connectionless oriented:
calls badcalls retrans
8747634 602 6306
badxids timeouts waits
3521 5603 0
newcreds badverfs timers
0 0 17384
toobig nomem cantsend
0 0 0
bufulocks
0
# nfsstat -m
/tmp_mnt/net/nfsserver/opt from nfsserver:/opt (Addr 16.149.104.101)
Flags: vers=2,proto=udp,auth=unix,soft,intr,dynamic,rsize=8192,wsize=8192,retrans=5
Lookups: srtt= 7 ( 17ms), dev= 3 ( 15ms), cur= 2 ( 40ms)
Reads: srtt= 10 ( 25ms), dev= 4 ( 20ms), cur= 3 ( 60ms)
Writes: srtt= 93 (232ms), dev= 31 (155ms), cur= 27 (540ms)
All: srtt= 7 ( 17ms), dev= 3 ( 15ms), cur= 2 ( 40ms)
/tmp_mnt/net/nfsserver/rls from nfsserver:/rls (Addr 16.149.104.101)
Flags: vers=2,proto=udp,auth=unix,soft,intr,dynamic,rsize=8192,wsize=8192,retrans=5
Lookups: srtt= 7 ( 17ms), dev= 3 ( 15ms), cur= 2 ( 40ms)
Reads: srtt= 7 ( 17ms), dev= 4 ( 20ms), cur= 2 ( 40ms)
Writes: srtt= 23 ( 57ms), dev= 4 ( 20ms), cur= 4 ( 80ms)
All: srtt= 7 ( 17ms), dev= 3 ( 15ms), cur= 2 ( 40ms)
/tmp_mnt/net/nfsserver/home from nfsserver:/home (Addr 16.149.104.101)
Flags: vers=2,proto=udp,auth=unix,soft,intr,dynamic,rsize=8192,wsize=8192,retrans=5
Lookups: srtt= 8 ( 20ms), dev= 6 ( 30ms), cur= 4 ( 80ms)
All: srtt= 8 ( 20ms), dev= 21 (105ms), cur= 11 (220ms)
Query:
Commands run from nfsclient.
- How do I interprete the command nfsstat -cr for retransmission occurence?
- From nfsstat -m, I realised that the /net filesystem is not being displayed. Only displaying /opt,/rls and /home
Thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:15 PM
11-15-2004 08:15 PM
Re: NFS Issue
but related to the total number of calls these seem to me rather neglectable.
However, they might have occured since when your RPC troubles started.
You maybe should reset the nfsstat counters by issueing
nfsstat -z | tee nfsstat_till.$(date +%Y%m%d)
Note, you need to be root on your NFS client to run this command.
Then watch if the counters of retrans and badxids grow.
Meanwhile I highly recommend you read the excellent NFS performance guide from Dave Olker.
He is the HP-UX NFS guru, and will most likely be responding to this post if his time permits
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,952,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:21 PM
11-15-2004 08:21 PM
Re: NFS Issue
Check what the NFS server has eported to your client.
showmount -e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:32 PM
11-15-2004 08:32 PM
Re: NFS Issue
Command run at nfsclient
showmount -e 16.149.104.101
export list for 16.149.104.101:
/home (everyone)
/opt (everyone)
/rls (everyone)
Correct me if I am wrong, looks like /net is not being exported to nfsclient?
Pity I cannot access nfsserver.
thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 08:56 PM
11-15-2004 08:56 PM
Re: NFS Issue
Might be that it was only exported manually and not put in /etc/exports,
and then got lost during a restart of the NFS server maybe due to a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 09:07 PM
11-15-2004 09:07 PM
Re: NFS Issue
These usually get mounted under
/net/
The old automounter is providing the symlinks from /tmp_mnt/net/* to /net/*
So did you really expect an export called 'net', or is it just a clashing of names?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 09:14 PM
11-15-2004 09:14 PM
Re: NFS Issue
Thanks for highlighting. It should be as u mention. Not aspecting /net filesystem to be exported.
As such issue still remains....
So when normally will NFS lookup failed for server nfsserver: RPC: Unable to receive
NFS server (pid959@/net) not responding still trying
NFS server (pid959@/net) ok
Thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 09:21 PM
11-15-2004 09:21 PM
Re: NFS Issue
I can cd to /net/nfsserver/opt,/net/nfsserver/home and /net/nfsserver/rlm and performing listing etc.
But the error message appear always in dmesg.
thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 10:35 PM
11-15-2004 10:35 PM
Re: NFS Issue
at first check whether all nfs server daemons
are running
rpcinfo -p server (either or clinet or server)
rcpbind (portmap), rpc.nfsd, rpc.mountd
if not start them
(on HP-UX is it done via
/sbin/init.d/nfs.core
/sbin/init.d/nfs.server)
on Linux something similar in /usr/sbin
then try mount server via IP (not name)
post results
br Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 10:54 PM
11-15-2004 10:54 PM
Re: NFS Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 05:27 PM
11-18-2004 05:27 PM
Re: NFS Issue
I am checking the following parameter retrans thru the command,
#nfsstat -cr
Client rpc:
Connection oriented:
calls badcalls badxids
0 0 0
timeouts newcreds badverfs
0 0 0
timers cantconn nomem
0 0 0
interrupts
0
Connectionless oriented:
calls badcalls retrans
14469277 786 9902
badxids
timeouts waits
4998 8812 0
newcreds badverfs timers
0 0 25598
toobig nomem cantsend
0 0 0
bufulocks
0
The parameter retrans seemed to have increase from 6000+ to 9000+.
But with regards to performing nfs to the /net there is no problem.
Need your advise./ cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 05:35 PM
11-18-2004 05:35 PM
Re: NFS Issue
# ps -ef |grep rpc
root 948 1 0 Nov 7 ? 0:00 /usr/sbin/rpc.lockd
root 894 1 0 Nov 7 ? 0:00 /usr/sbin/rpcbind
root 942 1 0 Nov 7 ? 0:00 /usr/sbin/rpc.statd
root 1333 1 0 Nov 7 ? 1:13 /opt/dce/sbin/rpcd
root 1740 1 0 Nov 7 ? 0:00 /usr/sbin/rpc.mountd
#ps -ef |grep biod
root 27827 1 0 Nov 18 ? 0:00 /usr/sbin/biod 16
root 27838 1 0 Nov 18 ? 0:00 /usr/sbin/biod 16
root 27832 1 0 Nov 18 ? 0:00 /usr/sbin/biod 16
#ps -ef |grep nfs
root 27891 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 899 0 0 Nov 7 ? 0:00 nfskd
root 27890 1 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27893 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27894 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27895 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27899 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27904 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27905 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27903 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27897 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27900 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27898 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27902 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27901 27890 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27896 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 27889 1 0 Nov 18 ? 0:00 /usr/sbin/nfsd 16
root 27892 27891 0 Nov 18 ? 0:01 /usr/sbin/nfsd 16
root 17320 0 0 Nov 9 ? 0:15 nfsktcpd