LINUX.ORG.RU

mount cifs vs 14kb limit in file transfer


0

0

Всем привет. Такая непонятная штука происходит.

Есть шар на win2003

Если делать mount -t smbfs ..., то все работает без проблем. Но проблема в том, что smbfs не работает с win2003 =)

root@intra:/mnt# umount /mnt/core.x/ umount: /mnt/core.x/: not mounted root@intra:/mnt# mount -t smbfs //core.online.local/MMO /mnt/core.x/ -o iocharset=utf8,codepage=utf8,credentials=/etc/nival/online-samba-credentials cli_negprot: SMB signing is mandatory and we have disabled it. 3779: protocol negotiation failed SMB connection failed

Поэтому делаю:

mount -t cifs //core/MMO /mnt/core.q/ -o iocharset=utf8,codepage=utf8,credentials=/etc/nival/online-samba-credentials

//core/MMO - шар на win2003

Открываю этот маунт через апач2 по http (и https). Вот так: Alias core.q "/mnt/core.q/" <Directory "/mnt/core.q/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Allow from all </Directory>

Все ок, все работает. НО! Когда я пытаюсь скачать файл, каждые 14kb теряется коннет с сервером. Что за твраь такая? Ума не приложу. Как починить, подскажите, плиз.

Ниже привожу лог того, как рвется связь при скачивании файла. Обраите внимание, что через одинаковое количестно kb обрывается (кроме первого раза).

anonymous

Re: mount cifs vs 14kb limit in file transfer

vault:/home/fcl# wget http://intra/core.q/Design/WoWFAQ.doc --16:14:36-- http://intra/core.q/Design/WoWFAQ.doc => `WoWFAQ.doc' Resolving intra... 192.168.10.7 Connecting to intra|192.168.10.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 140,800 (138K) [application/msword]

10% [=========> ] 14,115 --.--K/s

16:14:36 (232.09 MB/s) - Connection closed at byte 14115. Retrying. 21% [++++++++++===========> ] 29,623 --.--K/s

16:14:37 (48.49 MB/s) - Connection closed at byte 29623. Retrying.

32% [++++++++++++++++++++++===========> ] 45,131 --.--K/s

16:14:39 (69.76 MB/s) - Connection closed at byte 45131. Retrying.

43% [++++++++++++++++++++++++++++++++++===========> ] 60,640 --.--K/s

16:14:42 (110.38 MB/s) - Connection closed at byte 60640. Retrying.

vault:/home/fcl# wget http://intra/core.q/Design/WoWFAQ.doc --16:14:44-- http://intra/core.q/Design/WoWFAQ.doc => `WoWFAQ.doc.1' Resolving intra... 192.168.10.7 Connecting to intra|192.168.10.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 140,800 (138K) [application/msword]

11% [==========> ] 15,563 --.--K/s

16:14:44 (163.10 MB/s) - Connection closed at byte 15563. Retrying.

22% [+++++++++++===========> ] 31,071 --.--K/s

16:14:45 (58.46 MB/s) - Connection closed at byte 31071. Retrying.

33% [+++++++++++++++++++++++===========> ] 46,579 --.--K/s

16:14:47 (79.09 MB/s) - Connection closed at byte 46579. Retrying.

44% [+++++++++++++++++++++++++++++++++++===========> ] 62,088 --.--K/s

16:14:50 (35.38 MB/s) - Connection closed at byte 62088. Retrying.

anonymous ()

Re: mount cifs vs 14kb limit in file transfer

vault:/home/fcl# wget http://intra/core.q/Design/WoWFAQ.doc --16:14:52-- http://intra/core.q/Design/WoWFAQ.doc => `WoWFAQ.doc.2' Resolving intra... 192.168.10.7 Connecting to intra|192.168.10.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 140,800 (138K) [application/msword]

11% [==========> ] 15,563 --.--K/s

16:14:52 (231.91 MB/s) - Connection closed at byte 15563. Retrying.

22% [+++++++++++===========> ] 31,071 --.--K/s

16:14:53 (48.02 MB/s) - Connection closed at byte 31071. Retrying.

33% [+++++++++++++++++++++++===========> ] 46,579 --.--K/s

16:14:55 (128.61 MB/s) - Connection closed at byte 46579. Retrying.

44% [+++++++++++++++++++++++++++++++++++===========> ] 62,088 --.--K/s

16:14:58 (91.87 MB/s) - Connection closed at byte 62088. Retrying.

vault:/home/fcl# wget http://intra/core.q/Design/WoWFAQ.doc --16:15:01-- http://intra/core.q/Design/WoWFAQ.doc => `WoWFAQ.doc.3' Resolving intra... 192.168.10.7 Connecting to intra|192.168.10.7|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 140,800 (138K) [application/msword]

11% [==========> ] 15,563 --.--K/s

16:15:01 (247.37 MB/s) - Connection closed at byte 15563. Retrying.

22% [+++++++++++===========> ] 31,071 --.--K/s

16:15:02 (114.65 MB/s) - Connection closed at byte 31071. Retrying.

33% [+++++++++++++++++++++++===========> ] 46,579 --.--K/s

16:15:04 (72.14 MB/s) - Connection closed at byte 46579. Retrying.

44% [+++++++++++++++++++++++++++++++++++===========> ] 62,088 --.--K/s

16:15:07 (89.10 MB/s) - Connection closed at byte 62088. Retrying.

anonymous ()

Re: mount cifs vs 14kb limit in file transfer

А с опциями монтирования играться пробовали? Ну к примеру nobrl добавить.

mount -t cifs //core/MMO /mnt/core.q/ -o nobrl,iocharset=utf8,codepage=utf8,credentials=/etc/nival/online-samba-credentia ls

Или я гоню?

Bebop ★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.