Mounting a VxFS file system

You can mount a VxFS file system by using the mount command. When you enter the mount command, the generic mount command parses the arguments and the -V FSType option executes the mount command specific to that file system type. If the -V option is not supplied, the command searches the file /etc/filesystems for a file system and an FSType matching the special file or mount point provided. If no file system type is specified, mount uses the default file system.

The mount command automatically runs the VxFS fsck command to clean up the intent log if the mount command detects a dirty log in the file system. This functionality is only supported on file systems mounted on a Veritas Volume Manager (VxVM) volume.

In addition to the standard mount mode (delaylog mode), Veritas File System (VxFS) provides the following mount options for you to specify other modes of operation:

Caching behavior can be altered with the mincache option, and the behavior of O_SYNC and D_SYNC writes can be altered with the convosync option.

See the fcntl(2) manual page.

The delaylog and tmplog modes can significantly improve performance. The improvement over log mode is typically about 15 to 20 percent with delaylog; with tmplog, the improvement is even higher. Performance improvement varies, depending on the operations being performed and the workload. Read/write intensive loads should show less improvement, while file system structure intensive loads, such as mkdir, create, and rename, may show over 100 percent improvement. The best way to select a mode is to test representative system loads against the logging modes and compare the performance results.

Most of the modes can be used in combination. For example, a desktop machine might use both the blkclear and mincache=closesync modes.

The mount command automatically runs the VxFS fsck command to clean up the intent log if the mount command detects a dirty log in the file system. This functionality is only supported on file systems mounted on a Veritas Volume Manager (VxVM) volume.

See the mount_vxfs(1M) manual page.

To mount a file system

vxfs

File system type.

generic_options

Options common to most other file system types.

specific_options

Options specific to VxFS.

-o ckpt=ckpt_name

Mounts a Storage Checkpoint.

-o cluster

Mounts a file system in shared mode. Available only with the VxFS cluster file system feature.

special

A VxFS block special device.

mount_point

Directory on which to mount the file system.

-r

Mounts the file system as read-only.

The following example mounts the file system /dev/vx/dsk/fsvol/vol1 on the /mnt1 directory with read/write access and delayed logging.

Example of mounting a file system