Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 629010

Summary: fsck.gfs2 truncates directories with more than 100,000 entries
Product: Red Hat Enterprise Linux 5 Reporter: Robert Peterson <rpeterso>
Component: gfs2-utilsAssignee: Robert Peterson <rpeterso>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: adas, bmarzins, ccaulfie, cluster-maint, ddumas, edamato, fdinitto, lhh, liko, nstraz, rpeterso, rwheeler, ssaha, swhiteho, teigland
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gfs2-utils-0.1.62-26.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 628013 Environment:
Last Closed: 2011-01-13 23:21:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 628013    
Bug Blocks:    
Attachments:
Description Flags
Revised patch
none
Try 3 patch
none
Final patch for 5.6 none

Comment 1 Robert Peterson 2010-08-31 16:40:45 UTC
requesting ack flags

Comment 2 Robert Peterson 2010-09-01 15:08:27 UTC
Created attachment 442433 [details]
Revised patch

This is the latest and greatest version of this patch for
RHEL5.6.  It fixes the failing scenario.  I'm in the process
of regression testing it against my collection of gfs2 metadata.
So far all tests have passed and it's most of the way done.

Comment 3 Robert Peterson 2010-09-14 13:39:51 UTC
Created attachment 447222 [details]
Try 3 patch

The 1773738-metasave metadata set was failing due to improper
counting of dirents when moving files to lost+found.
This one passes the test, but I need to re-test all the
metadata sets.

Comment 4 Robert Peterson 2010-09-17 18:34:07 UTC
Created attachment 448083 [details]
Final patch for 5.6

Comment 5 Robert Peterson 2010-09-17 18:51:27 UTC
This patch was tested extensively for days against my gfs2
metadata collection on system kool.  It was pushed to the
RHEL56 branch of the cluster git tree for inclusion into
5.6.  It has also been pushed upstream for bug #628013.
Changing status to POST until it gets built into a package.

Comment 6 Robert Peterson 2010-09-20 14:52:19 UTC
Build 2770902 successful.  Changing status to Modified.
This fix is in gfs2-utils-0.1.62-26.el5.

Comment 8 Nate Straz 2010-11-29 22:35:46 UTC
Verified using test case in description against gfs2-utils-0.1.62-28.el5.

Comment 10 errata-xmlrpc 2011-01-13 23:21:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0135.html