jlemes wrote:
Actually, the nfs mount only fails when I try on Finder, in Terminal I can create, edit and delete files, but once I try on Finder, the nfs mount stuck.
That's not what you said originally. If something fails only in the Finder, that is an entirely different problem.
I assume that the command is for terminal on OS X. The output is empty, because I don't have any shares on my Macbook.
It is for SMB shares. If you only have NFS shares, then it won't show anything. Once you mount an SMB share, with any luck, it will say something like this:
/Users/jdaniel $ smbutil statshares -a
================================================================================ ==================
SHARE ATTRIBUTE TYPE VALUE
================================================================================ ==================
jdaniel
SERVER_NAME gaia
USER_ID 502
SMB_NEGOTIATE SMBV_NEG_SMB1_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB2_ENABLED
SMB_NEGOTIATE SMBV_NEG_SMB3_ENABLED
SMB_VERSION SMB_3.02
SMB_SHARE_TYPE DISK
SIGNING_SUPPORTED TRUE
EXTENDED_SECURITY_SUPPORTED TRUE
LARGE_FILE_SUPPORTED TRUE
CLIENT_REQUIRES_SIGNING TRUE
FILE_IDS_SUPPORTED TRUE
DFS_SUPPORTED TRUE
MULTI_CREDIT_SUPPORTED TRUE
ENCRYPTION_SUPPORTED TRUE
SIGNING_ON TRUE
-------------------------------------------------------------------------------- ------------------
This is from a vanilla Ubuntu 16.04 server. I'm actually surprised to see it setup this nicely. Maybe I did that on purpose and just forgot about it because I rarely mount the server. That is quite likely. But the above is as good as it gets.
Well, I will report this, but first I need learn how to see the log of nfs.
Do "tail -f /var/log/syslog"
Anyway, if you tell me that SMB has a similar performance, I will to probe and learn about. I'll appreciate if you show me where I can start to investigate the advanced configuration of SMB/SAMBA.
I can't really tell you one way or another. I don't really use NFS or SMB. I have worked at places that had decent Active Directory and there certainly wasn't anything slow about SMB. But I can't give you anything more definitive. You mentioned that you had tried SMB and had 40% less throughput. Check that again with smbutil statshares and make sure you are using SMB 3.02 with encryption and signing.
Aside from that, there are literally hundreds of variables at play. What kind of server do you have? What kind of network do you have? Most importantly, why do you want these shares? What are you doing with them? I just turned on NFS on my Linux server to test and I can't see any difference in macOS user experience between NFS and SMB. The Finder seemed to work OK. In my case NFS was horribly slow. I tried to copy a small (13.5 MB) app and gave up after about 3-4 minutes on NFS. It only took a few seconds on SMB. My network isn't very fast though. This was one of the few times I've ever tried NFS. As I've said before, SBM, if properly configured, is very fast.
But there is also a question of what you are trying to do in the Finder. While you can copy files to and from a server in the Finder, I wouldn't suggest ever opening a file on a file server. Certainly never attempt to save. Copy files locally, edit them, then copy them back to the server.