4GB file size limit on SMBFS
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?
Petr Titera
[email protected]
Quoted 5 lines · Petr Titera
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?
It is a possible behaviour.
There are no public official documents about how M$ has extended the SMB protocol in various systems. Apparently there are discrepancies even within M$ about how to do those extensions, thus newer M$ systems have more and more tests and work-arounds to handle various extensions.
Quoted 2 lines
Petr Titera
[email protected]
/Matti Aarnio
Quoted 5 lines · Petr Titera
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