I'm having a problem copying a file of > 2 GB onto a Samba share.
Here's the setup:
- An external hard drive with a reiserfs partition of c.150 GB (running on Xandros 2.5)
- Above partition set up as a samba share, which I am using from an Ubuntu Edgy client.
- Copying files from the client to the samba share of > 2 GB always stops at exactly 2 GB and says the transfer was terminated unexpectedly. (I'm using Krusader for transfers.)
I haven't seen anything about a 2 GB limit on Samba on the web, although I did see something about a 4 GB limit (which would also be a problem, though I didn't see how to change it). The closest thing I can find to an error is the following from the samba log on the Xandros box:
Code:
[2007/02/06 17:13:43, 0] lib/util_sock.c:read_data(526)
read_data: read failure for 4 bytes to client 192.168.2.5. Error = Connection
reset by peer
I tried using Krusader's ability to split a file and recombine it. This successfully transferred the file, but when I tried to recombine it, it also crashed after building a 2 GB file! This experience suggests that maybe it's a reiserfs problem, but I haven't seem anything about that.
The strangest thing is that I actually have files in this directory of > 5 GB, which I know I must have transferred from the Ubuntu box. Which suggests that neither reiserfs nor samba is the problem.
I can think of a couple of workarounds: try the transfer using ftp, or export the partition using nfs. The latter isn't really an option because I want it to be accessible to Windows computers on my network. The former is possible (I haven't tried yet) but a pain.
Any idea why I'm running into this limit??