5.3 Formatting the Unallocated Disk Partition
In order to make the new partition suitable for use by CentOS 8, it needs to have a file system created on it. The default file system type for the current release of CentOS is XFS and will be covered in greater detail in the chapter entitled “Adding a New Disk Drive to a CentOS 8 System”. Creation of the file system is performed using the mkfs.xfs command as follows:
# mkfs.xfs -f /dev/sda1
meta-data=/dev/sda1 isize=512 agcount=4, agsize=1676672 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=0
= reflink=1
data = bsize=4096 blocks=6706688, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=3274, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0