NFS copying is too slow on WD MyBookLive

Problem solved. The solution is here:

  1. Make sure you have connected with 1GB/s speed:

     # ethtool eth0 | grep "Speed"
     Speed: 1000Mb/s
    
  2. Edit settings of your NFS server:

     # vi /etc/exports
     /nfs *(rw,all_squash,sync,no_subtree_check,insecure,anonuid=500,anongid=1000)
    

Change the “sync” option to “async” to improve perfomance, than press: Esc, :, w, q, Enter. Restart your NFS server:

    # /etc/init.d/nfs-kernel-server reload

(Discussion was here)

WARNING! ‘Async’ option brings some risk if when NFS-server craches. But I didn’t find how to speed up NFS on MBL other way. So if your power supply is not stable DO NOT USE ‘async’ mode.

3 .Disble some usefull services (optionally).

  # /etc/init.d/netatalk stop
  # /etc/init.d/upnp_nas stop
  # /etc/init.d/mDNSResponder stop
  # /etc/init.d/orion stop

NFS needs portmap. Don’t stop it!
(Discussion was here: here)

Hope it helps others.

2 Likes