[samba] 1gb

Vlad Alyukov olimpnet на inbox.ru
Чт Апр 21 11:31:46 MSD 2005


Здравствуйте, Samba.

есть два компа соеденены по кросоверу. на обоих машинах гигабитные
сетевухи. на одном win2k на другом

pdc# smbd -V
Version 3.0.7
копирование файла. иёт.. коряво. по началу скорость 15 20 mb/s потом
медленно начинает падать.. до 6. Mb/s прик опирование файла в лог
пишет.


[2005/04/21 14:06:12, 3] smbd/process.c:switch_message(887)
  switch message SMBwriteX (pid 510) conn 0x8385800
[2005/04/21 14:06:12, 3] smbd/reply.c:reply_write_and_X(2599)
  writeX fnum=9383 num=65536 wrote=65536

что делать?
конфиг приведён ниже.
  
pdc# testparm
Load smb config files from /usr/local/etc/smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[Profiles]"
Processing section "[dir-d]"
Processing section "[dir-e]"
Processing section "[dir-f]"
Processing section "[dir-g]"
Processing section "[dir-h]"
Processing section "[dir-e]"
Processing section "[dir-i]"
Processing section "[dir-j]"
Processing section "[dir-k]"
Processing section "[dir-l]"
Processing section "[dir-m]"
Processing section "[dir-n]"
Processing section "[dir-o]"
Processing section "[dir-p]"
Processing section "[dir-q]"
Processing section "[dir-r]"
Processing section "[dir-v]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions


# Global parameters
[global]
        dos charset = CP866
        unix charset = KOI8-R
        display charset = KOI8-R
        workgroup = SIETLAB
        passdb backend = ldapsam:ldapi://%2fvar%2frun%2fopenldap%2fldapi/
        passwd program = /usr/local/sbin/smbldap-passwd -u %u
        passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new password*" %n\n"
        log level = 3
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 100000
        time server = Yes
        delete user script = /usr/local/sbin/smbldap-userdel "%u"
        add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
        delete group script = /usr/local/sbin/smbldap-groupdel "%g"
        add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
        delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"
        set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
        add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
        logon script = login.bat
        logon path = \\%L\Profiles\%U
        logon home = \\%L\%U\.profiles
        domain logons = Yes
        os level = 255
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        ldap admin dn = "cn=root,dc=sietlab,dc=com"
        ldap delete dn = Yes
        ldap group suffix = ou=Groups
        ldap machine suffix = ou=Computers
        ldap passwd sync = Yes
        ldap suffix = dc=sietlab,dc=com
        ldap ssl = no
        ldap user suffix = ou=Users
        utmp = Yes
        admin users = "@Domain Admins"
        case sensitive = No

[homes]
        comment = Home Dir for %U
        read only = No
        create mask = 0660
        directory mask = 0770
        browseable = No

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        read only = No
        guest ok = Yes

[Profiles]
        path = /home/samba/profiles
        valid users = %U, "@Domain Admins"
        read only = No
        create mask = 0600
        directory mask = 0700

[dir-d]
        path = /home/samba/dir-d
        valid users = @dev
        read list = @dev
        write list = @dev
        create mask = 0660
        directory mask = 0770

[dir-e]
        path = /home/samba/dir-e
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-f]
        path = /home/samba/dir-f
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-g]
        path = /home/samba/dir-g
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-h]
        comment = БД
        path = /home/samba/dir-h
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-i]
        path = /home/samba/dir-i
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-j]
        path = /home/samba/dir-j
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-k]
        path = /home/samba/dir-k
        valid users = @adm
        read list = @adm
        write list = @adm
        create mask = 0660
        directory mask = 0770

[dir-l]
        comment = Отдел продаж
        path = /home/samba/dir-l
        valid users = @sales
        read list = @sales
        write list = @sales
        create mask = 0660
        directory mask = 0770

[dir-m]
        path = /home/samba/dir-m
        valid users = @buh
        read list = @buh
        write list = @buh
        create mask = 0660
        directory mask = 0770

[dir-n]
        path = /home/samba/dir-n
        valid users = @dev
        read list = @dev
        write list = @dev
        create mask = 0660
        directory mask = 0770

[dir-o]
        path = /home/samba/dir-o
        valid users = "@Domain Users"
        read list = "@Domain Users"
        write list = "@Domain Users"
        create mask = 0660
        directory mask = 0770

[dir-p]
        comment = Производственный отдел
        path = /home/samba/dir-p
        valid users = @pro
        read list = @pro
        write list = @pro
        create mask = 0660
        directory mask = 0770

[dir-q]
        comment = Производственный отдел
        path = /home/samba/dir-q
        valid users = @pro
        read list = @pro
        write list = @pro
        create mask = 0660
        directory mask = 0770

[dir-r]
        comment = Стройплощадка
        path = /home/samba/dir-r
        valid users = @shop
        read list = @shop
        write list = @shop
        create mask = 0660
        directory mask = 0770

[dir-v]
        comment = Связькомплект-Новосибирск
        path = /home/samba/dir-v
        valid users = @skn
        read list = @skn
        write list = @skn
        create mask = 0660
        directory mask = 0770


-- 
С уважением,
 Vlad                          mailto:olimpnet на inbox.ru



Подробная информация о списке рассылки Samba