VERITAS File System 4.1 Administrator's Guide

VxFS Performance: Creating, Mounting, and Tuning File Systems
Choosing mount Command Options
Chapter 248
NOTE Applications and utilities such as backup may experience problems if they are
not aware of large files. In such a case, create your file system without large file
capability.
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