Always specify vxfs as the file system type to take advantage of Quick I/O, Storage Rollback, online administration, fast recovery of the VxFS file system, and superior reliability features.
Before creating a file system, see the following notes:
To create a VxFS file system on an existing volume
Use the mkfs command as follows:
# /usr/sbin/mkfs -V vxfs [generic_options] \ [-o specific_options] special [size]
If you do not specify size, the file system will be as large as the underlying volume.
For example, to create a VxFS file system that has an 8 KB block size and supports files larger than 2 GB on the newly created db01 volume:
# /usr/sbin/mkfs -V vxfs -o largefiles,bsize=8192,\ logsize=2000 /dev/vx/rdsk/PRODdg/db01
The -o largefiles specific option allows you to create files larger than 2 GB.
Note: |
Because size is not specified in this example, the size of the file system will be calculated automatically to be the same size as the volume on which the file system is created. |
The mkfs command displays output similar to the following:
version 6 layout
20480 sectors, 10240 blocks of size 1024, log size 1024 blocks
You can now mount the newly created file system.
See Mounting a file system .