Large file support is available on VxFS filesystems only. By default, the root filesystem is a VxFS filesystem with large files enabled. To check on the status of this support for a filesystem, use the fsadm(ADM) command, as in this example for the root filesystem:
To create a large file aware filesystem, use the -o largefiles option to the mkfs(ADM) command, and specify a blockize of 8192; as in this eaxmple:
mkfs -f vxfs -o largefiles,bsize=8192 /dev/rdsk/c0b0t0d0s4
To add large file support to an existing VxFS file system, use fsadm, as in this eaxmple:
fsadm -f vxfs -o largefiles /myfilesystem
Note that large file support is intended for specialized applications, such as databases. It is not intended for general purpose text files.
For this reason, only a limited set of utilities have been made capable of handle large files (sometimes referred to as being large file aware). Most of these commands are located in /u95/bin, for compatibility reasons: that is, the default versions of these commands (located in /bin, /usr/bin, etc.) must remain the default versions so that legacy applications from earlier releases continue to work properly.
To access the large file aware commands, we recommend that you do not change your PATH variable, but instead use the full pathname of the large file aware commands instead.
The following set of system utilities are large file aware.
With the exception of ftp and scp,
these large file aware commands are located in /u95/bin.
The most notable omissions from the above list are the various Bourne and Korn shells (/bin/sh, /bin/ksh, /u95/bin/sh, /u95/bin/ksh), which are not large file aware. When running one of these shells, shell redirection cannot be used to create or append to files larger than 2GB.
The bash and zsh shells, however, are capable of manipulating files larger than 2GB via shell redirection.
Note that any process that handles large files needs to set the process file size limit using the ulimit command, as follows:
ulimit -f unlimited