URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID14
Нить номер: 687
[ Назад ]

Исходное сообщение
"DOS-ие samba-клиенты периодически отваливаются от сервера"

Отправлено Tzunami , 12-Дек-05 18:48 
2 машины под DOS являются samba-клиентами (samba-2.2.7),коннектятся нормально к расшаренным папкам и какое-то время работают нориально...
но по прошествии случайного кол-ва времени (часы, минуты) на клиенте сообщение:
Network device no longer exists reading drive G:
и приходится либо перегружать машину клинентскую,либо перезапускать скрипты,отетственные за коннект к samba-серверу.
содержимое smb.conf:
[global]
   workgroup = BRAIN
   server string = Samba Server %v [%d]
   printcap name = lpstat
   load printers = yes
   printing = sysv
   log file = /usr/local/samba/var/log.%m
   log level = 2
   max log size = 1024
   security = share
   password level = 0
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = no
   domain master = no
   preferred master = yes
   wins support = yes
   create mode = 0664
   directory mode = 0775
   client code page = 866
[homes]
   comment = Home of %u (%h:%H)
   browseable = no
   writable = yes
   create mask = 0777

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

[share1]
        path = /y1/dir1/
        public = no
        writable = yes
        create mask = 0666

[share2]
        path = /y2/dir2/
        public = no
        writable = yes
        create mask = 0666



Содержание

Сообщения в этом обсуждении
"DOS-ие samba-клиенты периодически отваливаются от сервера"
Отправлено Tzunami , 15-Дек-05 20:08 

>но по прошествии случайного кол-ва времени (часы, минуты) на клиенте сообщение:
>Network device no longer exists reading drive G:

На
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q988...
указано, что "The symptoms of a timeout-related data transfer failure vary depending on the type of process running on the workstation. For example, if you are copying files to/from the server at the MS-DOS command line, one of the following errors may occur:
NET805: Network device no longer exists reading drive H
Abort, Retry, Fail?"
и "You need to remember that if you have a slow link between redirector and server you must increase this "session timeout" on both the redirector (workstation, client) side and the server side. On the redirector side, the session timeout is exposed by means of the sesstimeout parameter."Remember that when you increase this timeout on the redirector, you also normally need to increase the related timeout on the server side. The server side session timeout is exposed by means of serverheuristic 15. The documentation describes this heuristic as "oplock timeout," but does not include the fact that this same heuristic is also used to set  LANMAN.INI file [workstation] sectionthe "session timeout." The heuristic values documented are correct for the oplock timeout, but do not correspond to the values used for the session timeout."
т.е. получается на клиентской DOS-машине надо отредактить файл  LANMAN.INI [workstation] секция, параметр SESSTIMEOUT, а какой параметр необходимо изменить в smb.conf для  server side session timeout?