[Samba] Errors with large files

Urban Widmark urban at teststation.com
Thu Feb 28 05:33:07 GMT 2002


On Thu, 28 Feb 2002, Roy Sigurd Karlsbakk wrote:

> >From Win2k, connecting to Samba server, I get 'filesize 0' on files >
> 2^32-1 bytes.
> 
> >From Linux, trying to copy a 5GB file to a Win2k server, I get 'error -
> file too large' at 2^31-1 bytes.

Which client are you using?

smbfs ("smbmount") has a 2G limit unless you patch the kernel and samba.

I believe smbclient does not use the "ReadX" SMBs and thus have a 4G
limit (or 2 if there is some signedness involved).


> I'm running 2.2.1a

I believe 2.2.3 has some fixes for large files on the server side.

/Urban





More information about the samba mailing list