Samba and the 2-gigabyte limit

Brian Puccio brian at brianpuccio.net
Thu Sep 22 22:18:13 UTC 2005


On Thu, 2005-09-22 at 21:01 +0300, Marius Gedminas wrote:
> Yesterday I discovered that two Ubuntu Hoary machines have problems if I
> try to share a large file (> 2GB) over Samba.  Sequential reads seem to
> work OK, but any seek to an offset > 2^31 gives -EINVAL.

SAMBA overcame the 2GB limit a while ago and shouldn't affect any Ubuntu
users. I came across the same issue myself. Change your fstab to mount
with the lfs option. Google for more, or try reading here:

http://brianpuccio.net/node/664
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050922/3b2011d4/attachment.sig>


More information about the ubuntu-users mailing list