mkfs.xfs may not use all space when sunit and swidth are equal on RHEL

Solution Unverified - Updated -


  • LVM filesystem size not matching its logical volume size in RHEL 7.1
    We expect that when we create a filesystem with mkfs.xfs its size will match the logical volume size exactly, however we see a difference in RHEL7. We have to use xfs_growfs to match the size.


  • Red Hat Enterprise Linux
  • xfsprogs-4.5.0-12.el7 and earlier.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In