Creating a VxFS file system

The mkfs or crfs commands create a VxFS file system by writing to a special character device file. The special character device must be a Veritas Volume Manager (VxVM) volume. mkfs builds a file system with a root directory and a lost+found directory.

Before creating a file system, you must create the target device. Refer to your operating system documentation for more information. If you are using a logical device, see the VxVM documentation for instructions on device initialization.

Note:

Entries for every file system created by the crfs command are added to the /etc/filesystems file. The mkfs command does not add entries to /etc/filesystems. Also by using crfs, the fsck command can automatically determine the vfs type of a new file system. This eliminates the need to call the VxFS-specific fsck command (/opt/VRTS/bin/fsck).

See the crfs, mkfs(1M), and mkfs_vxfs(1M) manual pages.

When you create a file system with the mkfs command, you can select the following characteristics:

To create a file system