by drixon » Thu Apr 17, 2014 9:52 pm
Many thanks Kevin39,
Here is what I've done:
I changed a line on the file ‘exports’ from :
(rw,sync,no_root_squash,no_subtree_check)
to
(rw,async,no_root_squash,no_subtree_check)
and then I did as you mentioned above :
/etc/stop-nfs-server
/etc/start-nfs-server
the start command gave me an error :
rpc.nfsd: Setting version failed: errno 22 (Invalid argument)
so I tried this (with -d) :
# /usr/sbin/rpc.nfsd -d
rpc.nfsd: Checking netconfig for visible protocols.
rpc.nfsd: Enabling inet udp.
rpc.nfsd: Enabling inet tcp.
rpc.nfsd: Enabling inet6 udp.
rpc.nfsd: Enabling inet6 tcp.
rpc.nfsd: knfsd is currently up
with the ‘sync’ option I got 2.5Mb/s and with the ‘async’ I can see a 4.5Mb/s which is too little unfortunately
Because with the usual samba (CIFS) I can see more than 10Mb/s.
I did the test by activating NFS services on Windows 7 ultimate (it's on a VM) and transferring a file of 500M to the NAS.
btw, I have a LaCie Cloudbox (white) 4To
Do you think I can get a better speed with any other options?
and is there any risk using the 'async' option in Vmware ESXi environment (I use the NFS as datastore)?
Thank you