To try samba 4, you have to do:
schnapps create "before samba experiments"
opkg update
opkg remove luci-i18n-samba-cs luci-i18n-samba-en luci-app-samba samba36-server samba36-client samba36-hotplug samba36-net
opkg install samba4-admin samba4-client samba4-libs samba4-server samba4-utils luci-app-samba4 luci-i18n-samba4-cs luci-i18n-samba4-en
/etc/init.d/samba4 enable
Use the i18n packages that belong to languages you have installed. It might happen that it is needed to run the first command several times.
Also, to prevent updater errors, create file /etc/updater/conf.d/disable-samba36.lua
containing:
Uninstall("samba36-server", { priority = 60 })
Uninstall("samba36-client", { priority = 60 })
Uninstall("luci-app-samba", { priority = 60 })
Uninstall("luci-i18n-samba-en", { priority = 60 })
Uninstall("luci-i18n-samba-cs", { priority = 60 })
In my settings, CPU also throttles at ~100%, but with transfer speeds betwen 350 and 400 Mbps, I think thatâs expected The test was done by downloading from btrfs-formatted USB3 RAID drive connected to Omnia.
Does anybody have a tip for interesting non-default settings available with samba 4? I read about SMB direct, but havenât figured out how do I enable it (if itâs not by default). Offloading some CPU work would probably allow for even higher speeds.