01-21-2004
Re: ls -l over NFS slow
Quote:
Originally posted by keelba
Has anyone else experienced anything like this?
Yes... there're many causes for slow NFS performance...
Are your nameservice working well on your client ? Can it resolve hostnames with no problem ? Are you using the hostname or the IP address to mount the share ? Try to use the IP address...
Are the machines on the same network ? Check for errors on both the server and the client... use a tool like tcpdump to check for NFS traffic...
9 More Discussions You Might Find Interesting
1. Solaris
:confused:Hi all
When i see in the /var/adm/messages, i saw the following error
unix: NFS write error on host : Stale NFS file handle.
unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49)
It is using sunOS 5.7. Is anybody know what is this error?
Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Following my last post I've mounted the remote server on my local server. However copying files from this mounted server is increadbily slow. If I copy files using rcp it's very fast so I assume there must be a setting somewhere?
Any help appreicated.
Thanks (2 Replies)
Discussion started by: AngryBunny
2 Replies
3. Red Hat
Hi, I facing an NFS problem. I have machine1, which has diskA and diskB, and machine2, both are Mandriva 2009 Linux.
When I am on machine2 and NFS mount both diskA and diskB of machine1. Writing to diskA is very fast, but writing to diskB is very slow. I tried different mount rsize and wsize... (2 Replies)
Discussion started by: hiepng
2 Replies
4. Red Hat
Hi guys,
I am trying something. I wrote a simple shell program to test something where continuous while loop writes on a file over the nfs. The time taken to write "hello" 3000 times take about 10 sec which is not right. Ideally it should take fraction of seconds. If I write on the local disk, it... (1 Reply)
Discussion started by: abhig
1 Replies
5. Solaris
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies
6. Red Hat
Hi All,
I have RHEL 5.6 with a 70GB local directory of Web content. Images, PHP scripts etc.
I need to copy all this content to an NFS array thats mounted on the RHEL server.
I did a baseline cp to copy the content one week ago. Since my baseline copy the local directory has grown by 8GB.... (2 Replies)
Discussion started by: general_lee
2 Replies
7. AIX
Hi,
I have a bit of a NFS problem on AiX 6.1 : When I set the mount to cio and dio - needed for a database app - Everything slows down. The following is copying 700mb, top one is a normal mount bottom one is a mount with the cio/dio option enabled :
# ./a.sh
Wed Jan 11 11:41:24 GMT 2012... (5 Replies)
Discussion started by: AJCG1976
5 Replies
8. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
9. Solaris
Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400)
Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
LEARN ABOUT MOJAVE
nfsstat
NFSSTAT(1) BSD General Commands Manual NFSSTAT(1)
NAME
nfsstat -- display NFS statistics
SYNOPSIS
nfsstat [-cseuv] [-w wait] [-n net|user] [-m [mountpath]]
DESCRIPTION
nfsstat displays statistics kept about NFS client and server activity, active user activity, exported directories, and mount information. In
the absence of any options, nfsstat displays NFS client and server statistics.
The options are as follows:
-c Show NFS client statistics.
-e Show NFS server exported directory statistics.
-m [mountpath]
Show NFS mount information.
-s Show NFS server statistics.
-u Show NFS server active user statistics.
-w wait
Display a shorter summary at wait second intervals.
-n net|user
Show network addresses as numbers, or show users as uid numbers. This option can appear multiple times.
-v Show additional information (if available).
OUTPUT
The data fields that nfsstat displays for each set of statistics are:
Client Information:
Statistics for NFS file system mounts.
RPC Counts
Counts of the RPC calls made to each of the NFS protocol procedures.
RPC Info
Statistics for NFS RPC calls:
TimedOut
RPC calls that timed out, perhaps to a slow or dead server.
Invalid
Invalid RPC replies.
X Replies
RPC replies received that did not have calls pending.
Retries
RPC calls that were retried.
Requests
Total number of RPC calls made.
Cache Info
Statistics on NFS client-side cache performance:
Attr Hits/Misses
Performance of the NFS file attribute cache.
Lkup Hits/Misses
Performance of the directory name lookup cache.
BioR Hits/Misses
Performance of block cache for reads.
BioW Hits/Misses
Performance of block cache for writes.
BioRL Hits/Misses
Performance of symbolic link cache.
BioD Hits/Misses
Performance of directory cache.
DirE Hits/Misses
Performance of directory offset cache.
Server Information:
Statistics for the NFS server.
RPC Counts
Counts of RPC calls on each of the NFS server's procedures are recorded here.
Server Ret-Failed
RPC errors returned by the server.
Server Faults
Errors in the NFS server.
Server Cache Stats
Statistics from the NFS server's RPC duplicate request cache:
Inprog
Calls already in progress.
Idem
Cache hits for idempotent procedures.
Non-idem
Cache hits for non-idempotent procedures.
Misses
Cache Misses.
Server Write Gathering
These statistics describe the efficiency of the NFS server's write gathering feature.
WriteOps
Write operations to disk.
WriteRPC
Write operations received by the server.
Opsaved
Write operations that were gathered (WriteRPC - WriteOps)
NFS Server Exported Directory Information:
Statistics for each exported directory on the NFS server.
NFS Requests
Count of NFS requests processed by an exported directory.
Bytes Read
Count of bytes read from an exported directory.
Bytes Written
Count of bytes written to an exported directory.
NFS Server Active User Information:
List of active NFS users and statistics on the NFS server.
NFS Requests
Count of NFS requests received from an active user.
Bytes Read
Count of bytes read by an active user.
Bytes Written
Count of bytes written by an active user.
Idle
Amount of time an active user has been idle.
User
Name (or uid if -n user was given) of active user.
IP Address
Host name (or network address if -n net was given) of client machine.
NFS Mount Information:
Information about the given NFS mount (or all NFS mounts).
The path mounted on and the server:/path that is mounted.
Mount arguments originally passed in to the mount.
Current mount parameter values and status information.
SEE ALSO
netstat(1), iostat(8), mount_nfs(8), nfsd(8)
HISTORY
The nfsstat command appears in 4.4BSD.
4.4BSD January 11, 2011 4.4BSD