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 994615 - e2fsck incorrectly detects uninit extents past EOF as invalid
Summary: e2fsck incorrectly detects uninit extents past EOF as invalid
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: e2fsprogs
Version: 6.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: Eryu Guan
URL:
Whiteboard:
: 985466 (view as bug list)
Depends On:
Blocks: 1002488
TreeView+ depends on / blocked
 
Reported: 2013-08-07 15:49 UTC by Eric Sandeen
Modified: 2017-02-06 15:17 UTC (History)
4 users (show)

Fixed In Version: e2fsprogs-1.41.12-17.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1002488 (view as bug list)
Environment:
Last Closed: 2013-11-21 22:44:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1689 0 normal SHIPPED_LIVE e2fsprogs bug fix update 2013-11-20 21:52:23 UTC

Description Eric Sandeen 2013-08-07 15:49:33 UTC
After the fix for bug #922847:

  e2fsprogs-1.41.12-e2fsck-overlapping-extents.patch
  e2fsck: detect invalid extents at the end of an extent-block

e2fsck began incorrectly flagging uninitialized extents past EOF as invalid:

Testcase:

# for I in `seq 0 2 8`; do fallocate -o ${I}m -l 1m test/testfile ; done
# fallocate -n -o 12m -l 1m test/testfile
# umount test
# e2fsck -fy /dev/sdb1
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Inode 12, end of extent exceeds allowed value
	(logical block 3072, physical block 34304, len 256)
Clear? yes

Inode 12, i_blocks is 12296, should be 10248.  Fix? yes

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(34304--34559)
Fix? yes

Free blocks count wrong for group #1 (31059, counted=31315).
Fix? yes

Free blocks count wrong (669199, counted=669455).
Fix? yes


/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sdb1: 12/174944 files (0.0% non-contiguous), 29681/699136 blocks


Eric Whitney has a patch on the list to resolve this issue.

Comment 1 Eric Sandeen 2013-08-07 15:52:29 UTC
Unfortunately the same regression was pushed to z-stream, so this needs to follow it there as well.

Comment 4 Eric Sandeen 2013-08-12 22:44:39 UTC
Building in e2fsprogs-1.41.12-17.el6

Comment 6 Eryu Guan 2013-08-29 09:58:08 UTC
Reproduced with e2fsprogs-1.41.12-15.el6 which contains the fix for bug 922847.

=== fsck.log ===
e2fsck 1.41.12 (17-May-2010)
Pass 1: Checking inodes, blocks, and sizes
Inode 12, end of extent exceeds allowed value
        (logical block 12288, physical block 20481, len 1024)
Clear? no

Inode 12, i_blocks is 12292, should be 10244.  Fix? no

Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(20481--21504)
Fix? no


/dev/loop0: ********** WARNING: Filesystem still has errors **********

/dev/loop0: 12/32768 files (8.3% non-contiguous), 15933/131072 blocks

Verified with e2fsprogs-1.41.12-18.el6

Set to VERIFIED

Comment 7 Eric Sandeen 2013-11-18 18:01:21 UTC
*** Bug 985466 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2013-11-21 22:44:02 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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2013-1689.html


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