[Samba] could not copy a file bigger than 1GB

shujane.lee at epiphany.com shujane.lee at epiphany.com
Tue Aug 24 00:04:37 GMT 2004


I have set the ulimit for default user to the following:

default:
        fsize = -1
        core = 2097151
        cpu = -1
        data = -1
        rss = 65536
        stack = 65536
        nofiles = 2000


But it still encountered the same issue.  Is there anything I need to
set on samba's configuration file or AIX kernel?

-Shujane

-----Original Message-----
From: Doug VanLeuven [mailto:roamdad at sonic.net] 
Sent: Monday, August 23, 2004 4:33 PM
To: Shujane Lee
Cc: samba at lists.samba.org
Subject: Re: [Samba] could not copy a file bigger than 1GB
Importance: High

The default file size limit on AIX is 1G out of the box.  Just increase 
fsize expressed in 512k blocks for a user or by "default" to change the 
default behavior to a maximum of 2Gig.  After that you have to specify 
"fsize = -1" which means unlimited.  Then you can write to the capacity 
of the underlying file system.

Regards, Doug

/etc/security/limits
default:
        fsize = 2097151

shujane.lee at epiphany.com wrote:

>Hi,
>
> 
>
>   I have installed Samba 2.2.8 on AIX 5.2 server.  I tried to copy a
>file (around 106 GB) from win2k server to this AIX box.  The "copy"
>process was stop when the file was copied up to 1GB.  Do you know what
>was wrong?  Is there anything I need to set on AIX server site in order
>to transfer large file?
>
> 
>
>-Shujane
>
>  
>


More information about the samba mailing list