[Samba] 2gb limit & weird filenames

jra at dp.samba.org jra at dp.samba.org
Tue Dec 10 22:04:04 GMT 2002


On Tue, Dec 10, 2002 at 04:58:40PM -0500, Cale Fairchild wrote:
> I have seen the same 2 GB problem on my IRIX running 6.5.17 using an XFS file
> system. I backup my Windows box to our SGI server and the backup file is about
> 5.5GB when finished. This was working fine with samba 2.2.4 but as soon as I
> upgraded to 2.2.7 it stops the transfer at the 2GB limit exactly. The function
> which throws the error is smbd/fileio.c seek_file and I checked the size of
> the typedef SMB_OFF_T is 8 bytes as it should be but the pos variable toggles
> from +2^13-1 to -2^31 as if somewhere in the chain of calls to that procedure
> it is passed as a int (32 bits) instead of a long (64 bits) on my system. I am
> currently trying to back-track the call stack at that point which is going
> slowly, if anyone has a suggestion on how to quickly do that, aside from
> looking at the code I would appreciate it.

We've fixed this in the CVS code and will be doing a patch release 2.2.7a
shortly to fix it. Sorry for the problem.

Jeremy.



More information about the samba mailing list