Skip to main content

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:
they in first place, however, still there many necessary details missing. peoples can post references here, able put useful together.

in advance contributing.

the default nfs server start/stop script
code:
 /etc/init.d/nfs-kernel-serve
the default parameter in
code:
 /etc/default/nfs-kernel-server
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.

since don't have nfs client has running nfs version, first tuning effort turn off nfsd on version 2 , 3. check
code:
man rpc.nfsd
more details. needed pass
" -n or --no-nfs-version version_number" when execute "rpc.nfsd".

hack this,
code:
  sudo nano /etc/init.d/nfs-kernel-server
find part of
code:
                log_daemon_msg "starting $desc"                 log_progress_msg "nfsd"                 start-stop-daemon --start --oknodo --quiet \                     --nicelevel $rpcnfsdpriority \                     --exec $prefix/sbin/rpc.nfsd --  $rpcnfsdcount                 ret=$?
change
code:
                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=$?
of course, hack, better change introduce new parameter
code:
 /etc/default/nfs-kernel-server
, use in
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

Popular posts from this blog

Warning, the Safe Path is not accessible vm3 - Joomla! Forum - community, help and support

uppercase letters in url - Joomla! Forum - community, help and support

Joomla! Update is not offering Joomla 3 - Joomla! Forum - community, help and support