The mkfs command creates a VxFS file system by writing to a special character device file. The special character device must be a Veritas Volume Manager (VxVM) volume. The mkfs command builds a file system with a root directory and a lost+found
directory.
Before running mkfs, you must create the target device.
See to your operating system documentation.
If you are using a logical device (such as a VxVM volume), see the VxVM documentation.
See the mkfs
(1M) and mkfs_vxfs
(1M) manual pages.
To create a file system
mkfs [-t vxfs] [generic_options] [-o specific_options] -m special [size]
The following example creates a VxFS file system of 12288 sectors in size on a VxVM volume.
To create a VxFS file system
# /opt/VRTS/bin/mkfs /dev/vx/rdsk/diskgroup/volume 12288 version 10 layout 12288 sectors, 6144 blocks of size 1024, log size 256 blocks rcq size 1024 blocks largefiles supported maxlink supported
# mount -t vxfs /dev/vx/dsk/diskgroup/volume /mnt1