An example mkfs command for making an EFS filesystem is:
mkfs -t efs /dev/rdsk/dks0d2s7You can use the -n option to mkfs to specify the number of inodes created.
An example mkfs command for making an XFS filesystem with a 1 MB internal log section is:
mkfs -l size=1m /dev/rdsk/dks0d2s7An example mkfs command for making an XFS filesystem on a logical volume with log and data subvolumes is:
mkfs /dev/rdsk/xlv/aAfter using mkfs to create an EFS filesystem, run the fsck command to verify that the disk is consistent.
For more instructions on making filesystems see Chapter 4, "Creating and Growing Filesystems," and the mkfs(1M), mkfs_efs(1M), and mkfs_xfs(1M) reference pages.