[Samba] Performance issues since upgrading to 3.X to 4.X

Christian Naumer cn at brain-biotech.de
Mon Jul 20 16:28:41 UTC 2020


Have you tried limiting the protocol used to NT1 or smb2?
That would also be a difference with the mentioned version. 

Regards
 

> Am 20.07.2020 um 16:35 schrieb Rowland penny via samba <samba at lists.samba.org>:
> 
> On 20/07/2020 14:53, L.P.H. van Belle via samba wrote:
>> Pretty close to what i have that :
>> 
>> [global]
>>    workgroup = PRIVATE
>>    server string = %h server
>>    log file = /var/log/samba/log.%m
>>    max log size = 1000
>> 
>>    log level = 0
>> ####### Authentication #######
>> ## stand alone everything open.
>>    security = user
>>    guest ok = yes
> Louis, 'guest ok = yes'  in global ??????
>>    map to guest = bad password
>> ## map id's outside to domain to tdb files.
>>    idmap config * : backend = tdb
>>    idmap config BUILTIN : range = 3000-3999
> No, this isn't a domain member, so you do not need the 'idmap config' lines
>> Im using Kodi with above, this is running since ubuntu 12.04, upgraded every lts, now 20.04
>> Always full speed with copying.
>> 
>> Yours,
>>> [global]
>>>     workgroup = DRAGONLAIR
>>>     server string = Samba Server
>>>     server role = standalone server    < remove
> No, don't remove it, or if you do, replace it with 'security = user'
>>>     log file = /usr/local/samba/var/log.%m << that looks like a self compiled Samba install path, i suggest correct it.
>>>     max log size = 50
>>>     server signing = disabled    < remove
>>>     server services = smb    < remove
>>>     dns proxy = no
>> 
>>> [myuser]
>>>          path = /home/myuser
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [virtualbox]
>>>          path = /home/virtualbox
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Video]
>>>          path = /vol0/Video
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Episodes]
>>>          path = /vol0/Episodes
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Vol0]
>>>          path = /vol0
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Vol1]
>>>          path = /vol1
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Vol2]
>>>          path = /vol2
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Vol3]
>>>          path = /vol3
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [Vol4]
>>>          path = /vol4
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> 
>>> [Vol9]
>>>          path = /vol9
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> [VolP]
>>>          path = /volP
>>>          invalid users = root
>>>          valid users = myuser
>>>          read only = no
>>> 
>>> [backup]
>>>          path = /mnt/backup
>>>          invalid users = root
>>>          valid users = myuser
> 
> You will probably speed things up if you remove all the 'invalid users' and 'valid users' lines.
> 
> Rowland
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

-- 
Dr. Christian Naumer
Unit Head Bioprocess Development

B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg
e-mail cn at brain-biotech.com, homepage www.brain-biotech.com
fon +49-6251-9331-30  /   fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Adriaan Moelker (Vorstandsvorsitzender), 
Manfred Bender
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen


More information about the samba mailing list