Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1887401

Summary: mkfs.xfs aborted (core dump) on too-small device with stripe geometry
Product: Red Hat Enterprise Linux 8 Reporter: Zorro Lang <zlang>
Component: xfsprogsAssignee: Bill O'Donnell <billodo>
Status: CLOSED ERRATA QA Contact: Zorro Lang <zlang>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.2CC: billodo, xzhou
Target Milestone: rcKeywords: Triaged
Target Release: 8.4Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:07:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zorro Lang 2020-10-12 11:31:27 UTC
Description of problem:
xfs/260 fails on current rhel8:
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/aarch64 hpe-apollo-cn99xx-26 4.18.0-240.2.el8.dt1.aarch64+debug #1 SMP Mon Oct 5 16:49:57 EDT 2020
MKFS_OPTIONS  -- -f -m crc=1,finobt=1,rmapbt=0,reflink=1 -i sparse=1 /dev/sda4
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda4 /mnt/xfstests/scratch

xfs/260	- output mismatch (see /var/lib/xfstests/results//xfs/260.out.bad)
    --- tests/xfs/260.out	2020-10-05 23:42:47.841946688 -0400
    +++ /var/lib/xfstests/results//xfs/260.out.bad	2020-10-06 08:11:58.718223152 -0400
    @@ -1,2 +1,4 @@
     QA output created by 260
     Silence is golden
    +/var/lib/xfstests/tests/xfs/260: line 45: 620276 Aborted                 (core dumped) $MKFS_XFS_PROG -dsu=65536,sw=1 $localfile >> $seqres.full 2>&1
    +/usr/sbin/mkfs.xfs should fail gracefully
    ...
    (Run 'diff -u /var/lib/xfstests/tests/xfs/260.out /var/lib/xfstests/results//xfs/260.out.bad'  to see the entire diff)
Ran: xfs/260
Failures: xfs/260
Failed 1 of 1 tests

Version-Release number of selected component (if applicable):
xfsprogs-5.0.0-4.el8

How reproducible:
100%

Steps to Reproduce:
Run xfstests xfs/260 on xfs

Actual results:
As above

Expected results:
test pass

Additional info:
It's known on upstream xfsprogs:
commit 97a4059660b27a9b0e3d8cdde5dbef8712685865
Author: Pavel Reichl <preichl>
Date:   Mon Sep 28 17:31:18 2020 -0400

    mkfs.xfs: fix ASSERT on too-small device with stripe geometry

Comment 9 errata-xmlrpc 2021-05-18 15:07:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (xfsprogs bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1690