[Samba] 2GB File on AIX 5.2
Doug VanLeuven
roamdad at sonic.net
Thu Jun 16 08:24:14 GMT 2005
Phil Lihp wrote:
>I'm currently using Samba 3.0.10 binary from Bull AIX Freeware.
>http://www.bullfreeware.com/download/aix52/samba-3.0.10.0.bff
>
>I already configured Samba as a Domain member and ran winbind
>to authenticate with Domain controller. However, I have no luck
>to transfer any file larger than 2GB.
>
>Here is the error from Samba log file
>
>[2005/06/15 14:39:16, 3] smbd/error.c:error_packet(105)
> error string = A file cannot be larger than the value set by ulimit.
>[2005/06/15 14:39:16, 3] smbd/error.c:error_packet(129)
> error packet at smbd/trans2.c(3723) cmd=50 (SMBtrans2) NT_STATUS_DISK_FULL
>
>
>I am sure that the limit of the user is 'unlimited' (-1)
>
>/etc/security/limits
>userx:
> fsize = -1
> fsize_hard = -1
> data = -1
> data_hard = -1
> core = -1
> stack = -1
> core_hard = -1
> stack_hard = -1
>
>The filesystem has been built to support large file; tested by FTP a 6GB file.
>
>Do I miss anything?
>Appreciate to all help.
>
>
Make sure the Bull samba has HAVE_EXPLICIT_LARGEFILE_SUPPORT compiled
in. It probably does, but it can't hurt to check.
smbd -b |grep LARGEFILE
Make sure root doesn't have a ulimit. Either in security/limits or
assigned by profile after login.
Possibly disable AIX sendfile support if it's compiled in. Can't hurt
to try.
use sendfile = no
Regards, Doug
More information about the samba
mailing list