Veritas File System 5.0 Administrator's Guide (September 2006)

Creating a file system with large files
To create a file system with a file capability, type the following command:
# mkfs -F vxfs -o largefiles special_device size
Specifying largefiles sets the largefiles flag. This lets the file system to hold
files that are two terabytes or larger. This is the default option.
To clear the flag and prevent large files from being created, type the following
command:
# mkfs -F vxfs -o nolargefiles special_device size
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.
Because the mount command defaults to match the current setting of the on-disk
flag if specified without the largefiles or nolargefiles option, the best practice
is 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
Managing a file system with large files includes the following tasks:
Determining the current status of the large files flag
Switching capabilities on a mounted file system
Switching capabilities on an unmounted file system
To determine the current status of the largefiles flag, type either of the following
commands:
# mkfs -F vxfs -m special_device
# fsadm -F vxfs mount_point | special_device
To switch capabilities on a mounted file system, type the following command;
# fsadm -F vxfs -o [no]largefiles mount_point
VxFS performance: creating, mounting, and tuning file systems
Choosing mount command options
38