It seems that when Apple rewrote their CIFS implementation in 10.7, they changed something that breaks transfers to Samba. Transferring from Samba is fine, as is OSX <-> Windows, but OSX to Samba specifically fails. This failure falls directly on the 32-bit threshold. We created a test case to duplicate this and have a compressed tcpdump of this occurring. https://www.box.com/s/px40v0lxwiqpz61zfezg Several other people reporting this problem with FreeNAS: http://forums.freenas.org/showthread.php?6003-CIFS-4gb-problem
can you transfer more than 4GiB to/from a Windows host?
Hello Björn, Yes. The the circumstance is specifically writes from OSX Lion to Samba. Read works as expected, as well as reads/writes to Windows from Lion.
Ok, I've taken a look at this log but unfortunately it look like the capturing system ran out of space or capacity to store the packet data. Last reported WriteX packet is frame 6287911, a write of 65471 bytes at offset 4290376006 (0xffb9f146)/ with a mid of 2418. We see the reply to this packet saying the write succeeded at frame 6287913. But after that all your trace shows is WriteX replies, for example at frames 6288009 (mid 2419), 6288105 (mid 2420), but no more WriteX requests are shown. So this log is incomplete and doesn't tell me what is going on. Can you reproduce this in your offices ? If so I can probably visit next week and investigate on site. Jeremy.
Created attachment 8576 [details] test code.. just so I have a record of some test code to try and reproduce.
Turns out this was due to "large readwrite = no" being set in the smb.conf, which makes the MacOSX client think it's talking to a Win9x downlevel server which doesn't do file sizes greater than 32 bit. Removing this and leaving it at the default fixes the problem. Jeremy.