Jump to content

heppy

Members
  • Posts

    28
  • Joined

  • Last visited

Report Comments posted by heppy

  1. On 10/23/2022 at 1:53 PM, wgstarks said:

    Also, best practice would be to set these configurations in /boot/config/smb-fruit.conf.

    https://forums.unraid.net/bug-reports/prereleases/macos-optimization-r2087

     

    So, if I understand it correctly, I should take those global settings out of smb-extras and put them into the smb-fruit.conf file and I don't need to worry about the [sharename] section as veto isn't working or should I put them in there anyway as it's no harm and eventually smb will be fixed?

     

    also

    Quote

    include = /tmp/unassigned.devices/smb-settings.conf

     

    does that stay in extras? This is already in the smb.conf file

     

    Quote

    # unassigned devices
            include = /etc/samba/smb-unassigned.conf

     Thanks again

     

  2. On 11/22/2021 at 11:05 PM, Maxrad said:

    Below I include my Unraid (Version: 6.10.0-rc1) "Samba extra configuration". This configuration is working  well for me accessing Unraid shares from macOS Monterey 12.0.1

     

    I expect these configuration parameters will work okay for Unraid 6.9.2. The "veto" commands speed-up performance to macOS by disabling Finder features (labels/tags, folder/directory views, custom icons etc.) so you might like to include or exclude these lines per your requirements.

     

    Note, there are problems with samba version 4.15.0 in Unraid 6.10.0-rc2 causing unexpected dropped SMB connections… (behavior like this should be anticipated in pre-release) but fixes expected in future releases.

     

    This configuration is based on a Samba configuration recommended for macOS users from 45Drives here: KB450114 – MacOS Samba Optimization.

     

    #unassigned_devices_start
    #Unassigned devices share includes
       include = /tmp/unassigned.devices/smb-settings.conf
    #unassigned_devices_end
    
    [global]
       vfs objects = catia fruit streams_xattr
       fruit:nfs_aces = no
       fruit:zero_file_id = yes
       fruit:metadata = stream
       fruit:encoding = native
       spotlight backend = tracker
    
    [data01]
       path = /mnt/user/data01
       veto files = /._*/.DS_Store/
       delete veto files = yes
       spotlight = yes

     

    My Unraid share is "data01". Give attention to modifying the configuration for your particular shares (and other requirements). I hope providing this might help others to troubleshoot and optimize SMB for macOS.

    Wow! This is great - almost worked perfectly first time but had a spam of errors in syslog about something I've now forgotten (sigh - phantom or virtual directory for every file in the share) - changed fruit:metadata = stream to fruit:metadata = netatalk and transfer speeds at at max and everthing is great.

×
×
  • Create New...