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 1887288 - xfs_repair doesn't complain about zeroed entries in the AGFL
Summary: xfs_repair doesn't complain about zeroed entries in the AGFL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: xfsprogs
Version: 8.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.4
Assignee: Bill O'Donnell
QA Contact: Zorro Lang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-12 04:48 UTC by Zorro Lang
Modified: 2021-05-18 15:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:07:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zorro Lang 2020-10-12 04:48:54 UTC
Description of problem:

xfs/030 fails on current rhel8 system, due to the current xfs/030 zero the entire AGFL which makes it corrupt, but xfs_repair can't find it. This's an upstream known fix as below:

commit dcd6c2e1490ba5c59c14ca8ea843ca36048888b8
Author: Darrick J. Wong <darrick.wong>
Date:   Fri Jul 10 15:35:45 2020 -0400

    xfs_repair: convert to libxfs_verify_agbno

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

How reproducible:
100%

Steps to Reproduce:
Run xfstests xfs/030 on xfs

Actual results:
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 hp-dl380pg8-01 4.18.0-239.el8.x86_64+debug #1 SMP Sat Sep 19 16:30:18 EDT 2020                                                                                  
MKFS_OPTIONS  -- -f -bsize=4096 /dev/loop0
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/loop0 /mnt/scratch

xfs/030 34s ... - output mismatch (see /home/xfstests-dev/results//xfs/030.out.bad)
    --- tests/xfs/030.out       2020-07-29 11:38:39.171360149 -0400
    +++ /home/xfstests-dev/results//xfs/030.out.bad     2020-10-12 00:28:09.303765989 -0400
    @@ -105,7 +105,6 @@
     Phase 2 - using <TYPEOF> log
             - zero log...
             - scan filesystem freespace and inode maps...
    -bad agbno AGBNO in agfl, agno 0
             - found root inode chunk
     Phase 3 - for each AG...
             - scan and clear agi unlinked lists...
    ...
    (Run 'diff -u /home/xfstests-dev/tests/xfs/030.out /home/xfstests-dev/results//xfs/030.out.bad'  to see the entire diff)                                                                  
Ran: xfs/030
Failures: xfs/030
Failed 1 of 1 tests

Expected results:
Test passed

Additional info:

Comment 8 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


Note You need to log in before you can comment on or make changes to this bug.