[Samba] Writing files > 2GB from Windows

AndyLiebman AndyLiebman at aol.com
Fri May 11 11:21:29 GMT 2007


Can anybody explain why SOME Windows XP applications have trouble 
writing files larger than 2 GB (or sometimes larger than 4 GB) to Linux 
Samba shares, when OTHER Windows applications on the same machine do not 
have  difficulty writing large files to the same Samba share? And when 
the underlying Linux filesystem supports very large files?

I have sometimes even found that a SINGLE Windows application can write 
files larger than 4 GBs while performing SOME operations, but while 
performing OTHER operations, when a file gets to 2GB or 4GB, you get 
back a message saying "reached file size limit" or something similar. 
And those same operations don't cause any trouble when writing > 4GB 
files to a local hard drive.

Is there a setting in smb.conf that can communicate better to Windows 
applications that large file sizes are supported?

Likewise, is there a Windows XP registry setting that can make sure that 
applications know they can write large files to a Samba share?

Help and insight would be appreciated.

Andy Liebman


More information about the samba mailing list