This is a follow-up to thread: Tunning Samba for more speed
Hi!
Tried following this to speed up my SMB shares also!
My findings are:
when adding:
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
read raw = yes 1
write raw = yes
max xmit = 65535
dead time = 15
getwd cache = yes
I get some improvements on speed, but not much.
Tried adding "min protocol = smb2" also, but then my Mac (El Capitan) refuses to connect with the error "There was a problem connecting to the server “openmediavault - SMB/CIFS”.". Removing it results in me being able to connect again. But then I see my connection using SMBv1!
US001277:~ odinb$ smbutil statshares -a
==================================================================================================
SHARE ATTRIBUTE TYPE VALUE
==================================================================================================
OMV-Media
SERVER_NAME openmediavault - SMB/CIFS._smb._tcp.local
USER_ID 839448149
SMB_NEGOTIATE AUTO_NEGOTIATE
SMB_VERSION SMB_1
SMB_SHARE_TYPE UNKNOWN
EXTENDED_SECURITY_SUPPORTED TRUE
UNIX_SUPPORT TRUE
LARGE_FILE_SUPPORTED TRUE
CLIENT_REQUIRES_SIGNING TRUE
--------------------------------------------------------------------------------------------------
US001277:~ odinb$
As far as I know, El Capitan should be compatible with smb3 (Poor SMB3 Performance).
I do not have any settings on my Mac to force smbv1 only:
US001277:~ odinb$ cat /etc/nsmb.conf
cat: /etc/nsmb.conf: No such file or directory
US001268677:~ epkodin$ cat ~/Library/Preferences/nsmb.conf
cat: /Users/epkodin/Library/Preferences/nsmb.conf: No such file or directory
US001277:~ odinb$
OMV2.2.5 Stone Burner (which I run) has samba version 3.6.6 installed as far as I can see:
root@openmediavault:/etc# smbstatus
Samba version 3.6.6
PID Username Group Machine
-------------------------------------------------------------------
12892 oder users us001277 (192.168.1.70)
Service pid machine Connected at
-------------------------------------------------------
OMV-Media 12892 us001277 Sun Jul 31 16:40:35 2016
No locked files
root@openmediavault:/etc#
Could it be that SMB2 is not supported fully in Samba 3.6.6? If not, why can I not connect after adding "min protocol = smb2" to OMV?