VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Chapter 2, Setting Up Databases
Prerelease 8 September 2005, 8:54am Creating a VxFS File System
67
Creating a VxFS File System
Always specify vxfs as the file system type to take advantage of the Quick I/O, Storage Rollback,
online administration, fast recovery of the VxFS file system, and superior reliability features.
The GUI lets you add a file system on a new volume during the volume creation process. See the
VERITAS Volume Manager User’s Guide - VERITAS Enterprise Administrator for a detailed
comparison of the layout choices and more detailed procedures on creating each volume layout
type.
Usage Notes
◆ 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.
◆ In the GUI, you must specify a file system mount point if the file system is to be mounted at
startup.
◆ If you select the Add to file system table checkbox in the GUI, the file system table file will
be automatically updated when the file system is mounted.
◆ When specifying a mount point in the GUI, you must use an absolute path name (that is, it
must begin with /).
▼ To create a VxFS file system on an existing volume using the command line
Use the mkfs command to create a VxFS file system on an existing volume 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.