This document addresses the file size limitations and configuration changes that are necessary for writing, uncompressing or creating a file over 2 gigabytes (GB).
The information in this document applies to AIX versions 4.2.1 through 4.3.3.
To view soft limits, enter:
ulimit -a
Information similar to the following should be displayed.
time(seconds) unlimited file(blocks) 2097151 data(kbytes) 131072 stack(kbytes) 32768
Two requirements exist for creating a file over 2GB.
NOTE: If the file system is large file enabled, you may use it as it is. If it is not large file enabled, you cannot use this file system. Choose one of the options below to correct the problem.
/etc/security/limits
Commonly the fsize will be 2097151 in 512k bytes, just over 1GB. If you have a file system that is not large file enabled, then the largest recognized fsize value is 4194302 (or 2GB). After 2GB, the fsize is not scalable and must be set to -1, which equals unlimited. -1 actually allows for the creation of a 64GB file.
Once both the above criteria are met, the user or root user should be able to create a file above 2GB in the specified file system.
Enter the following commands to list the creation of 1, 2 and 3 GB files.
[ Doc Ref: 95642686213294 Publish Date: Aug. 21, 2000 4FAX Ref: none ]