Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

See the mkfs(1M) and mkfs_vxfs(1M) manual pages for more
information about the options and variables available for use with
the mkfs command.
See the mount(1M) and mount_vxfs(1M) manual pages for more
information about mount settings.
Usage notes
To create a VxFS file system on an existing volume
Use the mkfs command as follows:
# /usr/sbin/mkfs -F vxfs [generic_options] \
[-o specific_options] special [size]
where:
vxfs is the file system type
generic_options are the options common to most file systems
specific_options are options specific to the VxFS file system
special is the full path name of the raw character device or VxVM volume
on which to create the file system (for example, /dev/vx/rdsk/PRODdg/
db01)
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 /dev/vx/rdsk/datadg04/datavol
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 7 layout
5118976 sectors, 5118976 blocks of size 1024, log size 16384 blocks
largefiles supported
57Setting up databases
Creating a VxFS file system