Re: 4GB file size limit on SMBFS

Urban Widmark (urban@teststation.com)
Wed, 12 Dec 2001 19:18:48 +0100 (CET)


On Wed, 12 Dec 2001, Petr Titera wrote:

> Hello,
>
> I tested patches from Urban Wildmark to give SMBFS LFS support and found,
> that limit on file size has only moved from 2GB to 4GB. Is this expected
> behaviour?

I have never tested it vs a NT server with more than 3G of disc, but it's
a 64bit offset so it should be a bit more ... I'll try and dig up a
machine with more space to test with.

It is possible that the readX/writeX SMB is used incorrectly and that
while it does make the low 32 bits be unsigned the top 32 bits are set to
0.

But I have tested it with >4G files on samba servers and that seemed to
work. You did patch smbmount too?

/Urban

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/