Re: 4GB file size limit on SMBFS

From: Urban Widmark (
Date: Wed Dec 12 2001 - 13:18:48 EST

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

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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:23 EST