Veritas 5.0 Installation Guide (September 2006)
Chapter 5 35
5 Setting Up VxFS 5.0 and VxVM 5.0
This chapter discusses how to set up VxFS 5.0 and VxVM 5.0.
Setting Up VxFS 5.0
After installing VxFS 5.0, you can create a file system on a Veritas Volume Manager 5.0
volume or on an HP Logical Volume Manager (LVM) volume. For creating LVM volumes refer
to appropriate LVM product documentation. If want to create a VxFS file system on a VxVM
volume, you must configure VxVM first. See “Setting Up VxVM 5.0” on page 36.
To create and mount a new VxFS file system, complete the following steps:
Step 1. To create the file system, enter the following command:
# mkfs -F vxfs <special device>
The -F option is used to specify the file system type.
Step 2. To mount the file system, enter the following command:
# mount -F vxfs <special device> <directory>
The -F option is used to specify the file system type.
Step 3. To unmount the file system at a later point in time, enter the following:
# umount -F vxfs <special device> <directory>
NOTE Symbolic links to all VxFS 5.0 command executables are installed in the
/opt/VRTS/bin directory. Add this directory to the end of your PATH
environment variable to access the commands.
If you add an entry for the file system to the /etc/fstab file, the file system
can be mounted automatically.
For more information on the Veritas-specific commands, see to the Quick Start Reference
appendix of the Veritas File System 5.0 Administrator’s Guide.