Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 232124 - gfs2_fsck will create multiple lost+found directories
gfs2_fsck will create multiple lost+found directories
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs2-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Robert Peterson
Dean Jansa
Depends On:
  Show dependency treegraph
Reported: 2007-03-13 17:55 EDT by Josef Bacik
Modified: 2010-01-11 22:37 EST (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2007-0579
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-07 13:04:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to fix the problem (833 bytes, patch)
2007-03-15 18:51 EDT, Robert Peterson
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0579 normal SHIPPED_LIVE gfs2-utils bug fix update 2007-11-08 09:13:05 EST

  None (edit)
Description Josef Bacik 2007-03-13 17:55:47 EDT
in trying to track down bz 232010 i've found that its possible to get multiple 
lost+found directories when running gfs_fsck.  So first we get the first 
assertion, i reboot everything and run a gfs2_fsck on the filesystem.  This 
creates a lost+found, b/c i was deleting crap.  So I go in and try to delete 
the lost+found directory, and I will then panic (bz 232107).  I reboot again 
and run gfs2_fsck on the filesystem again, and then remount the filesystem.  
Then I will have a second lost+found directory.  I am in the middle of 
attempting to reproduce this again to make sure it wasn't a fluke and this is 
in fact how you reproduce.  I will let you tomorrow when I get back to testing 
Comment 1 Robert Peterson 2007-03-15 18:51:03 EDT
Created attachment 150180 [details]
Patch to fix the problem

Patch tested on trin-10 by using gfs2_edit to break the directory
links to force things into lost+found.	This problem doesn't exist
in GFS1, so it doesn't have to be back-ported.
Comment 2 Robert Peterson 2007-03-26 15:34:19 EDT
Fix committed to cvs in HEAD and RHEL5 branches.
Changing status to modified.
Comment 5 errata-xmlrpc 2007-11-07 13:04:42 EST
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 the 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.


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