smdb warp-around after 4 GB

Jeremy Allison jra at samba.org
Tue Nov 6 07:35:06 GMT 2001


On Tue, Nov 06, 2001 at 03:53:49PM +0100, Andreas Karrer wrote:

> With a w2k client:
>  * ntbackup to a 4.2 GB file on a win2000 share works,
>  * ntbackup to a 4.2 GB file on a samba share results in a corrupted
>       file with the wrap-around near 4 GB,
>  * copying (using "copy" in a cmd window) a local 4.2 GB file to a
>       drive-letter-mounted share from another win2000 machine works,
>  * copying the same file to a samba share shows the wrap-around bug near 4 GB,
>  * the corruption occurs on several samba servers which are capable of
>       handling large files, namely
>        - solaris 8 / ufs
>        - Tru64 Unix 5.0A / advfs
>        - Linux RH 7.1 / kernel 2.4.2 / ext2fs
> 
> So apparently my smbd is not as 64-bit-clean as it should be, but what am
> I doing wrong?

Exactly what form does the corruption take ? I've transferred several
>4GB files between W2k clients and Samba servers as part of the tests
in shipping a release.

Jeremy.




More information about the samba mailing list