Format a volume as xfs for Linux

$ sudo mkfs -t xfs /dev/xvdf

If you get an error that mkfs.xfs is not found, use the following command to install the XFS tools and then repeat the previous command:

$ sudo yum install xfsprogs

Comments