[Samba] [SOLVED] Re: File size limits with samba 3.0.20b and
FreeBSD 5.3
Graham Dunn
gdunn01 at harris.com
Wed Nov 1 19:56:44 GMT 2006
Graham Dunn wrote:
> We're seeing problems with copying files > 2BG to a samba share. Google
> says that, as of 2004, there was a 2GB file size limit in that scenario,
> but I haven't found anything more recent. Is that still the case or am I
> looking at a different problem?
>
> Thanks,
> Graham
>
The problem was seen in samba 3.0.20b, freebsd 5.3.
Logs looked like:
[2006/10/23 11:10:12, 0] locking/posix.c:posix_fcntl_lock(666)
posix_fcntl_lock: WARNING: lock request at offset 29184000, length
61440 retur
ned
[2006/10/23 11:10:12, 0] locking/posix.c:posix_fcntl_lock(667)
an Invalid argument error. This can happen when using 64 bit lock offsets
[2006/10/23 11:10:12, 0] locking/posix.c:posix_fcntl_lock(668)
on 32 bit NFS mounted file systems.
[2006/10/23 11:19:30, 0] locking/posix.c:posix_fcntl_lock(666)
posix_fcntl_lock: WARNING: lock request at offset 16646144, length
32768 retur
ned
[2006/10/23 11:19:30, 0] locking/posix.c:posix_fcntl_lock(667)
an Invalid argument error. This can happen when using 64 bit lock offsets
[2006/10/23 11:19:30, 0] locking/posix.c:posix_fcntl_lock(668)
on 32 bit NFS mounted file systems.
note that this was a local ufs2 filesystem, not an NFS mounted fs.
adding
strict locking = no
has fixed this problem. Not sure if that's a bug, or expected behaviour.
Graham
More information about the samba
mailing list