xfs is default file system for RHEL 7.
To format a partition in xfs format, run
mkfs.xfs /dev/sdXX
Example
[root@ssd ~]# mkfs.xfs /dev/sdc1
meta-data=/dev/sdc1 isize=512 agcount=6, agsize=268435455 blks
= sectsz=4096 attr=2, projid32bit=1
= crc=1 finobt=0, sparse=0
data = bsize=4096 blocks=1464843520, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=521728, version=2
= sectsz=4096 sunit=1 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
[root@ssd ~]#

Leave a Reply