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

Solution Unverified - Updated -

Issue

  • 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.

Environment

  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content