Veritas File System 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

VxFS Performance: Creating, Mounting, and Tuning File Systems
Choosing mount Command Options
Chapter 2 35
Creating a File System with Large Files
You can create a file system with large file capability by entering the following command:
# mkfs -F vxfs -o largefiles special_device size
Specifying largefiles sets the largefiles flag, which allows the file system to hold files up to two
terabytes in size. Conversely, the default nolargefiles option clears the flag and prevents large files from
being created:
# mkfs -F vxfs -o nolargefiles special_device size
NOTE The largefiles flag is persistent and stored on disk.
Mounting a File System with Large Files
If a mount succeeds and nolargefiles is specified, the file system cannot contain or create any large
files. If a mount succeeds and largefiles is specified, the file system may contain and create large files.
The mount command fails if the specified largefiles|nolargefiles option does not match the
on-disk flag.
The mount command defaults to match the current setting of the on-disk flag if specified without the
largefiles or nolargefiles option, so it’s best not to specify either option. After a file system is mounted, you
can use the fsadm utility to change the large files option.
Managing a File System with Large Files
You can determine the current status of the largefiles flag using the fsadm command:
# mkfs -F vxfs -m special_device
# fsadm -F vxfs mount_point | special_device
You can switch capabilities on a mounted file system using the fsadm command:
# fsadm -F vxfs -o [no]largefiles mount_point
You can also switch capabilities on an unmounted file system:
# fsadm -F vxfs -o [no]largefiles special_device
You cannot change a file system to nolargefiles if it holds large files.
See the mount_vxfs (1M), fsadm_vxfs (1M), and (1M) manual pages.