Growing XFS filesystem with xfs_growfs fails with "XFS_IOC_FSGROWFSDATA xfsctl failed: Invalid argument" on Red Hat Enterprise Linux 5

Solution Verified - Updated -

Issue

  • Getting the following error while trying to grow the xfs partition
    # xfs_growfs /mnt/xfs-share
    meta-data=/dev/loop0             isize=256    agcount=52,
    agsize=76288719 blks
             =                       sectsz=512   attr=2
    data     =                       bsize=4096   blocks=3905982455, imaxpct=5
             =                       sunit=0      swidth=0 blks
    naming   =version 2              bsize=4096   ascii-ci=0
    log      =internal               bsize=4096   blocks=32768, version=2
             =                       sectsz=512   sunit=0 blks, lazy-count=0
    realtime =none                   extsz=4096   blocks=0, rtextents=0
    xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl failed: Invalid argument
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5.6
  • Red Hat Scalable filesystem (XFS)
    • Attempting to grow an XFS filesystem with xfs_growfs command.

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.