Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7960

mkfs.xfs crashes if agcount is big, e.g. 400

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • xfsprogs
    • None
    • Important
    • rhel-sst-filesystems
    • ssg_filesystems_storage_and_HA
    • 4
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      The issue was found on attempt to restore a RHEL9 VM (openstack node) from a backup by means of ReaR tool.

      We use xfs_growfs to increase fs size to 10GB and result is that agcount=400 and mkfs.xfs crashes
      When using xfs_growfs to increase fs size to 8GB, result is agcount=320 and mkfs.xfs does not crash

      Version-Release number of selected component (if applicable):
      Red Hat Enterprise Linux release 9.2 (Plow)
      xfsprogs-5.14.2-1.el9.x86_64

      How reproducible:
      100% if agcount is more than around 320 (I mean 320 is ok but 400 causes crash)

      Steps to Reproduce:
      See details in https://bugzilla.redhat.com/show_bug.cgi?id=2155253#c31 how to reproduce the issue

      Actual results:
      mkfs.xfs crashes if agcount is big (e.g. 400)

      Expected results:
      mkfs.xfs does not crash

      Additional info:

              preichl@redhat.com Pavel Reichl
              romansaf Roman Safronov
              Eric Sandeen Eric Sandeen
              Zirong Lang Zirong Lang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: