& xfsTemplate,top=>1,side=>1 &>
mkfs -t xfs /dev/<devfile>where /dev/<devfile> is the partition where you wish to create the filesystem (note that this will destroy any filesystem currently on that partition).
For example, to create a filesystem on the 3rd partition of your 2nd SCSI drive, you would use the command:
mkfs -t xfs /dev/sdb3
One important option that you may need is "-f" which will force the creation of a new filesystem, if a filesystem already exists on that partition. Again, note that this will destroy all data currently on that partition:
mkfs -t xfs -f /dev/<devfile>
You may achieve better performance by increasing the logfile size. The following command creates a filesystem with a default logfile size of 8000 blocks:
mkfs -t xfs -l internal,size=8000b -d name=/dev/<devfile>Other options are available for XFS filesystem creation; see the man pages for more information.
mount -t xfs /dev/<devfile> /<mount_pt>where /dev/<devfile> is the device containing the filesystem, and /<mount_pt> is the mount point for the filesystem.
Since XFS is a journaling filesystem, before it mounts the filesystem,
it will check the transaction log
for any unfinished transactions, and bring the filesystem up to date.
Welcome to a fsck-free world!
<& xfsTemplate,bottom=>1 &>