FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 06-22-2010, 03:39 PM
"Rui Yan"
 
Default How to increase rsize/wsize on ubuntu server 9.10

Hi,



I failed to mount a nfs share with a bigger rsize/wsize (in my case, 512K) on my Ubuntu 9.10 server box. * The biggest rsize/wsize I can get is only 256KB .



The client and server (in my case, d03 and d04) are directly connected

to a gigabit switch. The MTU is default 1500. *Server and client are

with the same hardware.* Ubuntu 9.10 server version is installed with

default configurations.



root@d03:~# exportfs -v

/tmp * * * * * * *<world>(rw,wdelay,root_squash,no_subtree_check)



root@d04:~# mount -t nfs -o wsize=524288,rsize=524288 d03:/tmp /mnt/nfs



root@d04:~# nfsstat -m

/mnt/nfs from d03:/tmp

Flags: * *rw,relatime,vers=3,rsize=262144,wsize=262144,naml en=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys, mountaddr=10.0.0.3,mountvers=3,mountproto=tcp,addr =10.0.0.3



root@d03:~# uname -a

Linux d03 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009

x86_64 GNU/Linux



root@d03:~# dpkg -l | grep nfs

ii *nfs-common * * * * * * * * * * * *1:1.2.0-2ubuntu8

NFS support files common to client and serve

ii *nfs-kernel-server * * * * * * * * 1:1.2.0-2ubuntu8

support for NFS kernel server



According to NFS-HOWTO, I have checked the kernel const

NFSSVC_MAXBLKSIZE. *It is 1M on 2.6.31.



Any comments will be appreciated!


Regards,

Rui--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org