Jump to content

Unraid SMB settings that "works on my machine"


Recommended Posts

Posted

Hey folks,

 

This thread is full of posts about suggested changes to smb-extra.conf and smb-fruit.conf and reports of conflicting outcomes.  I wanted to create a post with the settings that I'm using that's getting the best results I've seen in some time.

For context, I have a "movies" share that has ~1,000 directories. When I started tweaking stuff, it took ~6-7 minutes to load from the time I connected.  At present I can load that same share in about 10 seconds and get smooth scrolling when looking in Finder (no doubt there is some caching going on).

 

I want to point out that I think the file names smb-extra.conf and smb-fruit.conf are awful, and obscure how they're used. smb-extra.conf has the contents of placed in the `global` section of the samba config, and the contents of smb-fruit.conf are placed in every share section.  So, settings that can go in `[global]` should go in smb-extra.conf and share specific configuration options should go in smb-fruit.conf.

 

With that said, I have the following settings:

 

smb-extra.conf

vfs objects = catia fruit streams_depot
log level = 3 passdb:5 auth:5
min protocol = SMB2
aio read size = 0
aio write size = 0
server multi channel support = yes
interfaces = "192.168.1.32;capability=RSS,speed=1000000000"
fruit:resource = file
fruit:encoding = native
fruit:metadata = stream
fruit:appl = yes

 

smb-fruit.conf

readdir_attr:aapl_rsize = no
readdir_attr:aapl_finder_info = no
readdir_attr:aapl_max_access = no

 

Hope this helps someone!

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...