AIX 4.1.4, 4.1.4.1, & 4.1.5: File Size Limits

I'm interested in moving a database application from an RS-6000 to a Apple Network Server 700. One of my database files, however, is approaching (and will soon exceed) 2 GB in size.

My application support provider informs me that I will require AIX 4.2 or greater in order to handle a file of this size. Is this true or will AIX 4.1.4.X do the job? Is there a patch or do I have to wait to for AIX 4.2 release for the Apple Network Server 700?
The AIX 4.1.4, 4.1.4.1, and 4.1.5 file system data structure is based on the 32-bit addressing scheme, pointers, data blocks, and so on. Therefore 2 to the 31 power which is about 2 GB, is the maximum file size allowed.

The 'ulimit' command can be used to set or examine the resource limits including the file size. The example below, would set the maximum file size to 4,194,304 blocks (512 Bytes/block) which is 2GB, the limit:

ulimit -f 4194304

If you set ulimit -f to this value, the it will show "unlimited" which is the maximum. The default file size is set to 2,097,151 blocks (1 GB).

AIX 4.2 supports 64 bit addressing, and the maximum file size exceeds the 2GB limit. However, Apple has no plans to offer AIX 4.2 for the Network Server.

This article was published in the 14 March 1997 "Information Alley."
Published Date: Feb 18, 2012