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. LihP ---------- smb.conf -------------- [global] workgroup = XXX security = DOMAIN log level = 3 syslog = 0 log file = /var/opt/samba/logs/log.%m max log size = 50 os level = 0 preferred master = No local master = No domain master = No wins server = X.X.X.X ldap ssl = no invalid users = root winbind separator = \ idmap uid = 10000-20000 idmap gid = 10000-20000 winbind enum users = yes winbind enum groups = yes template homedir = / template shell = /bin/false socket options = TCP_NODELAY [share] comment = Test Share path = /var/share read only = No create mask = 0664 directory mask = 0775 preserve case = No short preserve case = No hide files = /common/ follow symlinks = No ---------------------------------------------
Hi Carlos, Thanks for your reply. As I stated in originated e-mail, I can transfer files larger than 6GB to the file system, so I don't think it is the file system problem. If the case is file system problem, do you have any idea how I can fix the problem. LihP On 6/15/05, Jo?o Carlos Camera Junior <jcamera@gmail.com> wrote:> the file system can?t read files larger than 2GB. > > Jo?o Carlos Camera Junior > CDZ-Tecnologia Aplicada > -------------------------------- > Linux Registred User # 388936 >
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