Oct 27

Advanced!

Apparently there are a a few bugs in OSX when it comes to accessing a network drive. This was really slowing down my Synology NAS which I use to host my video and audio files. To fix it, create the following file in /etc/nsmb.conf

# /etc/nsmb.conf - macOS 10.13 - 2018-05-20
#------------------------------------------------------------------------------
# More information:
# https://support.apple.com/en-us/HT208209
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra
 jbfriedrich/nsmb.conf
#------------------------------------------------------------------------------
[default]

# Use NTFS streams if supported
streams=yes

# Soft mount by default
soft=yes

# Disable signing due to macOS bug
signing_required=no

# Disable directory caching
dir_cache_off=yes

# Lock negotiation to SMB3 only
# 7 == 0111  SMB 1/2/3 should be enabled
# 6 == 0110  SMB 2/3 should be enabled
# 4 == 0100  SMB 3 should be enabled
# 2 ==   SMB2 only
# protocol_vers_map= choose  2 or 4

protocol_vers_map=4

# Turn off notifications
notify_off=yes

Thats it!

If you want to research what all that does, here are the links:

https://support.apple.com/en-gb/HT205926

https://community.synology.com/enu/forum/7/post/119623?page=2&sort=oldest

https://support.apple.com/en-au/HT204021

https://discussions.apple.com/thread/8555715

Leave a Reply

Copyright © 2013 Wayne Connor. All rights reserved. | Hosted on bluehost.com Click here to find out why.
preloadpreloadpreload