07-16-2012
Want to improve the rsize and wsize of nfs mounted drives
Hi
we have couple of nfs mounts between various linux servers. Recently i was wondering how to improve the performance by altering the parameters "msize" and "rsize" for nfs.
In my machine i have determined the
NFSSVC_MAXBLKSIZE_V2 = 8*1024 but kernel 2.6 supports upto 32k
Optimizing NFS Performance
Please help me with below questions
1) Do i need to recompile the kernel to take 32k support
2) Does making it 32k reduces the performance of overall system
Also please let me know if there are any other optimization parameters.
Any help is much appreciated
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to know if there is a command or set of commands that I can run to verify that there are no 'extraneous' nfs mounted filesystems on our server. I didn't see anything in doing a search on NFS.
We think that we may have some filesystems that are still nfs mounted when the link should... (3 Replies)
Discussion started by: giannicello
3 Replies
2. Shell Programming and Scripting
Hello,
I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup.
I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted,... (2 Replies)
Discussion started by: xadamz23
2 Replies
3. Solaris
Hello all,
We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer)..
However in the... (1 Reply)
Discussion started by: itsupplies
1 Replies
4. UNIX Desktop Questions & Answers
Hi!
I'm experiencing some disturbing problems with a machine at work.
I've got about 20 users and of which 15 uses VNC to connect to the machine for working with GNOME. The problem is that after a while it seems like the homedir get some nfs stales or something, gnome processes hangs and so... (0 Replies)
Discussion started by: Esaia
0 Replies
5. Solaris
If I am not a system admin. How can I tell where a particular mounted file is mounted from. (12 Replies)
Discussion started by: Harleyrci
12 Replies
6. Emergency UNIX and Linux Support
Hi
I have a server with a large RAID partition on it.
The raid partition is split into a few directories which are then shared individually via NFS.
Unfortunately the whole array is filling up and I need to do a little bit of juggling till I can upgrade the whole array to new disks.
I... (5 Replies)
Discussion started by: Bashingaway
5 Replies
7. Red Hat
Hi,
I have some filesystem which is nfs mounted and shared to other servers.
Nfs server name= nfsserver (here filesystem is locally mounted)
server name where filesystem is shared = sharedserver1 and sharedserver2
filesystem which is shared = /filesystem1
when i am checking utilization by... (1 Reply)
Discussion started by: anshu ranjan
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have a couple directories in my current working environment. i want to identify the remote mounted shares among them . for example
My current working directory contains folders
dir1 dir2 dir3 ..etc
dir1 is a remote share from server xyx
dir2 and dir3 are local folders
I... (3 Replies)
Discussion started by: rakeshkumar
3 Replies
9. How to Post in the The UNIX and Linux Forums
Hi,
I making a script to check nfs mount and unmount options.
After various findings, i didn't get any solution for that.
Can you please help me in making the script.
1) I have used,
if grep -qs '/var/JETSHARE' /proc/mounts; then
echo "It's mounted."
else
echo "It's not mounted.
... (2 Replies)
Discussion started by: Santosh101
2 Replies
10. HP-UX
Hi,
I have exported a few nfs mounts from one server to the nfs clients.
This is my nfs server dfstab :
# cat /etc/dfs/dfstab
# place share(1M) commands here for automatic execution
# on entering init state 3.
#
# share <pathname>
# .e.g,
# share -F... (3 Replies)
Discussion started by: anaigini45
3 Replies
LEARN ABOUT LINUX
nfsmount.conf
NFSMOUNT.CONF(5) File Formats Manual NFSMOUNT.CONF(5)
NAME
nfsmount.conf - Configuration file for NFS mounts
SYNOPSIS
Configuration file for NFS mounts that allows options to be set globally, per server or per mount point.
DESCRIPTION
The configuration file is made up of multiple sections followed by variables associated with that section. A section is defined by a
string enclosed by [ and ] branches. Variables are assignment statements that assign values to particular variables using the = operator,
as in Proto=Tcp. Sections are broken up into three basic categories: Global options, Server options and Mount Point options.
[ NFSMount_Global_Options ] - This statically named section defines all of the global mount options that can be applied to every NFS mount.
[ Server "Server_Name" ] - This section defines all the mount options that should be used on mounts to a particular NFS server. The
"Server_Name" strings needs to be surrounded by '"' and be an exact match of the server name used in the mount command.
[ MountPoint "Mount_Point" ] - This section defines all the mount options that should be used on a particular mount point. The
"Mount_Point" string needs to be surrounded by '"' and be an exact match of the mount point used in the mount command.
EXAMPLES
These are some example lines of how sections and variables are defined in the configuration file.
[ NFSMount_Global_Options ]
Proto=Tcp
The TCP protocol will be used on every NFS mount.
[ Server "nfsserver.foo.com" ]
rsize=32k
wsize=32k
A 33k (32768 bytes) block size will be used as the read and write size on all mounts to the 'nfsserver.foo.com' server.
[ MountPoint "/export/home" ]
Background=True
All mounts to the '/export/home' export will be performed in the background (i.e. done asynchronously).
FILES
/etc/nfsmount.conf
Default NFS mount configuration file
SEE ALSO
nfs(5), mount(8),
9 Mar 2008 NFSMOUNT.CONF(5)