Thread: NFS4 server deployment and tuning up
hello,
had reconstructed home computer network, have 20 computers/devices connected home network, including 12 desktop/laptops, of them running ubuntu , few windows; have iphones, ipads, appletv , hp touchpad joined in network. since there more , more devices added network, thought tuning network better performance. 1 of efforts tuning server deployed on ubuntu platform.
in tread, bring discussion on nfs version 4 server deployment on ubuntu. have opportunity practice , learning. wish have fun here.
have 1 of nfs sever set on ubuntu 10.04 platform, clients running ubuntu 11.04. had searched on internet , forum, there 2 references me in first. are:
https://help.ubuntu.com/community/settingupnfshowto andthey in first place, however, still there many necessary details missing. peoples can post references here, able put useful together.
http://ubuntuforums.org/showthread.php?t=249889
in advance contributing.
the default nfs server start/stop script
the default parameter incode:/etc/init.d/nfs-kernel-serve
the out of box nfs server script staring nfsd daemon support nfs server on version 2,3,4 simultaneously, opinion on killing, waist resource , increasing security risk.code:/etc/default/nfs-kernel-server
since don't have nfs client has running nfs version, first tuning effort turn off nfsd on version 2 , 3. checkmore details. needed passcode:man rpc.nfsd
" -n or --no-nfs-version version_number" when execute "rpc.nfsd".
hack this,
find part ofcode:sudo nano /etc/init.d/nfs-kernel-server
changecode:log_daemon_msg "starting $desc" log_progress_msg "nfsd" start-stop-daemon --start --oknodo --quiet \ --nicelevel $rpcnfsdpriority \ --exec $prefix/sbin/rpc.nfsd -- $rpcnfsdcount ret=$?
of course, hack, better change introduce new parametercode:log_daemon_msg "starting $desc" log_progress_msg "nfsd" start-stop-daemon --start --oknodo --quiet \ --nicelevel $rpcnfsdpriority \ --exec $prefix/sbin/rpc.nfsd -- -n 2 -n 3 $rpcnfsdcount ret=$?, use incode:/etc/default/nfs-kernel-server.code:/etc/init.d/nfs-kernel-serve
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] NFS4 server deployment and tuning up
Ubuntu
Comments
Post a Comment