Centos 6: Format drive with XFS filesystem Print

  • 124

For servers that have over 16TB of usable space, we have had to use XFS filesystem instead of ext4 due to size limitation.

Usually this is for 12x 3TB raid-10 arrays that yield ~18TB of usable space before formatting.

With ext4 we would use about 400gb of space.

Simply do:

yum install xfsprogs xfsdump

That will install xfs filesystem. Then simply format the drive as you normally do:

mkfs.xfs /dev/sdb1

and that will format it with xfs
add it to fstab, and your all set.

To partition the drive, please see our GPT partition guide using parted.

Was this answer helpful?

« Back