Veritas Storage Foundation for Oracle 5.0 Administrator's Guide, HP-UX 11i v3, Second Edition, December 2008
■ size is the size of the new file system (optional)
If you do not specify size, the file system will be as large as the underlying
volume.
For example, to create a VxFS file system that has an 8 KB block size and
supports files larger than 2 GB on the newly created db01 volume:
# /usr/sbin/mkfs -F vxfs -o largefiles,bsize=8192,\
logsize=2000 /dev/vx/rdsk/PRODdg/db01
The -o largefiles specific option allows you to create files larger than 2
GB.
Note: Because size is not specified in this example, the size of the file system
will be calculated automatically to be the same size as the volume on which
the file system is created.
The mkfs command displays output similar to the following:
version 6 layout
20480 sectors, 10240 blocks of size 1024, log size 1024 blocks
You can now mount the newly created file system.
See “Mounting a file system ” on page 58.
Large file system and large file support
In conjunction with VxVM, VxFS can support file systems up to 8 exabytes in size.
For large database configurations, this eliminates the need to use multiple file
systems because of the size limitations of the underlying physical devices.
Changes implemented with the VxFS Version 6 disk layout have greatly expanded
file system scalability, including support for large files. You can create or mount
file systems with or without large files by specifying either the largefiles or
nolargefiles option in mkfs or mount commands. If you specify the nolargefiles
option, a file system cannot contain files 2 GB or larger.
Before creating a VxFS file system, review the following:
■ See the mount_vxfs (1M) and mkfs_vxfs (1M) manual pages for
detailed information on mounting and creating file systems.
■ See the fsadm_vxfs (1M) manual pages for detailed information
about large files.
Usage notes
57Setting up databases
Creating a VxFS file system