This example will install the related packages, format the volume, update the /etc/fstab file, and mount the new volume.
1. yum install kmod-xfs.x86_64 xfsdump.x86_64 xfsprogs-devel.x86_64 xorg-x11-xfs-utils.x86_64
2. /sbin/mkfs.xfs /dev/sdb
3. mkdir /vol1 and add line to /etc/fstab
/dev/sdb /vol1 xfs noatime,nodiratime 1 2
4. mount /vol1