This is a know limitation of the smbfs kernel driver. This can be overcome by using the cifs kernel driver, and mounting using the following syntax: mount -t cifs //smb-server/share /path/to/mount/ -ousername=myuser
Martin Kammerlander wrote: > Hi all > > I'm using Samba version 3.0623 on my rhel3 with kernel 2.4.21 > I mounted a windows partition with the command "smbmount". > Now I have the problem, that I cannot copying files which are larger than 2GB. > > The cp command starts and everything works fine until the 2GB are reached. > Then > the bash gives me the error: "The maximum file size is exceeded" > > > the /var/log/messages file gives the following output: > > Aug 26 10:17:50 mypc kernel: smb_get_length: recv error = 512 > Aug 26 10:17:50 mypc kernel: smb_request: result -512, setting invalid > Aug 26 10:17:50 mypc kernel: smb_retry: caught signal > Aug 26 10:17:50 mypc kernel: smb_retry: caught signal > Aug 26 10:17:51 mypc kernel: smb_retry: successful, new pid=6082, > generation=10 > > What can I do to solve this? > > thanks > martin -- David Sonenberg Systems / Network Administrator Stroz Friedberg, LLC 15 Maiden Lane 15th Floor New York, NY 10038 Tel 212.981.6527 Fax 917.495.4918 This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by any error in transmission. If you have received this message in error, please immediately notify the sender by e-mail or by telephone at 212.981.6540, delete the message and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
